[Support] binhex - qBittorrentVPN


Recommended Posts

Hello All,

 

I add the qbittorrent container running for month, then the overall speed of my torrents decreased (4Mbps).

 

Now when I start a new it is stalling for a few minutes (was almost instant before) and they are downloading really slowly. 

 

I tested different servers and it is all the same.

 

I am using surfshark as a VPN provider, I have a 2Gbps line at home and it is working fine when I download on my computer even behind the VPN

 

Thank you for your help (I attached my config if I missed anything - credentials are there, I just removed them)

 

image.thumb.png.6bcb373610d736dab4eaf5493b6b7dda.png

 

 

Edited by yoyotueur
Link to comment
13 hours ago, yoyotueur said:

I add the qbittorrent container running for month, then the overall speed of my torrents decreased (4Mbps).

 

Now when I start a new it is stalling for a few minutes (was almost instant before) and they are downloading really slowly. 

Surfshark VPN does not support port forwarding, so your speeds will generally be slower, my advice would be switch to another provider, PIA (easy life) or Mullvad, both of which support port forwarding.

  • Like 1
Link to comment

Hello,

Ever since version 4.3.6 I've been getting random "errored" torrents while downloading. Some finish without a problem, others just get errored and I'm forced to recheck them so they can finish. Sometimes they error more than once. Everything is fine on version 4.3.6, but it happens on all versions since. I understand this problem probably has nothing to do with the container, but perhaps someone knows what could be causing this. Maybe I need to change some setting? Thanks.

Edited by TrCl
Link to comment

Recently had a hardware issue on my unraid machine, I've been able to get everything going except this app. Log below, cant get gui to launch? Anyone have any ideas?

 

 

 

Spoiler


