binhex / arch-delugevpn

Docker build script for Arch Linux base with Deluge, Privoxy and OpenVPN
GNU General Public License v3.0
691 stars 112 forks source link

Issues with latest release (27/6/2017) #28

Closed jonocairns closed 7 years ago

jonocairns commented 7 years ago

Hey there,

Firstly your delugeVPN image is awesome. I've been used it for a while now :)

I recently updated to the latest version and keep getting the following errors.

When I start up the docker container, the web UI will not start and in the logs it just hangs there indefinitely @ Deluge listening interface IP 0.0.0.0 and VPN provider IP 10.32.10.6 different, marking for reconfigure.

2017-06-28 08:06:14.654924 [info] Starting Supervisor...
2017-06-28 08:06:14,923 CRIT Set uid to user 0
2017-06-28 08:06:14,923 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2017-06-28 08:06:14,926 INFO supervisord started with pid 7
2017-06-28 08:06:15,927 INFO spawned: 'start-script' with pid 117
2017-06-28 08:06:15,929 INFO spawned: 'deluge-script' with pid 118
2017-06-28 08:06:15,930 INFO spawned: 'deluge-web-script' with pid 119
2017-06-28 08:06:15,931 INFO spawned: 'privoxy-script' with pid 120
2017-06-28 08:06:15,936 DEBG 'deluge-script' stdout output:
[info] Deluge config file already exists, skipping copy

2017-06-28 08:06:15,936 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-06-28 08:06:15,936 INFO success: deluge-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-06-28 08:06:15,936 INFO success: deluge-web-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-06-28 08:06:15,936 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-06-28 08:06:15,937 DEBG 'deluge-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2017-06-28 08:06:15,937 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2017-06-28 08:06:15,939 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled

2017-06-28 08:06:15,939 DEBG fd 26 closed, stopped monitoring <POutputDispatcher at 47934776159048 for <Subprocess at 47934775428232 with name privoxy-script in state RUNNING> (stderr)>
2017-06-28 08:06:15,940 DEBG fd 22 closed, stopped monitoring <POutputDispatcher at 47934776159480 for <Subprocess at 47934775428232 with name privoxy-script in state RUNNING> (stdout)>
2017-06-28 08:06:15,940 INFO exited: privoxy-script (exit status 0; expected)
2017-06-28 08:06:15,940 DEBG received SIGCLD indicating a child quit
2017-06-28 08:06:15,944 DEBG 'start-script' stdout output:
[info] VPN default certs defined, copying to /config/openvpn/...

2017-06-28 08:06:15,947 DEBG 'start-script' stdout output:
[info] VPN config file (ovpn extension) is located at /config/openvpn/openvpn.ovpn

2017-06-28 08:06:15,948 DEBG 'start-script' stderr output:
dos2unix: converting file /config/openvpn/openvpn.ovpn to Unix format...

2017-06-28 08:06:15,978 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2017-06-28 08:06:15,981 DEBG 'start-script' stdout output:
[info] Adding 8.8.8.8 to /etc/resolv.conf

2017-06-28 08:06:15,983 DEBG 'start-script' stdout output:
[info] Adding 8.8.4.4 to /etc/resolv.conf

2017-06-28 08:06:15,987 DEBG 'start-script' stdout output:
[info] Adding 192.168.0.0/16 as route via docker eth0

2017-06-28 08:06:15,988 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2017-06-28 08:06:15,988 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.8
192.168.0.0/16 via 172.17.0.1 dev eth0

2017-06-28 08:06:15,988 DEBG 'start-script' stdout output:
--------------------

2017-06-28 08:06:15,991 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables

2017-06-28 08:06:16,007 DEBG 'start-script' stdout output:
[info] Docker network defined as 172.17.0.0/16

2017-06-28 08:06:16,045 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2017-06-28 08:06:16,047 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD ACCEPT
-P OUTPUT DROP
-A INPUT -i tun0 -j ACCEPT
-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 8112 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
-A INPUT -s 192.168.0.0/16 -i eth0 -p tcp -m tcp --dport 58846 -j ACCEPT
-A INPUT -p udp -m udp --sport 53 -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A OUTPUT -o 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 8112 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
-A OUTPUT -d 192.168.0.0/16 -o eth0 -p tcp -m tcp --sport 58846 -j ACCEPT
-A OUTPUT -p udp -m udp --dport 53 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT

