[Support] binhex - qBittorrentVPN


Recommended Posts

I have experiencing very slow Unraid WebGUI speeds lately. I checked the log and there are these two lines recurring:

 

Oct 27 08:54:51 Tower nginx: 2020/10/27 08:54:51 [crit] 5843#5843: *1992 connect() to unix:/var/tmp/qBittorrentVPN.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.XXX.YYY, server: , request: "GET /dockerterminal/qBittorrentVPN/token HTTP/1.1", upstream: "http://unix:/var/tmp/qBittorrentVPN.sock:/token", host: "tower", referrer: "http://tower/dockerterminal/qBittorrentVPN/"
Oct 27 08:54:51 Tower nginx: 2020/10/27 08:54:51 [crit] 5843#5843: *2050 connect() to unix:/var/tmp/qBittorrentVPN.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.XXX.YYY, server: , request: "GET /dockerterminal/qBittorrentVPN/ws HTTP/1.1", upstream: "http://unix:/var/tmp/qBittorrentVPN.sock:/ws", host: "tower"

 

I also got the following notification email form the unraid server:

The email title: cron for user root /usr/bin/run-parts /etc/cron.daily 1> /dev/null
The email contents: error: error setting owner of /var/log/nginx/error.log to uid 0 and gid 0: Operation not permitted

 

I have not changed the docker config for at least 6 months. Any ideas what might cause this? All help truly appreciated.

Edited by ptr78
Added the contents of the notification email.
Link to comment

new to this, just installed it, read the guide and followed the wiki for pia, but i get this: 

 

2020-10-27 19:14:04,554 DEBG 'start-script' stdout output:
[warn] Unable to successfully download PIA json payload from URL 'https://10.38.112.1:19999/getSignature' using token 'zLxEr1rIBKifC6f6y3eNEUAFm2JvB1EkCFpC715IfFpCOwz4FelHkIyEeZUU_GM3zTcZUOHSN7JaChWXPr_lDKDVblqP_0EWWEH2E8RmcMiGxvOiXADpRydtFQM='
[info] 1 retries left
[info] Retrying in 10 secs...

2020-10-27 19:14:14,555 DEBG 'start-script' stdout output:
[warn] Unable to download PIA json payload, exiting script...
[info] Port forwarding failure, creating file '/tmp/portfailure' to indicate failure...

2020-10-27 19:14:14,556 DEBG 'start-script' stdout output:
[info] Script finished to assign incoming port

in the Key 10  config for the container, should i change 192.168.1.0/24 to 192.168.1.1/24 since 192.168.1.1 is my gateway? i dont want to break any leaking by changing this.

 

edit: im able to access the address to it now by changed the Key 7 from default yes to no, left the key 10 to default but still wondering if i should change that. 

Edited by droopie
Link to comment
3 minutes ago, wgstarks said:

Some other docker is already using 8080. You’ll need to edit the 8080 port and webUI port. Change both host path and container path to some unused port (I used 8088:8088). Change the webUI port setting to match.

well that allowed it to install and create Openvpn folder, put the 3 files in it, restarted but just continually goes to Problem loading page and the GUI never shows

Link to comment
4 minutes ago, wgstarks said:

appdata/binhex-qbittorrentvpn/supervisord.log.

ok long file

 

Created by...
___.   .__       .__                   
\_ |__ |__| ____ |  |__   ____ ___  ___
 | __ \|  |/    \|  |  \_/ __ \\  \/  /
 | \_\ \  |   |  \   Y  \  ___/ >    <
 |___  /__|___|  /___|  /\___  >__/\_ \
     \/        \/     \/     \/      \/
   https://hub.docker.com/u/binhex/

2020-10-28 15:25:29.663376 [info] System information Linux 7e710e4a7ccd 4.19.107-Unraid #1 SMP Sun Mar 8 14:34:03 CDT 2020 x86_64 GNU/Linux
2020-10-28 15:25:29.722054 [info] OS_ARCH defined as 'x86-64'
2020-10-28 15:25:29.781813 [info] PUID defined as '99'
2020-10-28 15:25:30.096955 [info] PGID defined as '100'
2020-10-28 15:25:30.392502 [info] UMASK defined as '000'
2020-10-28 15:25:30.418492 [info] Setting permissions recursively on volume mappings...
2020-10-28 15:25:30.627529 [info] Deleting files in /tmp (non recursive)...
2020-10-28 15:25:30.671807 [info] VPN_ENABLED defined as 'yes'
2020-10-28 15:25:30.699646 [info] VPN_CLIENT defined as 'openvpn'
2020-10-28 15:25:30.725149 [info] VPN_PROV defined as 'pia'
2020-10-28 15:25:31.746628 [crit] No OpenVPN config file located in /config/openvpn/ (ovpn extension), please download from your VPN provider and then restart this container, exiting...
Created by...
___.   .__       .__                   
\_ |__ |__| ____ |  |__   ____ ___  ___
 | __ \|  |/    \|  |  \_/ __ \\  \/  /
 | \_\ \  |   |  \   Y  \  ___/ >    <
 |___  /__|___|  /___|  /\___  >__/\_ \
     \/        \/     \/     \/      \/
   https://hub.docker.com/u/binhex/