2021-11-06 15:35:01.571761 [info] Host is running unRAID
2021-11-06 15:35:01.623759 [info] System information Linux 336730628f66 5.10.28-Unraid #1 SMP Wed Apr 7 08:23:18 PDT 2021 x86_64 GNU/Linux
2021-11-06 15:35:01.679000 [info] OS_ARCH defined as 'x86-64'
2021-11-06 15:35:01.734055 [info] PUID defined as '99'
2021-11-06 15:35:01.793172 [info] PGID defined as '100'
2021-11-06 15:35:01.971089 [info] UMASK defined as '000'
2021-11-06 15:35:02.023530 [info] Permissions already set for '/config'
2021-11-06 15:35:02.079055 [info] Deleting files in /tmp (non recursive)...
2021-11-06 15:35:02.142454 [info] VPN_ENABLED defined as 'yes'
2021-11-06 15:35:02.199397 [info] VPN_CLIENT defined as 'openvpn'
2021-11-06 15:35:02.259229 [info] VPN_PROV defined as 'custom'
2021-11-06 15:35:02.334291 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/mullvad_se_sto.ovpn
2021-11-06 15:35:02.829169 [info] VPN remote server(s) defined as 'se-sto-017.mullvad.net,se-sto-009.mullvad.net,se-sto-010.mullvad.net,se-sto-018.mullvad.net,se-sto-011.mullvad.net,se-sto-006.mullvad.net,se-sto-023.mullvad.net,se-sto-014.mullvad.net,se-sto-020.mullvad.net,se-sto-016.mullvad.net,se-sto-008.mullvad.net,se-sto-007.mullvad.net,se-sto-019.mullvad.net,se-sto-022.mullvad.net,se-sto-012.mullvad.net,se-sto-021.mullvad.net,se-sto-015.mullvad.net,se-sto-013.mullvad.net,'
2021-11-06 15:35:02.879344 [info] VPN remote port(s) defined as '1194,1194,1194,1194,1194,1194,1194,1194,1194,1194,1194,1194,1194,1194,1194,1194,1194,1194,'
2021-11-06 15:35:02.927675 [info] VPN remote protcol(s) defined as 'udp,udp,udp,udp,udp,udp,udp,udp,udp,udp,udp,udp,udp,udp,udp,udp,udp,udp,'
2021-11-06 15:35:02.983477 [info] VPN_DEVICE_TYPE defined as 'tun0'
2021-11-06 15:35:03.039824 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2021-11-06 15:35:03.094113 [info] LAN_NETWORK defined as '192.168.1.0/24'
2021-11-06 15:35:03.148543 [info] NAME_SERVERS defined as '209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1'
2021-11-06 15:35:03.204107 [info] VPN_USER defined as '6812 5780 1671 1493'
2021-11-06 15:35:03.260416 [info] VPN_PASS defined as '6812 5780 1671 1493'
2021-11-06 15:35:03.315647 [info] ENABLE_PRIVOXY defined as 'yes'
2021-11-06 15:35:03.374942 [info] VPN_INPUT_PORTS not defined (via -e VPN_INPUT_PORTS), skipping allow for custom incoming ports
2021-11-06 15:35:03.431324 [info] VPN_OUTPUT_PORTS not defined (via -e VPN_OUTPUT_PORTS), skipping allow for custom outgoing ports
2021-11-06 15:35:03.488212 [info] WEBUI_PORT defined as '8080'
2021-11-06 15:35:03.545982 [info] Starting Supervisor...
2021-11-06 15:35:03,841 INFO Included extra file "/etc/supervisor/conf.d/qbittorrent.conf" during parsing
2021-11-06 15:35:03,842 INFO Set uid to user 0 succeeded
2021-11-06 15:35:03,845 INFO supervisord started with pid 7
2021-11-06 15:35:03.039824 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2021-11-06 15:35:03.094113 [info] LAN_NETWORK defined as '192.168.1.0/24'
2021-11-06 15:35:03.148543 [info] NAME_SERVERS defined as '209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1'
2021-11-06 15:35:03.204107 [info] VPN_USER defined as '6812 5780 1671 1493'
2021-11-06 15:35:03.260416 [info] VPN_PASS defined as '6812 5780 1671 1493'
2021-11-06 15:35:03.315647 [info] ENABLE_PRIVOXY defined as 'yes'
2021-11-06 15:35:03.374942 [info] VPN_INPUT_PORTS not defined (via -e VPN_INPUT_PORTS), skipping allow for custom incoming ports
2021-11-06 15:35:03.431324 [info] VPN_OUTPUT_PORTS not defined (via -e VPN_OUTPUT_PORTS), skipping allow for custom outgoing ports
2021-11-06 15:35:03.488212 [info] WEBUI_PORT defined as '8080'
2021-11-06 15:35:03.545982 [info] Starting Supervisor...
2021-11-06 15:35:03,841 INFO Included extra file "/etc/supervisor/conf.d/qbittorrent.conf" during parsing
2021-11-06 15:35:03,842 INFO Set uid to user 0 succeeded
2021-11-06 15:35:03,845 INFO supervisord started with pid 7
2021-11-06 15:35:04,848 INFO spawned: 'shutdown-script' with pid 443
2021-11-06 15:35:04,851 INFO spawned: 'start-script' with pid 444
2021-11-06 15:35:04,853 INFO spawned: 'watchdog-script' with pid 445
2021-11-06 15:35:04,854 INFO reaped unknown pid 8 (exit status 0)
2021-11-06 15:35:04,861 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2021-11-06 15:35:04,861 INFO success: shutdown-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-11-06 15:35:04,861 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-11-06 15:35:04,862 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-11-06 15:35:04,868 DEBG 'watchdog-script' stdout output:
[info] qBittorrent config file already exists, skipping copy

2021-11-06 15:35:04,868 DEBG 'watchdog-script' stdout output:
[info] Removing session lock file (if it exists)...

2021-11-06 15:35:04,876 DEBG 'start-script' stdout output:
[warn] Username contains characters which could cause authentication issues, please consider changing this if possible

2021-11-06 15:35:04,879 DEBG 'start-script' stdout output:
[warn] Password contains characters which could cause authentication issues, please consider changing this if possible

2021-11-06 15:35:04,963 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.222 to /etc/resolv.conf

2021-11-06 15:35:04,966 DEBG 'start-script' stdout output:
[info] Adding 84.200.69.80 to /etc/resolv.conf

2021-11-06 15:35:04,972 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf

2021-11-06 15:35:04,977 DEBG 'start-script' stdout output:
[info] Adding 1.1.1.1 to /etc/resolv.conf

2021-11-06 15:35:04,981 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.218 to /etc/resolv.conf

2021-11-06 15:35:04,986 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf

2021-11-06 15:35:04,992 DEBG 'start-script' stdout output:
[info] Adding 84.200.70.40 to /etc/resolv.conf

2021-11-06 15:35:04,996 DEBG 'start-script' stdout output:
[info] Adding 1.0.0.1 to /etc/resolv.conf