2017-06-28 08:06:16,048 DEBG 'start-script' stdout output:
--------------------
[info] Starting OpenVPN...

2017-06-28 08:06:16,058 DEBG 'start-script' stdout output:
[info] OpenVPN started

2017-06-28 08:06:22,644 DEBG 'deluge-script' stdout output:
[info] Deluge not running
[info] Deluge listening interface IP 0.0.0.0 and VPN provider IP 10.32.10.6 different, marking for reconfigure

I have reverted back to tag 1.3.15-1-02 for the meantime. Let me know if there's any more info you need or if I've messed up the setup.

Cheers!

binhex commented 7 years ago

Hi please can you do the following:-

  1. Delete any existing supervisord.log file located in /config/
  2. Stop the container and delete it (or if you're an unraid user skip this step).
  3. Set the env var key "DEBUG" to a value of "true".
  4. Start the container and wait 5 mins for it to completely finish initialising.
  5. Post the ENTIRE /config/supervisord.log file here.

IMPORTANT - Make sure to remove any reference to your username and password from the supervisord.log BEFORE posting it.

jonocairns commented 7 years ago

Hi there, thanks for looking in to this :)

Here's the debug log:

2017-06-29 19:12:19.497899 [info] Starting Supervisor...
2017-06-29 19:12:19,782 CRIT Set uid to user 0
2017-06-29 19:12:19,782 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2017-06-29 19:12:19,784 INFO supervisord started with pid 7
2017-06-29 19:12:20,786 INFO spawned: 'start-script' with pid 117
2017-06-29 19:12:20,787 INFO spawned: 'deluge-script' with pid 118
2017-06-29 19:12:20,788 INFO spawned: 'deluge-web-script' with pid 119
2017-06-29 19:12:20,789 INFO spawned: 'privoxy-script' with pid 120
2017-06-29 19:12:20,794 DEBG 'deluge-script' stdout output:
[info] Deluge config file already exists, skipping copy

2017-06-29 19:12:20,795 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-06-29 19:12:20,797 INFO success: deluge-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-06-29 19:12:20,797 INFO success: deluge-web-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-06-29 19:12:20,797 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-06-29 19:12:20,798 DEBG fd 26 closed, stopped monitoring <POutputDispatcher at 47654241585992 for <Subprocess at 47654240855176 with name privoxy-script in state RUNNING> (stderr)>
2017-06-29 19:12:20,798 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled

2017-06-29 19:12:20,798 INFO exited: privoxy-script (exit status 0; expected)
2017-06-29 19:12:20,798 DEBG received SIGCLD indicating a child quit
2017-06-29 19:12:20,798 DEBG 'deluge-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid
[debug] Waiting for valid IP address from tunnel...

2017-06-29 19:12:20,799 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2017-06-29 19:12:20,807 DEBG 'start-script' stdout output:
[info] VPN default certs defined, copying to /config/openvpn/...

2017-06-29 19:12:20,809 DEBG 'start-script' stdout output:
[debug] Environment variables defined as follows

2017-06-29 19:12:20,810 DEBG 'start-script' stdout output:
BASH=/bin/bash
BASHOPTS=cmdhist:complete_fullquote:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
BASH_ALIASES=()
BASH_ARGC=()
BASH_ARGV=()
BASH_CMDS=()
BASH_LINENO=([0]="0")
BASH_SOURCE=([0]="/root/start.sh")
BASH_VERSINFO=([0]="4" [1]="4" [2]="12" [3]="1" [4]="release" [5]="x86_64-unknown-linux-gnu")
BASH_VERSION='4.4.12(1)-release'
DEBUG=true
DIRSTACK=()
ENABLE_PRIVOXY=no
EUID=0

)
HOME=/home/nobody
HOSTNAME=c2fcf8374fab
HOSTTYPE=x86_64
HOST_OS=unRAID
IFS=$' \t\n'
LANG=en_GB.UTF-8
LAN_NETWORK=192.168.0.0/16
MACHTYPE=x86_64-unknown-linux-gnu
NAME_SERVERS=8.8.8.8,8.8.4.4
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGID=100
PIPESTATUS=([0]="0")
PPID=7
PS4='+ '
PUID=99
PWD=/
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments
SHLVL=1
STRICT_PORT_FORWARD=yes
STRONG_CERTS=no
SUPERVISOR_ENABLED=1
SUPERVISOR_GROUP_NAME=start-script
SUPERVISOR_PROCESS_NAME=start-script
TERM=xterm
TZ=Pacific/Auckland
UID=0
VPN_CONFIG=/config/openvpn/openvpn.ovpn
VPN_DEVICE_TYPE=tun
VPN_ENABLED=yes
VPN_OPTIONS=
VPN_PASS=xxxxxxx
VPN_PORT=1198
VPN_PROTOCOL=udp
VPN_PROV=pia
VPN_REMOTE=aus.privateinternetaccess.com
VPN_USER=xxxxxx
_='[debug] Environment variables defined as follows'
exit_code_chmod=0
exit_code_chown=0
[debug] Directory listing of files in /config/openvpn as follows