2020-10-28 15:25:42.934579 [info] System information Linux 7e710e4a7ccd 4.19.107-Unraid #1 SMP Sun Mar 8 14:34:03 CDT 2020 x86_64 GNU/Linux
2020-10-28 15:25:42.963736 [info] OS_ARCH defined as 'x86-64'
2020-10-28 15:25:42.992793 [info] PUID defined as '99'
2020-10-28 15:25:43.023442 [info] PGID defined as '100'
2020-10-28 15:25:43.550952 [info] UMASK defined as '000'
2020-10-28 15:25:43.577755 [info] Permissions already set for volume mappings
2020-10-28 15:25:43.604796 [info] Deleting files in /tmp (non recursive)...
2020-10-28 15:25:43.641520 [info] VPN_ENABLED defined as 'yes'
2020-10-28 15:25:43.671466 [info] VPN_CLIENT defined as 'openvpn'
2020-10-28 15:25:43.696654 [info] VPN_PROV defined as 'pia'
2020-10-28 15:25:45.429961 [crit] No OpenVPN config file located in /config/openvpn/ (ovpn extension), please download from your VPN provider and then restart this container, exiting...
Created by...
___.   .__       .__                   
\_ |__ |__| ____ |  |__   ____ ___  ___
 | __ \|  |/    \|  |  \_/ __ \\  \/  /
 | \_\ \  |   |  \   Y  \  ___/ >    <
 |___  /__|___|  /___|  /\___  >__/\_ \
     \/        \/     \/     \/      \/
   https://hub.docker.com/u/binhex/