Edited by --Kyle--
Link to comment
20 hours ago, binhex said:

defined correctly? see Q4:- https://github.com/binhex/documentation/blob/master/docker/faq/vpn.md

 

if it is defined correctly then please do this as i need a full log:- https://github.com/binhex/documentation/blob/master/docker/faq/help.md

Thank you @binhex for taking the time to help. I attached a screenshot of my ifconfig results as the netmask format doesn't match up, and also the log file.

Screen Shot 2021-11-07 at 10.53.13 AM.png

 

supervisord.log

Edited by --Kyle--
Link to comment
19 hours ago, --Kyle-- said:

Thank you @binhex for taking the time to help. I attached a screenshot of my ifconfig results as the netmask format doesn't match up, and also the log file.

Screen Shot 2021-11-07 at 10.53.13 AM.png

 

supervisord.log 18.48 kB · 0 downloads

you got a LOT of remote entries in there!, you sure you need all of them?, keep in mind each hostname will have to be resolved, and each one could contain multiple ip addresses, so expect a long startup time:-

remote se-sto-017.mullvad.net 1194
remote se-sto-009.mullvad.net 1194
remote se-sto-010.mullvad.net 1194
remote se-sto-018.mullvad.net 1194
remote se-sto-011.mullvad.net 1194
remote se-sto-006.mullvad.net 1194
remote se-sto-023.mullvad.net 1194
remote se-sto-014.mullvad.net 1194
remote se-sto-020.mullvad.net 1194
remote se-sto-016.mullvad.net 1194
remote se-sto-008.mullvad.net 1194
remote se-sto-007.mullvad.net 1194
remote se-sto-019.mullvad.net 1194
remote se-sto-022.mullvad.net 1194
remote se-sto-012.mullvad.net 1194
remote se-sto-021.mullvad.net 1194
remote se-sto-015.mullvad.net 1194
remote se-sto-013.mullvad.net 1194

 

my advice is to leave this as a 2 or 3 entries only, then repost your log.

Link to comment
1 hour ago, binhex said:

you got a LOT of remote entries in there!, you sure you need all of them?, keep in mind each hostname will have to be resolved, and each one could contain multiple ip addresses, so expect a long startup time:-

remote se-sto-017.mullvad.net 1194
remote se-sto-009.mullvad.net 1194
remote se-sto-010.mullvad.net 1194
remote se-sto-018.mullvad.net 1194
remote se-sto-011.mullvad.net 1194
remote se-sto-006.mullvad.net 1194
remote se-sto-023.mullvad.net 1194
remote se-sto-014.mullvad.net 1194
remote se-sto-020.mullvad.net 1194
remote se-sto-016.mullvad.net 1194
remote se-sto-008.mullvad.net 1194
remote se-sto-007.mullvad.net 1194
remote se-sto-019.mullvad.net 1194
remote se-sto-022.mullvad.net 1194
remote se-sto-012.mullvad.net 1194
remote se-sto-021.mullvad.net 1194
remote se-sto-015.mullvad.net 1194
remote se-sto-013.mullvad.net 1194

 

my advice is to leave this as a 2 or 3 entries only, then repost your log.

I just pulled over the set of Linux OpenVPN files that Mullvad generated. Should I be editing those files somehow? Sorry for the noobiness on this but how do I get rid of the extra entries?

Link to comment
2 minutes ago, --Kyle-- said:

Should I be editing those files somehow?

i would do based on how many entries there are in there.

 

3 minutes ago, --Kyle-- said:

how do I get rid of the extra entries?

simply open the file you placed in /config/openvpn/<file with ovpn extension> with something like notepad++/atom/vscode and remove all but 3 of the 'remote' lines in the file, then save and restart the container.

Link to comment
5 minutes ago, wgstarks said:

I see in the qbittorrent settings that I must enable https to be able to use magnet links. Looking at the https setting it appears that all I would need to do is add a self signed certificate to the app. Before I do this I wanted to post and see if this would effect the docker/app in any way?

im using http and magnet links with qbittorrent with no issue, what makes you think you need https for magnets?

Link to comment
57 minutes ago, binhex said:

im using http and magnet links with qbittorrent with no issue, what makes you think you need https for magnets?

Magnet links haven't worked for me at all.

 

2012733982_ScreenShot2021-11-09at8_02_04AM.thumb.png.2a8da1da40d06c66460ddee687cf7cb1.png

 