2017-06-29 19:12:20,812 DEBG 'start-script' stdout output:
total 16
drwxrwxrwx 1 nobody users 118 Jun 28 08:08 .
drwxrwxrwx 1 nobody users 344 Jun 28 08:08 ..
-rwxrwxrwx 1 nobody users 2025 Jun 29 19:12 ca.rsa.2048.crt
-rwxrwxrwx 1 nobody users 20 Jun 28 08:08 credentials.conf
-rwxrwxrwx 1 nobody users 869 Jun 29 19:12 crl.rsa.2048.pem
-rwxrwxrwx 1 nobody users 272 Jun 29 19:12 openvpn.ovpn

2017-06-29 19:12:20,812 DEBG 'start-script' stdout output:
[info] VPN config file (ovpn extension) is located at /config/openvpn/openvpn.ovpn

2017-06-29 19:12:20,813 DEBG 'start-script' stderr output:
dos2unix: converting file /config/openvpn/openvpn.ovpn to Unix format...

2017-06-29 19:12:20,840 DEBG 'start-script' stdout output:
[debug] Contents of ovpn file /config/openvpn/openvpn.ovpn as follows...

2017-06-29 19:12:20,841 DEBG 'start-script' stdout output:
client
dev tun

p
remote aus.privateinternetaccess.com 1198
resolv-retry infinite
nobind
persist-key
cipher aes-128-cbc

1
tls-client
remote-cert-tls server
auth-user-pass credentials.conf
comp-lzo
verb 1
crl-verify crl.rsa.2048.pem
ca ca.rsa.2048.crt
disable-occ

2017-06-29 19:12:20,844 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2017-06-29 19:12:20,846 DEBG 'start-script' stdout output:
[info] Adding 8.8.8.8 to /etc/resolv.conf

2017-06-29 19:12:20,848 DEBG 'start-script' stdout output:
[info] Adding 8.8.4.4 to /etc/resolv.conf

2017-06-29 19:12:20,849 DEBG 'start-script' stdout output:
[debug] Show name servers defined for container

2017-06-29 19:12:20,849 DEBG 'start-script' stdout output:
nameserver 8.8.8.8
nameserver 8.8.4.4

2017-06-29 19:12:20,849 DEBG 'start-script' stdout output:
[debug] Show name resolution for VPN endpoint aus.privateinternetaccess.com

2017-06-29 19:12:20,877 DEBG 'start-script' stdout output:
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 2805
;; flags: qr rd ra ; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; aus.privateinternetaccess.com.   IN  A

;; ANSWER SECTION:
aus.privateinternetaccess.com.  188 IN  A   137.59.252.213
aus.privateinternetaccess.com.  188 IN  A   137.59.252.158
aus.privateinternetaccess.com.  188 IN  A   137.59.252.132
aus.privateinternetaccess.com.  188 IN  A   137.59.252.161
aus.privateinternetaccess.com.  188 IN  A   137.59.252.141
aus.privateinternetaccess.com.  188 IN  A   137.59.252.147
aus.privateinternetaccess.com.  188 IN  A   137.59.252.191
aus.privateinternetaccess.com.  188 IN  A   137.59.252.211
aus.privateinternetaccess.com.  188 IN  A   137.59.252.200
aus.privateinternetaccess.com.  188 IN  A   137.59.252.137
aus.privateinternetaccess.com.  188 IN  A   137.59.252.210
aus.privateinternetaccess.com.  188 IN  A   137.59.252.188
aus.privateinternetaccess.com.  188 IN  A   137.59.252.183

;; AUTHORITY SECTION:

;; ADDITIONAL SECTION:

;; Query time: 27 msec
;; SERVER: 8.8.8.8
;; WHEN: Thu Jun 29 19:12:20 2017
;; MSG SIZE rcvd: 255

2017-06-29 19:12:20,883 DEBG 'start-script' stdout output:
[info] Adding 192.168.0.0/16 as route via docker eth0

2017-06-29 19:12:20,883 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2017-06-29 19:12:20,884 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.8
192.168.0.0/16 via 172.17.0.1 dev eth0

2017-06-29 19:12:20,884 DEBG 'start-script' stdout output:
--------------------
[debug] Modules currently loaded for kernel

2017-06-29 19:12:20,885 DEBG 'start-script' stdout output:
Module Size Used by
xt_CHECKSUM 1335 1
iptable_mangle 1658 5
ipt_REJECT 1521 2
nf_reject_ipv4 2483 1 ipt_REJECT
ebtable_filter 1903 0
ebtables 14552 1 ebtable_filter
vhost_net 9091 1
vhost 19681 1 vhost_net
macvtap 11622 1 vhost_net
macvlan 12389 1 macvtap
tun 19304 4 vhost_net
veth 4966 0
xt_nat 1913 11
ipt_MASQUERADE 1277 15
nf_nat_masquerade_ipv4 1865 1 ipt_MASQUERADE
iptable_nat 1897 1
nf_conntrack_ipv4 5874 3
nf_nat_ipv4 4199 1 iptable_nat
iptable_filter 1706 5
ip_tables 9853 3 iptable_mangle,iptable_filter,iptable_nat
nf_nat 11145 3 xt_nat,nf_nat_masquerade_ipv4,nf_nat_ipv4
md_mod 36572 5
nct6775 35380 0
hwmon_vid 2276 1 nct6775
bonding 92464 0
e1000e 143207 0
ptp 9308 1 e1000e
pps_core 5928 1 ptp
x86_pkg_temp_thermal 4669 0
coretemp 5340 0
i2c_i801 11888 0
kvm_intel 160423 4
ahci 26326 7
i2c_smbus 3041 1 i2c_i801
i2c_core 20390 2 i2c_i801,i2c_smbus
libahci 19716 1 ahci
kvm 289582 1 kvm_intel
video 27138 0
backlight 5833 1 video

2017-06-29 19:12:20,888 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables

2017-06-29 19:12:20,894 DEBG 'start-script' stdout output:
[debug] Docker interface defined as eth0

2017-06-29 19:12:20,896 DEBG 'start-script' stdout output:
[debug] Docker IP defined as 172.17.0.8

2017-06-29 19:12:20,899 DEBG 'start-script' stdout output:
[debug] Docker netmask defined as 255.255.0.0

2017-06-29 19:12:20,912 DEBG 'start-script' stdout output:
[info] Docker network defined as 172.17.0.0/16

2017-06-29 19:12:20,973 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2017-06-29 19:12:20,975 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD ACCEPT
-P OUTPUT DROP
-A INPUT -i tun0 -j ACCEPT
-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 8112 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
-A INPUT -s 192.168.0.0/16 -i eth0 -p tcp -m tcp --dport 58846 -j ACCEPT
-A INPUT -p udp -m udp --sport 53 -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A OUTPUT -o 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 8112 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
-A OUTPUT -d 192.168.0.0/16 -o eth0 -p tcp -m tcp --sport 58846 -j ACCEPT
-A OUTPUT -p udp -m udp --dport 53 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT

2017-06-29 19:12:20,975 DEBG 'start-script' stdout output:
--------------------

2017-06-29 19:12:20,975 DEBG 'start-script' stdout output:
[debug] OpenVPN command line '/usr/bin/openvpn --cd /config/openvpn --config /config/openvpn/openvpn.ovpn --daemon --dev tun0 --remote aus.privateinternetaccess.com 1198 --proto udp --reneg-sec 0 --mute-replay-warnings --auth-nocache --keepalive 10 60 --setenv VPN_PROV pia --setenv DEBUG true --script-security 2 --up /root/openvpnup.sh --up-delay --up-restart --writepid /root/openvpn.pid --setenv STRICT_PORT_FORWARD yes --auth-user-pass credentials.conf --disable-occ --remap-usr1 SIGHUP --log-append /config/supervisord.log --auth-user-pass credentials.conf'

2017-06-29 19:12:20,976 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...