2020-10-28 15:32:03.185197 [info] System information Linux 7e710e4a7ccd 4.19.107-Unraid #1 SMP Sun Mar 8 14:34:03 CDT 2020 x86_64 GNU/Linux
2020-10-28 15:32:03.213125 [info] OS_ARCH defined as 'x86-64'
2020-10-28 15:32:03.240596 [info] PUID defined as '99'
2020-10-28 15:32:03.271522 [info] PGID defined as '100'
2020-10-28 15:32:03.559834 [info] UMASK defined as '000'
2020-10-28 15:32:03.583751 [info] Permissions already set for volume mappings
2020-10-28 15:32:03.611870 [info] Deleting files in /tmp (non recursive)...
2020-10-28 15:32:03.647903 [info] VPN_ENABLED defined as 'yes'
2020-10-28 15:32:03.675097 [info] VPN_CLIENT defined as 'openvpn'
2020-10-28 15:32:03.702281 [info] VPN_PROV defined as 'pia'
2020-10-28 15:32:05.240159 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/CA Montreal.ovpn
2020-10-28 15:32:05.330255 [info] VPN remote server(s) defined as 'ca-montreal.privacy.network,'
2020-10-28 15:32:05.353663 [info] VPN remote port(s) defined as '1198,'
2020-10-28 15:32:05.375526 [info] VPN remote protcol(s) defined as 'udp,'
2020-10-28 15:32:05.403219 [info] VPN_DEVICE_TYPE defined as 'tun0'
2020-10-28 15:32:05.430208 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2020-10-28 15:32:05.458651 [info] LAN_NETWORK defined as '192.168.0.0/24'
2020-10-28 15:32:05.485134 [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'
2020-10-28 15:32:05.511869 [info] VPN_USER defined as 'user'
2020-10-28 15:32:05.537334 [info] VPN_PASS defined as 'password'
2020-10-28 15:32:05.562935 [info] STRICT_PORT_FORWARD defined as 'yes'
2020-10-28 15:32:05.590809 [info] ENABLE_PRIVOXY defined as 'no'
2020-10-28 15:32:05.618538 [info] ADDITIONAL_PORTS not defined (via -e ADDITIONAL_PORTS), skipping allow for custom incoming ports
2020-10-28 15:32:05.645993 [info] WEBUI_PORT defined as '8088'
2020-10-28 15:32:05.676274 [info] Starting Supervisor...
2020-10-28 15:32:05,944 INFO Included extra file "/etc/supervisor/conf.d/qbittorrent.conf" during parsing
2020-10-28 15:32:05,944 INFO Set uid to user 0 succeeded
2020-10-28 15:32:05,948 INFO supervisord started with pid 6
2020-10-28 15:32:06,951 INFO spawned: 'start-script' with pid 168
2020-10-28 15:32:06,953 INFO spawned: 'watchdog-script' with pid 169
2020-10-28 15:32:06,953 INFO reaped unknown pid 7 (exit status 0)
2020-10-28 15:32:06,966 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2020-10-28 15:32:06,966 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-10-28 15:32:06,966 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-10-28 15:32:06,975 DEBG 'watchdog-script' stdout output:
[info] qBittorrent config file doesnt exist, copying default to /config/qBittorrent/config/...

2020-10-28 15:32:06,978 DEBG 'watchdog-script' stdout output:
[info] Removing session lock file (if it exists)...

2020-10-28 15:32:06,985 DEBG 'start-script' stdout output:
[warn] Password contains characters which could cause authentication issues, please consider changing this if possible

2020-10-28 15:32:07,052 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.222 to /etc/resolv.conf

2020-10-28 15:32:07,055 DEBG 'start-script' stdout output:
[info] Adding 84.200.69.80 to /etc/resolv.conf

2020-10-28 15:32:07,059 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf

2020-10-28 15:32:07,063 DEBG 'start-script' stdout output:
[info] Adding 1.1.1.1 to /etc/resolv.conf

2020-10-28 15:32:07,068 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.218 to /etc/resolv.conf

2020-10-28 15:32:07,071 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf

2020-10-28 15:32:07,077 DEBG 'start-script' stdout output:
[info] Adding 84.200.70.40 to /etc/resolv.conf

2020-10-28 15:32:07,082 DEBG 'start-script' stdout output:
[info] Adding 1.0.0.1 to /etc/resolv.conf

2020-10-28 15:32:07,335 DEBG 'start-script' stdout output:
[info] Attempting to load iptable_mangle module...

2020-10-28 15:32:07,336 DEBG 'start-script' stderr output:
modprobe: FATAL: Module iptable_mangle not found in directory /lib/modules/4.19.107-Unraid

2020-10-28 15:32:07,336 DEBG 'start-script' stdout output:
[warn] Unable to load iptable_mangle module using modprobe, trying insmod...

2020-10-28 15:32:07,338 DEBG 'start-script' stderr output:
insmod: ERROR: could not load module /lib/modules/iptable_mangle.ko: No such file or directory

2020-10-28 15:32:07,338 DEBG 'start-script' stdout output:
[warn] Unable to load iptable_mangle module, you will not be able to connect to the applications Web UI or Privoxy outside of your LAN
[info] unRAID/Ubuntu users: Please attempt to load the module by executing the following on your host: '/sbin/modprobe iptable_mangle'
[info] Synology users: Please attempt to load the module by executing the following on your host: 'insmod /lib/modules/iptable_mangle.ko'

2020-10-28 15:32:07,363 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2020-10-28 15:32:07,383 DEBG 'start-script' stdout output:
[info] Docker network defined as    172.17.0.0/16

2020-10-28 15:32:07,388 DEBG 'start-script' stdout output:
[info] Adding 192.168.0.0/24 as route via docker eth0

2020-10-28 15:32:07,390 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2020-10-28 15:32:07,391 DEBG 'start-script' stdout output:
default via 172.17.0.1 dev eth0
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.2
192.168.0.0/24 via 172.17.0.1 dev eth0

2020-10-28 15:32:07,391 DEBG 'start-script' stdout output:
--------------------

2020-10-28 15:32:07,492 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2020-10-28 15:32:07,493 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD DROP
-P OUTPUT DROP
-A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 1198 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8088 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8088 -j ACCEPT
-A INPUT -s 192.168.0.0/24 -i eth0 -p tcp -m tcp --dport 8088 -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -i tun0 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 1198 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8088 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8088 -j ACCEPT
-A OUTPUT -d 192.168.0.0/24 -o eth0 -p tcp -m tcp --sport 8088 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -o tun0 -j ACCEPT

2020-10-28 15:32:07,494 DEBG 'start-script' stdout output:
--------------------

2020-10-28 15:32:07,496 DEBG 'start-script' stdout output:
[info] Starting OpenVPN (non daemonised)...

2020-10-28 15:32:07,622 DEBG 'start-script' stdout output:
Wed Oct 28 15:32:07 2020 WARNING: file 'credentials.conf' is group or others accessible
Wed Oct 28 15:32:07 2020 OpenVPN 2.4.9 [git:makepkg/9b0dafca6c50b8bb+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 20 2020
Wed Oct 28 15:32:07 2020 library versions: OpenSSL 1.1.1h  22 Sep 2020, LZO 2.10

2020-10-28 15:32:07,622 DEBG 'start-script' stdout output:
Wed Oct 28 15:32:07 2020 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2020-10-28 15:32:07,624 DEBG 'start-script' stdout output:
Wed Oct 28 15:32:07 2020 CRL: loaded 1 CRLs from file [[INLINE]]

2020-10-28 15:32:07,624 DEBG 'start-script' stdout output:
Wed Oct 28 15:32:07 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]172.98.71.251:1198
Wed Oct 28 15:32:07 2020 UDP link local: (not bound)
Wed Oct 28 15:32:07 2020 UDP link remote: [AF_INET]172.98.71.251:1198

2020-10-28 15:32:07,877 DEBG 'start-script' stdout output:
Wed Oct 28 15:32:07 2020 [montreal405] Peer Connection Initiated with [AF_INET]172.98.71.251:1198

2020-10-28 15:32:09,095 DEBG 'start-script' stdout output:
Wed Oct 28 15:32:09 2020 TUN/TAP device tun0 opened
Wed Oct 28 15:32:09 2020 /usr/bin/ip link set dev tun0 up mtu 1500

2020-10-28 15:32:09,097 DEBG 'start-script' stdout output:
Wed Oct 28 15:32:09 2020 /usr/bin/ip addr add dev tun0 10.57.112.8/24 broadcast 10.57.112.255

2020-10-28 15:32:09,099 DEBG 'start-script' stdout output:
Wed Oct 28 15:32:09 2020 /root/openvpnup.sh tun0 1500 1553 10.57.112.8 255.255.255.0 init

2020-10-28 15:32:09,107 DEBG 'start-script' stdout output:
Wed Oct 28 15:32:09 2020 Initialization Sequence Completed

2020-10-28 15:32:11,311 DEBG 'start-script' stdout output:
[info] Attempting to get external IP using Name Server 'ns1.google.com'...

2020-10-28 15:32:16,675 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 172.98.71.251

2020-10-28 15:32:16,676 DEBG 'start-script' stdout output:
[info] Script started to assign incoming port

2020-10-28 15:32:16,676 DEBG 'start-script' stdout output:
[info] Port forwarding is enabled
[info] Checking endpoint 'ca-montreal.privacy.network' is port forward enabled...

2020-10-28 15:32:17,655 DEBG 'start-script' stdout output:
[info] PIA endpoint 'ca-montreal.privacy.network' is in the list of endpoints that support port forwarding

2020-10-28 15:32:17,655 DEBG 'start-script' stdout output:
[info] List of PIA endpoints that support port forwarding:-

2020-10-28 15:32:17,655 DEBG 'start-script' stdout output:
[info] al.privacy.network

2020-10-28 15:32:17,656 DEBG 'start-script' stdout output:
[info] ad.privacy.network
[info] austria.privacy.network
[info] brussels.privacy.network
[info] ba.privacy.network
[info] sofia.privacy.network
[info] czech.privacy.network
[info] denmark.privacy.network
[info] ee.privacy.network
[info] fi.privacy.network
[info] france.privacy.network
[info] de-berlin.privacy.network
[info] de-frankfurt.privacy.network
[info] gr.privacy.network
[info] hungary.privacy.network
[info] is.privacy.network
[info] ireland.privacy.network
[info] man.privacy.network
[info] italy.privacy.network
[info] lv.privacy.network
[info] liechtenstein.privacy.network
[info] lt.privacy.network
[info] lu.privacy.network
[info] mk.privacy.network
[info] malta.privacy.network
[info] md.privacy.network
[info] monaco.privacy.network

2020-10-28 15:32:17,656 DEBG 'start-script' stdout output:
[info] montenegro.privacy.network
[info] nl-amsterdam.privacy.network
[info] no.privacy.network
[info] poland.privacy.network
[info] pt.privacy.network
[info] ro.privacy.network
[info] rs.privacy.network
[info] sk.privacy.network
[info] spain.privacy.network
[info] sweden.privacy.network
[info] swiss.privacy.network
[info] ua.privacy.network
[info] uk-london.privacy.network
[info] uk-southampton.privacy.network
[info] uk-manchester.privacy.network
[info] bahamas.privacy.network
[info] ca-vancouver.privacy.network
[info] ca-ontario.privacy.network
[info] ca-toronto.privacy.network
[info] ca-montreal.privacy.network
[info] greenland.privacy.network
[info] mexico.privacy.network
[info] panama.privacy.network
[info] ar.privacy.network
[info] br.privacy.network
[info] venezuela.privacy.network
[info] yerevan.privacy.network
[info] cambodia.privacy.network
[info] china.privacy.network
[info] cyprus.privacy.network

2020-10-28 15:32:17,656 DEBG 'start-script' stdout output:
[info] georgia.privacy.network
[info] hk.privacy.network
[info] in.privacy.network
[info] israel.privacy.network
[info] japan.privacy.network
[info] kazakhstan.privacy.network
[info] philippines.privacy.network
[info] qatar.privacy.network
[info] saudiarabia.privacy.network
[info] sg.privacy.network
[info] srilanka.privacy.network
[info] taiwan.privacy.network
[info] tr.privacy.network
[info] ae.privacy.network
[info] vietnam.privacy.network
[info] aus-perth.privacy.network
[info] au-sydney.privacy.network
[info] aus-melbourne.privacy.network
[info] nz.privacy.network
[info] dz.privacy.network
[info] egypt.privacy.network
[info] morocco.privacy.network
[info] nigeria.privacy.network
[info] za.privacy.network

2020-10-28 15:32:19,809 DEBG 'start-script' stdout output:
[info] Successfully assigned and bound incoming port '52374'

2020-10-28 15:32:20,281 DEBG 'watchdog-script' stdout output:
[info] qBittorrent listening interface IP 0.0.0.0 and VPN provider IP 10.57.112.8 different, marking for reconfigure

2020-10-28 15:32:20,305 DEBG 'watchdog-script' stdout output:
[info] qBittorrent not running

2020-10-28 15:32:20,305 DEBG 'watchdog-script' stdout output:
[info] qBittorrent incoming port 6881 and VPN incoming port 52374 different, marking for reconfigure

2020-10-28 15:32:20,305 DEBG 'watchdog-script' stdout output:
[info] Removing session lock file (if it exists)...

2020-10-28 15:32:20,307 DEBG 'watchdog-script' stdout output:
[info] Attempting to start qBittorrent...

2020-10-28 15:32:20,561 DEBG 'watchdog-script' stdout output:
[info] qBittorrent process started
[info] Waiting for qBittorrent process to start listening on port 8088...

2020-10-28 15:32:20,681 DEBG 'watchdog-script' stdout output:
[info] qBittorrent process listening on port 8088

2020-10-28 15:36:40,985 WARN received SIGTERM indicating exit request
2020-10-28 15:36:40,985 DEBG killing watchdog-script (pid 169) with signal SIGTERM
2020-10-28 15:36:40,986 INFO waiting for start-script, watchdog-script to die
2020-10-28 15:36:41,987 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 23334429791184 for <Subprocess at 23334426543056 with name watchdog-script in state STOPPING> (stdout)>
2020-10-28 15:36:41,988 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 23334429844624 for <Subprocess at 23334426543056 with name watchdog-script in state STOPPING> (stderr)>
2020-10-28 15:36:41,988 INFO stopped: watchdog-script (terminated by SIGTERM)
2020-10-28 15:36:41,988 DEBG received SIGCHLD indicating a child quit
2020-10-28 15:36:41,988 DEBG killing start-script (pid 168) with signal SIGTERM
2020-10-28 15:36:42,990 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 23334429687760 for <Subprocess at 23334425674464 with name start-script in state STOPPING> (stdout)>
2020-10-28 15:36:42,990 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 23334425674416 for <Subprocess at 23334425674464 with name start-script in state STOPPING> (stderr)>
2020-10-28 15:36:42,991 INFO stopped: start-script (terminated by SIGTERM)
2020-10-28 15:36:42,991 DEBG received SIGCHLD indicating a child quit
Created by...
___.   .__       .__                   
\_ |__ |__| ____ |  |__   ____ ___  ___
 | __ \|  |/    \|  |  \_/ __ \\  \/  /
 | \_\ \  |   |  \   Y  \  ___/ >    <
 |___  /__|___|  /___|  /\___  >__/\_ \
     \/        \/     \/     \/      \/
   https://hub.docker.com/u/binhex/

2020-10-28 15:36:51.710369 [info] System information Linux 7e710e4a7ccd 4.19.107-Unraid #1 SMP Sun Mar 8 14:34:03 CDT 2020 x86_64 GNU/Linux
2020-10-28 15:36:51.738192 [info] OS_ARCH defined as 'x86-64'
2020-10-28 15:36:51.764620 [info] PUID defined as '99'
2020-10-28 15:36:51.794369 [info] PGID defined as '100'
2020-10-28 15:36:52.067853 [info] UMASK defined as '000'
2020-10-28 15:36:52.093027 [info] Permissions already set for volume mappings
2020-10-28 15:36:52.120860 [info] Deleting files in /tmp (non recursive)...
2020-10-28 15:36:52.155996 [info] VPN_ENABLED defined as 'yes'
2020-10-28 15:36:52.187468 [info] VPN_CLIENT defined as 'openvpn'
2020-10-28 15:36:52.213185 [info] VPN_PROV defined as 'pia'
2020-10-28 15:36:52.661025 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/CA Montreal.ovpn
2020-10-28 15:36:52.727509 [info] VPN remote server(s) defined as 'ca-montreal.privacy.network,'
2020-10-28 15:36:52.750274 [info] VPN remote port(s) defined as '1198,'
2020-10-28 15:36:52.773682 [info] VPN remote protcol(s) defined as 'udp,'
2020-10-28 15:36:52.802646 [info] VPN_DEVICE_TYPE defined as 'tun0'
2020-10-28 15:36:52.830644 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2020-10-28 15:36:52.857002 [info] LAN_NETWORK defined as '192.168.0.0/24'
2020-10-28 15:36:52.886599 [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'
2020-10-28 15:36:52.915224 [info] VPN_USER defined as 'user'
2020-10-28 15:36:52.943331 [info] VPN_PASS defined as 'password'
2020-10-28 15:36:52.969167 [info] STRICT_PORT_FORWARD defined as 'yes'
2020-10-28 15:36:52.995261 [info] ENABLE_PRIVOXY defined as 'no'
2020-10-28 15:36:53.023948 [info] ADDITIONAL_PORTS not defined (via -e ADDITIONAL_PORTS), skipping allow for custom incoming ports
2020-10-28 15:36:53.048937 [info] WEBUI_PORT defined as '8088'
2020-10-28 15:36:53.075146 [info] Starting Supervisor...
2020-10-28 15:36:53,202 INFO Included extra file "/etc/supervisor/conf.d/qbittorrent.conf" during parsing
2020-10-28 15:36:53,202 INFO Set uid to user 0 succeeded
2020-10-28 15:36:53,205 INFO supervisord started with pid 6
2020-10-28 15:36:54,207 INFO spawned: 'start-script' with pid 167
2020-10-28 15:36:54,209 INFO spawned: 'watchdog-script' with pid 168
2020-10-28 15:36:54,209 INFO reaped unknown pid 7 (exit status 0)
2020-10-28 15:36:54,214 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2020-10-28 15:36:54,214 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-10-28 15:36:54,214 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-10-28 15:36:54,216 DEBG 'watchdog-script' stdout output:
[info] qBittorrent config file already exists, skipping copy
[info] Removing session lock file (if it exists)...

2020-10-28 15:36:54,230 DEBG 'start-script' stdout output:
[warn] Password contains characters which could cause authentication issues, please consider changing this if possible

2020-10-28 15:36:54,298 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.222 to /etc/resolv.conf

2020-10-28 15:36:54,304 DEBG 'start-script' stdout output:
[info] Adding 84.200.69.80 to /etc/resolv.conf

2020-10-28 15:36:54,309 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf

2020-10-28 15:36:54,313 DEBG 'start-script' stdout output:
[info] Adding 1.1.1.1 to /etc/resolv.conf

2020-10-28 15:36:54,316 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.218 to /etc/resolv.conf

2020-10-28 15:36:54,320 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf

2020-10-28 15:36:54,324 DEBG 'start-script' stdout output:
[info] Adding 84.200.70.40 to /etc/resolv.conf

2020-10-28 15:36:54,328 DEBG 'start-script' stdout output:
[info] Adding 1.0.0.1 to /etc/resolv.conf

2020-10-28 15:36:54,521 DEBG 'start-script' stdout output:
[info] Attempting to load iptable_mangle module...

2020-10-28 15:36:54,522 DEBG 'start-script' stderr output:
modprobe: FATAL: Module iptable_mangle not found in directory /lib/modules/4.19.107-Unraid

2020-10-28 15:36:54,522 DEBG 'start-script' stdout output:
[warn] Unable to load iptable_mangle module using modprobe, trying insmod...

2020-10-28 15:36:54,524 DEBG 'start-script' stderr output:
insmod: ERROR: could not load module /lib/modules/iptable_mangle.ko: No such file or directory

2020-10-28 15:36:54,524 DEBG 'start-script' stdout output:
[warn] Unable to load iptable_mangle module, you will not be able to connect to the applications Web UI or Privoxy outside of your LAN
[info] unRAID/Ubuntu users: Please attempt to load the module by executing the following on your host: '/sbin/modprobe iptable_mangle'
[info] Synology users: Please attempt to load the module by executing the following on your host: 'insmod /lib/modules/iptable_mangle.ko'

2020-10-28 15:36:54,536 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2020-10-28 15:36:54,554 DEBG 'start-script' stdout output:
[info] Docker network defined as    172.17.0.0/16

2020-10-28 15:36:54,558 DEBG 'start-script' stdout output:
[info] Adding 192.168.0.0/24 as route via docker eth0

2020-10-28 15:36:54,560 DEBG 'start-script' stdout output:
[info] ip route defined as follows...

2020-10-28 15:36:54,560 DEBG 'start-script' stdout output:
--------------------

2020-10-28 15:36:54,561 DEBG 'start-script' stdout output:
default via 172.17.0.1 dev eth0
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.2
192.168.0.0/24 via 172.17.0.1 dev eth0

2020-10-28 15:36:54,562 DEBG 'start-script' stdout output:
--------------------

2020-10-28 15:36:54,631 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2020-10-28 15:36:54,633 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD DROP
-P OUTPUT DROP
-A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 1198 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8088 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8088 -j ACCEPT
-A INPUT -s 192.168.0.0/24 -i eth0 -p tcp -m tcp --dport 8088 -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -i tun0 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 1198 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8088 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8088 -j ACCEPT
-A OUTPUT -d 192.168.0.0/24 -o eth0 -p tcp -m tcp --sport 8088 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -o tun0 -j ACCEPT

2020-10-28 15:36:54,634 DEBG 'start-script' stdout output:
--------------------

2020-10-28 15:36:54,635 DEBG 'start-script' stdout output:
[info] Starting OpenVPN (non daemonised)...

2020-10-28 15:36:54,644 DEBG 'start-script' stdout output:
Wed Oct 28 15:36:54 2020 WARNING: file 'credentials.conf' is group or others accessible
Wed Oct 28 15:36:54 2020 OpenVPN 2.4.9 [git:makepkg/9b0dafca6c50b8bb+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 20 2020
Wed Oct 28 15:36:54 2020 library versions: OpenSSL 1.1.1h  22 Sep 2020, LZO 2.10

2020-10-28 15:36:54,644 DEBG 'start-script' stdout output:
Wed Oct 28 15:36:54 2020 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2020-10-28 15:36:54,645 DEBG 'start-script' stdout output:
Wed Oct 28 15:36:54 2020 CRL: loaded 1 CRLs from file [[INLINE]]

2020-10-28 15:36:54,645 DEBG 'start-script' stdout output:
Wed Oct 28 15:36:54 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]172.98.71.24:1198
Wed Oct 28 15:36:54 2020 UDP link local: (not bound)

2020-10-28 15:36:54,645 DEBG 'start-script' stdout output:
Wed Oct 28 15:36:54 2020 UDP link remote: [AF_INET]172.98.71.24:1198

2020-10-28 15:36:54,989 DEBG 'start-script' stdout output:
Wed Oct 28 15:36:54 2020 [montreal403] Peer Connection Initiated with [AF_INET]172.98.71.24:1198

2020-10-28 15:36:56,210 DEBG 'start-script' stdout output:
Wed Oct 28 15:36:56 2020 TUN/TAP device tun0 opened
Wed Oct 28 15:36:56 2020 /usr/bin/ip link set dev tun0 up mtu 1500

2020-10-28 15:36:56,211 DEBG 'start-script' stdout output:
Wed Oct 28 15:36:56 2020 /usr/bin/ip addr add dev tun0 10.22.112.2/24 broadcast 10.22.112.255

2020-10-28 15:36:56,213 DEBG 'start-script' stdout output:
Wed Oct 28 15:36:56 2020 /root/openvpnup.sh tun0 1500 1558 10.22.112.2 255.255.255.0 init

2020-10-28 15:36:56,220 DEBG 'start-script' stdout output:
Wed Oct 28 15:36:56 2020 Initialization Sequence Completed

2020-10-28 15:36:58,330 DEBG 'start-script' stdout output:
[info] Attempting to get external IP using Name Server 'ns1.google.com'...

2020-10-28 15:37:03,668 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 172.98.71.24

2020-10-28 15:37:03,670 DEBG 'start-script' stdout output:
[info] Script started to assign incoming port

2020-10-28 15:37:03,670 DEBG 'start-script' stdout output:
[info] Port forwarding is enabled
[info] Checking endpoint 'ca-montreal.privacy.network' is port forward enabled...

2020-10-28 15:37:16,525 DEBG 'start-script' stdout output:
[info] PIA endpoint 'ca-montreal.privacy.network' is in the list of endpoints that support port forwarding

2020-10-28 15:37:16,525 DEBG 'start-script' stdout output:
[info] List of PIA endpoints that support port forwarding:-

2020-10-28 15:37:16,526 DEBG 'start-script' stdout output:
[info] al.privacy.network
[info] ad.privacy.network
[info] austria.privacy.network

2020-10-28 15:37:16,526 DEBG 'start-script' stdout output:
[info] brussels.privacy.network
[info] ba.privacy.network
[info] sofia.privacy.network
[info] czech.privacy.network
[info] denmark.privacy.network
[info] ee.privacy.network
[info] fi.privacy.network
[info] france.privacy.network
[info] de-berlin.privacy.network
[info] de-frankfurt.privacy.network
[info] gr.privacy.network
[info] hungary.privacy.network
[info] is.privacy.network
[info] ireland.privacy.network
[info] man.privacy.network
[info] italy.privacy.network
[info] lv.privacy.network
[info] liechtenstein.privacy.network
[info] lt.privacy.network
[info] lu.privacy.network
[info] mk.privacy.network
[info] malta.privacy.network
[info] md.privacy.network
[info] monaco.privacy.network
[info] montenegro.privacy.network
[info] nl-amsterdam.privacy.network
[info] no.privacy.network
[info] poland.privacy.network
[info] pt.privacy.network
[info] ro.privacy.network
[info] rs.privacy.network
[info] sk.privacy.network
[info] spain.privacy.network
[info] sweden.privacy.network
[info] swiss.privacy.network

2020-10-28 15:37:16,526 DEBG 'start-script' stdout output:
[info] ua.privacy.network
[info] uk-london.privacy.network
[info] uk-southampton.privacy.network
[info] uk-manchester.privacy.network
[info] bahamas.privacy.network
[info] ca-vancouver.privacy.network
[info] ca-ontario.privacy.network
[info] ca-toronto.privacy.network
[info] ca-montreal.privacy.network
[info] greenland.privacy.network
[info] mexico.privacy.network
[info] panama.privacy.network
[info] ar.privacy.network
[info] br.privacy.network
[info] venezuela.privacy.network
[info] yerevan.privacy.network
[info] cambodia.privacy.network
[info] china.privacy.network
[info] cyprus.privacy.network
[info] georgia.privacy.network
[info] hk.privacy.network
[info] in.privacy.network
[info] israel.privacy.network
[info] japan.privacy.network
[info] kazakhstan.privacy.network
[info] philippines.privacy.network
[info] qatar.privacy.network
[info] saudiarabia.privacy.network
[info] sg.privacy.network
[info] srilanka.privacy.network

2020-10-28 15:37:16,527 DEBG 'start-script' stdout output:
[info] taiwan.privacy.network
[info] tr.privacy.network
[info] ae.privacy.network
[info] vietnam.privacy.network
[info] aus-perth.privacy.network
[info] au-sydney.privacy.network
[info] aus-melbourne.privacy.network
[info] nz.privacy.network
[info] dz.privacy.network
[info] egypt.privacy.network
[info] morocco.privacy.network
[info] nigeria.privacy.network
[info] za.privacy.network

2020-10-28 15:37:49,156 DEBG 'start-script' stdout output:
[warn] Unable to successfully download PIA json to generate token from URL 'https://10.0.0.1/authv3/generateToken'
[info] 12 retries left
[info] Retrying in 10 secs...

2020-10-28 15:38:31,140 DEBG 'start-script' stdout output:
[warn] Unable to successfully download PIA json to generate token from URL 'https://10.0.0.1/authv3/generateToken'
[info] 11 retries left
[info] Retrying in 10 secs...

2020-10-28 15:39:00,908 DEBG 'start-script' stdout output:
[warn] Unable to successfully download PIA json to generate token from URL 'https://10.0.0.1/authv3/generateToken'
[info] 10 retries left
[info] Retrying in 10 secs...

2020-10-28 15:39:28,556 DEBG 'start-script' stdout output:
[warn] Unable to successfully download PIA json to generate token from URL 'https://10.0.0.1/authv3/generateToken'
[info] 9 retries left
[info] Retrying in 10 secs...

2020-10-28 15:40:10,467 DEBG 'start-script' stdout output:
[warn] Unable to successfully download PIA json to generate token from URL 'https://10.0.0.1/authv3/generateToken'
[info] 8 retries left
[info] Retrying in 10 secs...

2020-10-28 15:40:35,208 DEBG 'start-script' stdout output:
[info] Successfully assigned and bound incoming port '21557'

2020-10-28 15:40:35,739 DEBG 'watchdog-script' stdout output:
[info] qBittorrent listening interface IP 0.0.0.0 and VPN provider IP 10.22.112.2 different, marking for reconfigure

2020-10-28 15:40:35,744 DEBG 'watchdog-script' stdout output:
[info] qBittorrent not running

2020-10-28 15:40:35,744 DEBG 'watchdog-script' stdout output:
[info] qBittorrent incoming port 6881 and VPN incoming port 21557 different, marking for reconfigure

2020-10-28 15:40:35,745 DEBG 'watchdog-script' stdout output:
[info] Removing session lock file (if it exists)...

2020-10-28 15:40:35,746 DEBG 'watchdog-script' stdout output:
[info] Attempting to start qBittorrent...

2020-10-28 15:40:35,761 DEBG 'watchdog-script' stdout output:
[info] qBittorrent process started
[info] Waiting for qBittorrent process to start listening on port 8088...

2020-10-28 15:40:35,875 DEBG 'watchdog-script' stdout output:
[info] qBittorrent process listening on port 8088

Link to comment

I'm not the best at troubleshooting from the logs but I see this in your log-

Quote

[warn] Password contains characters which could cause authentication issues, please consider changing this if possible

Also, just to be sure you're using the correct credentials, it's the ones you use when you log in to the PIA website right?

Link to comment
2 minutes ago, wgstarks said:

I'm not the best at troubleshooting from the logs but I see this in your log-

Also, just to be sure you're using the correct credentials, it's the ones you use when you log in to the PIA website right?

yes user and password just as use to log into PIA website and app.

Link to comment
5 minutes ago, erfly7 said:

yes user and password just as use to log into PIA website and app.

You might try changing the password so that it has no special characters and see if that helps. You can also set strict port forwarding to "No" which will work as a temporary work-around although you might suffer from slower transfer speeds. @droopie reported the same issue earlier today https://forums.unraid.net/topic/75539-support-binhex-qbittorrentvpn/?do=findComment&comment=907356. Sorry but I don't really know the answer for sure. Perhaps someone else will chime in soon.

Link to comment
2 minutes ago, wgstarks said:

You might try changing the password so that it has no special characters and see if that helps. You can also set strict port forwarding to "No" which will work as a temporary work-around although you might suffer from slower transfer speeds. @droopie reported the same issue earlier today https://forums.unraid.net/topic/75539-support-binhex-qbittorrentvpn/?do=findComment&comment=907356. Sorry but I don't really know the answer for sure. Perhaps someone else will chime in soon.

Thanks so much at least it gets 99% of the way

Link to comment

may have found issue how do you change p 8080:8088  to  p8088:8088

 

as in doc

 

Due to issues with CSRF and port mapping, should you require to alter the port for the webui you need to change both sides of the -p 8080 switch AND set the WEBUI_PORT variable to the new port.

For example, to set the port to 8090 you need to set -p 8090:8090 and -e WEBUI_PORT=8090

Link to comment
28 minutes ago, erfly7 said:

may have found issue how do you change p 8080:8088  to  p8088:8088

 

as in doc

 

Due to issues with CSRF and port mapping, should you require to alter the port for the webui you need to change both sides of the -p 8080 switch AND set the WEBUI_PORT variable to the new port.

For example, to set the port to 8090 you need to set -p 8090:8090 and -e WEBUI_PORT=8090

You'll need to open the container configurations and remove the existing path setting for 8080. unraid won't allow you to edit it on the container side. Once you have remove the old path scroll to the bottom of the page and select “Add anther path, port, variable or device”. Use these settings if you want to change the port to 8088-

SafariScreenSnapz196.thumb.jpg.572af17df04d3a3ab350517d72e24d08.jpg

 

Name and description aren't important but the rest need to match.

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.