I noticed in the tools menu there is a setting to enable magnet links but if I select it I get a popʉp showing that https must be used.

Link to comment
34 minutes ago, wgstarks said:

Magnet links haven't worked for me at all.

just to be clear are you talking about registering magnet links for your web browser or simply copy and pasting magnet links via 'file/add torrent link/<paste magnet into 'Download Torrents from their URLs or Magnet links' field>' (this works every time for me).

 

edit - magnet links sent from prowlarr to qbittorrent also work.

Link to comment
27 minutes ago, binhex said:

copy and pasting magnet links via 'file/add torrent link/<paste magnet into 'Download Torrents from their URLs or Magnet links' field>'

This^^^
 

Hasnt ever worked for me, the app just ignored it, until I tested it just now of course.🤨🤨

 

Now it works fine.🤷🏼‍♂️🤷🏼‍♂️🤷🏼‍♂️😁

 

I almost never need to use it so it’s possible that it’s been working for some time and I never noticed.

Link to comment
16 minutes ago, wgstarks said:

This^^^
 

Hasnt ever worked for me, the app just ignored it, until I tested it just now of course.🤨🤨

 

Now it works fine.🤷🏼‍♂️🤷🏼‍♂️🤷🏼‍♂️😁

 

I almost never need to use it so it’s possible that it’s been working for some time and I never noticed.

lol, glad its working now :-).

Link to comment

Hoping to get some help, sorry in advance for any missing details :)

 

As of about a month ago, my qbit vpn container loses network connectivity.

If I curl ifconfig.io from the container's console, I get a unresolved address error.

 

If I restart the container, it works again for a few days til it stops again. 

 

Im guessing theres some drop out on the VPN side, but theres nothing in the logs that look like an error to me. 
Not sure where to look for the cause.

 

Thanks in advance!

Link to comment
4 hours ago, Moist said:

As of about a month ago, my qbit vpn container loses network connectivity.

If I curl ifconfig.io from the container's console, I get a unresolved address error.

you really need to have DEBUG turned on (set to true) when the issue happens and then post the supervisord.log file for me to analyse exactly what the cause is.

Link to comment
On 11/8/2021 at 1:48 PM, binhex said:

i would do based on how many entries there are in there.

 

simply open the file you placed in /config/openvpn/<file with ovpn extension> with something like notepad++/atom/vscode and remove all but 3 of the 'remote' lines in the file, then save and restart the container.

Crazy week at work, just now getting back to this.

 

@binhex Here is updated log after removing all but a couple of the entries.

supervisord.log

Link to comment

Is there a way to add more then one OpenVPN file to the docker and have the VPN connection cycle through them? Like my VPN has a heap of servers all over the place I can connect to. I have it connected to one place (as the instructions)... but I was wondering if there is a way to download more than one openvpn file and place it in that directory and have the docker cycle through them somehow?

Link to comment
2 minutes ago, questionbot said:

Is there a way to add more then one OpenVPN file to the docker and have the VPN connection cycle through them? Like my VPN has a heap of servers all over the place I can connect to. I have it connected to one place (as the instructions)... but I was wondering if there is a way to download more than one openvpn file and place it in that directory and have the docker cycle through them somehow?

https://github.com/binhex/documentation/blob/master/docker/faq/vpn.md

 

Scroll down to Q20.

Link to comment

Hey guys weird question. I am running 3 docker containers of binhex-Qbittorrentvpn and they all work fine. The only thing is I can't log into all 3 at the same time in the same browser window. I'll log into one and open into another tab and log into the second. Then when I go to look at the previous tab the client has frozen and at the bottom it says "qbittorrent client is unreachable." I have the webports mapped as 8091, 8092, 8093.

 

Works fine if I open a separate incognito window or different browser.

what is going on.PNG

Edited by Vaseline
Link to comment

My qbittorrent client is unable to generate a PIA token. I am getting the following error.

Quote

2021-11-15 10:37:59,793 DEBG 'start-script' stdout output:
parse error: Invalid numeric literal at line 2, column 0

2021-11-15 10:37:59,794 DEBG 'start-script' stdout output:
[warn] Unable to successfully download PIA json to generate token from URL 'https://privateinternetaccess.com/gtoken/generateToken'
[info] 8 retries left
 

 

I have updated to the most recent version and it still persists. I have tried going to the URL in firefox and received an error saying that the page in longer there. 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.