2017-06-29 19:12:20,985 DEBG 'start-script' stdout output:
[info] OpenVPN started

2017-06-29 19:12:20,985 DEBG 'start-script' stdout output:
[debug] Waiting for valid IP address from tunnel...

2017-06-29 19:12:22,538 DEBG 'start-script' stdout output:
[debug] Valid IP address from tunnel acquired '10.10.10.6'

2017-06-29 19:12:22,559 DEBG 'deluge-script' stdout output:
[debug] Valid IP address from tunnel acquired '10.10.10.6'

2017-06-29 19:12:22,562 DEBG 'deluge-script' stdout output:
[info] Deluge not running

2017-06-29 19:12:22,562 DEBG 'deluge-script' stdout output:
[info] Deluge listening interface IP 0.0.0.0 and VPN provider IP 10.10.10.6 different, marking for reconfigure
[debug] Waiting for file '/home/nobody/vpn_incoming_port.txt' to be generated (contains PIA API generated incoming port number)...

2017-06-29 19:12:22,538 DEBG 'start-script' stdout output:
[debug] Valid IP address from tunnel acquired '10.10.10.6'

2017-06-29 19:12:22,559 DEBG 'deluge-script' stdout output:
[debug] Valid IP address from tunnel acquired '10.10.10.6'

2017-06-29 19:12:22,562 DEBG 'deluge-script' stdout output:
[info] Deluge not running

2017-06-29 19:12:22,562 DEBG 'deluge-script' stdout output:
[info] Deluge listening interface IP 0.0.0.0 and VPN provider IP 10.10.10.6 different, marking for reconfigure
[debug] Waiting for file '/home/nobody/vpn_incoming_port.txt' to be generated (contains PIA API generated incoming port number)...

2017-06-29 19:14:52,557 DEBG 'start-script' stdout output:
[warn] OpenVPN process terminated, restarting OpenVPN...

2017-06-29 19:14:52,563 DEBG 'start-script' stdout output:
[info] OpenVPN restarted

2017-06-29 19:14:52,557 DEBG 'start-script' stdout output:
[warn] OpenVPN process terminated, restarting OpenVPN...

2017-06-29 19:14:52,563 DEBG 'start-script' stdout output:
[info] OpenVPN restarted

2017-06-29 19:17:22,580 DEBG 'start-script' stdout output:
[warn] OpenVPN process terminated, restarting OpenVPN...

2017-06-29 19:17:22,584 DEBG 'start-script' stdout output:
[info] OpenVPN restarted
binhex commented 7 years ago

The reason its restarting OpenVPN is because its failing to get an incoming port (using port forwarding) you need to connect to an PIA endpoint that supports port forwarding, see here for a list:-

CA Toronto CA Montreal Netherlands Switzerland Sweden France Germany Romania Israel

Switch to one of the above and you should be good.

hannah98 commented 7 years ago

I have the exact same issue. I commented on an open issue but then I saw this. The previous version works perfectly (I downgraded just now and the old version still works).

So why do we need to change to an endpoint for this version but not any previous version? The list of endpoints you mention are no where close to my location...

jonocairns commented 7 years ago

@binhex can probably correct me if I'm wrong but there's a new variable that will remove the forced port forwarding -> STRICT_PORT_FORWARD=<yes|no>. I would guess you can get the latest version and set this variable as 'no' and it should be OK outside of those locations.

hannah98 commented 7 years ago

Ah - okay that makes sense! I'll check on that var - thanks very much!

binhex commented 7 years ago

Whilst I have allowed people to use endpoints that don't support port forwarding (by setting the new environment var) I would NOT recommend it for torrenting as your speeds will be SIGNIFICANTLY slower

hannah98 commented 7 years ago

Thanks so much for responding. I've been reading up on the new port forwarding API here https://www.privateinternetaccess.com/forum/discussion/23431/new-pia-port-forwarding-api

Thanks for implementing it in this container. The one thing that I am having trouble finding is a list of the endpoints that support it (the list you posted above). I'm going to experiment with some of the endpoints you listed to compare speeds. I'm just wondering where you got that list from - any chance you have a link? I checked here: https://www.privateinternetaccess.com/pages/network/ but I don't see anything about port forwarding. Many thanks for this awesome container!

hannah98 commented 7 years ago

I kept digging and I found it - posting here for everyone else: https://www.privateinternetaccess.com/pages/client-support/#sixth