[Support] binhex - DelugeVPN


Recommended Posts

8 hours ago, Bob1215 said:

If your private tracker only allows (whitelists) Deluge 2.0.3, then the latest container build probably won't work. See the most recent comment directly before your comment.

My private tracker only has whitelisted a version of deluge that @binhex never even made (Deluge 1.3.11; earliest binhex is 1.3.12-01), but I've been using this docker for a year with no issues, I'm sure why that would suddenly change.

Edited by jvorn
Link to comment
1 hour ago, important said:

Hello

I've tried for hours to get this to work but being quite new to the whole docker/synology stuff and never used linux I don't know what more I can do. I've tried loads of different settings for my VPN .ovpn file cause I believe that's where the problem is. I tried 'Protocol' UDP and TCP, I tried changing the 'Certificates' from Inline to Separate and I also tried both the options at 'resolvConf'. The options I have from my provider (OVPN) are these: https://imgur.com/a/CU9XMDc

 

My log is as follows:

Error makes me Believe the VPN isn't working but I have it running on my personal computer and it's been working when I've been running the whole NAS behind it. I know it says 0 on PUID and PGID but thats because the container won't even start when I enter the values and I found people online saying using 0 is the only way they could get it to work. But ye, I don't think that is the issues here. Thanks!

This is one issue, an invalid lan network value, taken from your logs:-

LAN_NETWORK defined as '192.168.0/24'

see here Q4 for how to define it if you are stuck:-

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

 

Link to comment
44 minutes ago, binhex said:

This is one issue, an invalid lan network value, taken from your logs:-


LAN_NETWORK defined as '192.168.0/24'

see here Q4 for how to define it if you are stuck:-

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

 

Changing this to 192.168.0.0/24 makes no difference. If I understand it correctly now since my IPv4 addresses are all 192.168.0.XX and Subnet mask is 255.255.255.0. Thanks! New log:

 

2019-11-27 16:40:21.315048 [info] System information Linux DelugeVPN 4.4.59+ #24922 SMP PREEMPT Mon Aug 19 12:13:37 CST 2019 x86_64 GNU/Linux
2019-11-27 16:40:21.380696 [info] PUID defined as '0'
2019-11-27 16:40:21.464022 [info] PGID defined as '0'
2019-11-27 16:40:21.643903 [info] UMASK defined as '100'
2019-11-27 16:40:21.705655 [info] Permissions already set for volume mappings
2019-11-27 16:40:21.773105 [info] DELUGE_DAEMON_LOG_LEVEL not defined,(via -e DELUGE_DAEMON_LOG_LEVEL), defaulting to 'info'
2019-11-27 16:40:21.833728 [info] DELUGE_WEB_LOG_LEVEL not defined,(via -e DELUGE_WEB_LOG_LEVEL), defaulting to 'info'
2019-11-27 16:40:21.895611 [info] VPN_ENABLED defined as 'yes'
2019-11-27 16:40:22.064113 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/se.stockholm.ovpn.com.ovpn
2019-11-27 16:40:22.177647 [info] VPN remote line defined as 'remote pool-1.prd.se.sthlm.ovpn.com 1194'
2019-11-27 16:40:22.241778 [info] VPN_REMOTE defined as 'pool-1.prd.se.sthlm.ovpn.com'
2019-11-27 16:40:22.307679 [info] VPN_PORT defined as '1194'
2019-11-27 16:40:22.375549 [info] VPN_PROTOCOL defined as 'udp'
2019-11-27 16:40:22.441044 [info] VPN_DEVICE_TYPE defined as 'tun0'
2019-11-27 16:40:22.501702 [info] VPN_PROV defined as 'custom'
2019-11-27 16:40:22.561977 [info] LAN_NETWORK defined as '192.168.0.0/24'
2019-11-27 16:40:22.622114 [info] NAME_SERVERS defined as '46.227.67.134'
2019-11-27 16:40:22.682828 [info] VPN_USER defined as 'SECRET'
2019-11-27 16:40:22.743576 [info] VPN_PASS defined as 'SECRET'
2019-11-27 16:40:22.803791 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2019-11-27 16:40:22.864806 [info] ENABLE_PRIVOXY defined as 'yes'
2019-11-27 16:40:22.926478 [info] Starting Supervisor...
2019-11-27 16:40:23,340 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2019-11-27 16:40:23,341 INFO Set uid to user 0 succeeded
2019-11-27 16:40:23,348 INFO supervisord started with pid 6
2019-11-27 16:40:24,351 INFO spawned: 'start-script' with pid 150
2019-11-27 16:40:24,354 INFO spawned: 'watchdog-script' with pid 151
2019-11-27 16:40:24,355 INFO reaped unknown pid 7
2019-11-27 16:40:24,368 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN
[debug] Environment variables defined as follows
APPLICATION=deluge
BASH=/bin/bash
BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges: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]="5" [1]="0" [2]="11" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu")
BASH_VERSION='5.0.11(1)-release'
DEBUG=true
DELUGE_DAEMON_LOG_LEVEL=info
DELUGE_WEB_LOG_LEVEL=info
DIRSTACK=()
ENABLE_PRIVOXY=yes
EUID=0
GROUPS=()
HOME=/home/nobody
HOSTNAME=DelugeVPN
HOSTTYPE=x86_64
IFS=$' \t\n'
LANG=en_GB.UTF-8
LAN_NETWORK=192.168.0.0/24
MACHTYPE=x86_64-pc-linux-gnu
NAME_SERVERS=46.227.67.134
OPENVPN_OPTS='–inactive 3600 –ping 10 –ping-exit 60'
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGID=0
PIPESTATUS=([0]="0")
PPID=6
PS4='+ '
PUID=0
PWD=/
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments
SHLVL=1
STRICT_PORT_FORWARD=yes
SUPERVISOR_ENABLED=1
SUPERVISOR_GROUP_NAME=start-script
SUPERVISOR_PROCESS_NAME=start-script
TERM=xterm
TZ=Europe/Stockholm
UID=0
UMASK=100
VPN_CONFIG=/config/openvpn/se.stockholm.ovpn.com.ovpn
VPN_DEVICE_TYPE=tun0
VPN_ENABLED=yes
VPN_OPTIONS=
VPN_PASS=SECRET
VPN_PORT=1194
VPN_PROTOCOL=udp
VPN_PROV=custom

2019-11-27 16:40:24,368 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-11-27 16:40:24,368 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-11-27 16:40:24,368 DEBG 'start-script' stdout output:
VPN_REMOTE=pool-1.prd.se.sthlm.ovpn.com
VPN_USER=SECRET
_='[debug] Environment variables defined as follows'
[debug] Directory listing of files in /config/openvpn as follows

2019-11-27 16:40:24,377 DEBG 'start-script' stdout output:
total 8
drwxrwxr-x 1 root root   84 Nov 27 16:40 .
drwxrwxr-x 1 1026  100  118 Nov 27 16:40 ..
-rwxrwxr-x 1 root root   31 Nov 27 16:38 credentials.conf
-rwxrwxr-x 1 root root 2530 Nov 27 16:40 se.stockholm.ovpn.com.ovpn

2019-11-27 16:40:24,448 DEBG 'start-script' stdout output:
[debug] Contents of ovpn file /config/openvpn/se.stockholm.ovpn.com.ovpn as follows...

2019-11-27 16:40:24,450 DEBG 'start-script' stdout output:
remote pool-1.prd.se.sthlm.ovpn.com 1194
client
dev tun
remote-cert-tls server
cipher aes-256-cbc
pull
nobind
resolv-retry infinite
verb 3
persist-key
remote-random
proto udp
mute-replay-warnings
replay-window 256

auth-user-pass credentials.conf

comp-lzo

key-direction 1
<ca>
-----BEGIN CERTIFICATE-----
MIIEfTCCA2WgAwIBAgIJAK2aIWqpLj1/MA0GCSqGSIb3DQEBBQUAMIGFMQswCQYD
VQQGEwJTRTESMBAGA1UECBMJU3RvY2tob2xtMRIwEAYDVQQHEwlTdG9ja2hvbG0x
HDAaBgNVBAsTE0Zpcm1hIERhdmlkIFdpYmVyZ2gxEzARBgNVBAMTCm92cG4uc2Ug
Y2ExGzAZBgkqhkiG9w0BCQEWDGluZm9Ab3Zwbi5zZTAeFw0xNDA4MTcxODIxMjla
Fw0zNDA4MTIxODIxMjlaMIGFMQswCQYDVQQGEwJTRTESMBAGA1UECBMJU3RvY2to
b2xtMRIwEAYDVQQHEwlTdG9ja2hvbG0xHDAaBgNVBAsTE0Zpcm1hIERhdmlkIFdp
YmVyZ2gxEzARBgNVBAMTCm92cG4uc2UgY2ExGzAZBgkqhkiG9w0BCQEWDGluZm9A
b3Zwbi5zZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMR+aP4GTuZw
urZuOA2NYzMfqKyZi/TJcLEPlGTB/b4CWA9bTd8f0pHPrDAZsXIEayxxB58BIFND
NiybnbO15JN/QwlsqmA+aZX6mCSkScs/rRwasM6LDo8iGx+KmYEqAgzziONGbCMn
lO+OaarXte7LhZ9X6Z/bryu4xq/i1v3raak13kXsrogtu4iDzxqJE/QhbNOi0yhC
dlm5RYQjmlKGdPB9pNTgcakVI4HcngRYMzBlrGin0YkvWCdpx5FrDNeld7BSWrJM
NYyvd+buaid0Fu1T9/P/Srj/8AiabKoaDyiGFbZdTnGfK+04lWRvwAmvazpqbUt5
Omw634jJDuMCAwEAAaOB7TCB6jAdBgNVHQ4EFgQUEvJcHHcTiDtu7bAyZw+xaqg+
xdIwgboGA1UdIwSBsjCBr4AUEvJcHHcTiDtu7bAyZw+xaqg+xdKhgYukgYgwgYUx
CzAJBgNVBAYTAlNFMRIwEAYDVQQIEwlTdG9ja2hvbG0xEjAQBgNVBAcTCVN0b2Nr
aG9sbTEcMBoGA1UECxMTRmlybWEgRGF2aWQgV2liZXJnaDETMBEGA1UEAxMKb3Zw
bi5zZSBjYTEbMBkGCSqGSIb3DQEJARYMaW5mb0BvdnBuLnNlggkArZohaqkuPX8w
DAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAJmID6OyBJbV7ayPPgquo
jF+FICuDdOfGVKP828cyISxcbVA04VpD0QLYVb0k9pFUx0NbgX2SvRTiFhP7LcyS
1HV9s+XLCb2WItPPsrdRTwtqU2n3TlCEzWA3WOcOCtT6JSkv1eelmx1JnP0gYJrD
vDvRYBFctwWhtE0bineSQkZwN6980zkknADLAiHpeZSu/AMx7CGTwA6SmoFvpNBm
HXDcfe/9ZqbbYfUfyPNe+0JbMrcv1elKi+6wlEkHFaEBphiZwGEbOX1CjUMcQFgW
/cIp3n50Eiyx6ktuqimhyb59P4Nw8gqH452tTtE4MM/brA5y0Q0WFBRBojfZIbGW
WQ==
-----END CERTIFICATE-----
</ca>

<tls-auth>
-----BEGIN OpenVPN Static key V1-----
81782767e4d59c4464cc5d1896f1cf60
15017d53ac62e2e3b94b889e00b2c69d
dc01944fe1c6d895b4d80540502eb719
10b8d785c9efa9e3182343532adffe1c
fbb7bb6eae39c502da2748edf0fb89b8
a20b0a1085cc1f06135037881bc0c4ad
8f2c0f4f72d2ab466fb54af3d8264c5f
ddeb0f21aa0ca41863678f5fc4c44de4
ca0926b36dfddc42c6f2fabd1694bdc8
215b2d223b9c21dc6734c2c778093187
afb8c33403b228b9af68b540c284f6d1
83bcc88bd41d47bd717996e499ce1cbb
fa768a9723c19c58314c4d19cfed82e5
43ee92e73d38ad26d4fbec231c0f9f3b
30773a5c87792e9bc7c34e8d7611002e
bedd044e48a0f1f96527bfdcc940aa09
-----END OpenVPN Static key V1-----
</tls-auth>

2019-11-27 16:40:24,475 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2019-11-27 16:40:24,482 DEBG 'start-script' stdout output:
[info] Adding 46.227.67.134 to /etc/resolv.conf

2019-11-27 16:40:39,508 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2019-11-27 16:40:54,532 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2019-11-27 16:40:54,536 DEBG 'start-script' stdout output:
[debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...

2019-11-27 16:41:14,560 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2019-11-27 16:41:14,562 DEBG 'start-script' stdout output:
[debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...

2019-11-27 16:41:34,586 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2019-11-27 16:41:34,589 DEBG 'start-script' stdout output:
[debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...

2019-11-27 16:41:54,615 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2019-11-27 16:41:54,618 DEBG 'start-script' stdout output:
[debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...

2019-11-27 16:42:14,640 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2019-11-27 16:42:14,643 DEBG 'start-script' stdout output:
[debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...

2019-11-27 16:42:34,664 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2019-11-27 16:42:34,667 DEBG 'start-script' stdout output:
[debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...

2019-11-27 16:42:54,689 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2019-11-27 16:42:54,692 DEBG 'start-script' stdout output:
[debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...

2019-11-27 16:43:14,713 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2019-11-27 16:43:14,715 DEBG 'start-script' stdout output:
[debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...

2019-11-27 16:43:34,737 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2019-11-27 16:43:34,740 DEBG 'start-script' stdout output:
[debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...

2019-11-27 16:43:54,764 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2019-11-27 16:43:54,767 DEBG 'start-script' stdout output:
[debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...

2019-11-27 16:44:14,790 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2019-11-27 16:44:14,792 DEBG 'start-script' stdout output:
[debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...

2019-11-27 16:44:19,794 DEBG 'start-script' stdout output:
[crit] 'pool-1.prd.se.sthlm.ovpn.com' cannot be resolved, possible DNS issues, exiting...

2019-11-27 16:44:19,795 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 140261422646224 for <Subprocess at 140261422648864 with name start-script in state RUNNING> (stdout)>
2019-11-27 16:44:19,795 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 140261422263360 for <Subprocess at 140261422648864 with name start-script in state RUNNING> (stderr)>
2019-11-27 16:44:19,795 INFO exited: start-script (exit status 1; not expected)
2019-11-27 16:44:19,796 DEBG received SIGCHLD indicating a child quit

 

Link to comment
50 minutes ago, important said:

[info] Adding 46.227.67.134 to /etc/resolv.conf

im assuming that is the vpn providers namserver right?, does the vpn provider allow you to query it whilst NOT connected to the vpn?, my guess would be no, change this value to one or more of the following:-

NAME_SERVERS=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

 

actually just tried this and i can resolve using it, so i can only assume that port 53 outbound is being blocked, probably by your firewall, you running pfsense or something similar?, check your router/firewall logs.

 

Edited by binhex
Link to comment
10 minutes ago, binhex said:

im assuming that is the vpn providers namserver right?, does the vpn provider allow you to query it whilst NOT connected to the vpn?, my guess would be no, change this value to one or more of the following:-

NAME_SERVERS=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

 

Yes I tried using their DNS server I found on their website while trying to fix it myself. Before that I had googles - "8.8.8.8,8.8.4.4". I tried with the ones you just posted. Log looks similar except that it doesn't actually 'stop' retrying. Not yet anyway. Thanks for the fast help!

 

2019-11-27 17:01:36.155399 [info] System information Linux DelugeVPN 4.4.59+ #24922 SMP PREEMPT Mon Aug 19 12:13:37 CST 2019 x86_64 GNU/Linux
2019-11-27 17:01:36.262332 [info] PUID defined as '0'
2019-11-27 17:01:36.352975 [info] PGID defined as '0'
2019-11-27 17:01:36.732074 [info] UMASK defined as '100'
2019-11-27 17:01:36.792377 [info] Permissions already set for volume mappings
2019-11-27 17:01:36.881687 [info] DELUGE_DAEMON_LOG_LEVEL not defined,(via -e DELUGE_DAEMON_LOG_LEVEL), defaulting to 'info'
2019-11-27 17:01:36.944244 [info] DELUGE_WEB_LOG_LEVEL not defined,(via -e DELUGE_WEB_LOG_LEVEL), defaulting to 'info'
2019-11-27 17:01:37.005619 [info] VPN_ENABLED defined as 'yes'
2019-11-27 17:01:37.136762 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/se.stockholm.ovpn.com.ovpn
2019-11-27 17:01:37.276566 [info] VPN remote line defined as 'remote pool-1.prd.se.sthlm.ovpn.com 1194'
2019-11-27 17:01:37.355044 [info] VPN_REMOTE defined as 'pool-1.prd.se.sthlm.ovpn.com'
2019-11-27 17:01:37.469662 [info] VPN_PORT defined as '1194'
2019-11-27 17:01:37.549623 [info] VPN_PROTOCOL defined as 'udp'
2019-11-27 17:01:37.616521 [info] VPN_DEVICE_TYPE defined as 'tun0'
2019-11-27 17:01:37.677244 [info] VPN_PROV defined as 'custom'
2019-11-27 17:01:37.738673 [info] LAN_NETWORK defined as '192.168.0.0/24'
2019-11-27 17:01:37.799382 [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'
2019-11-27 17:01:37.862095 [info] VPN_USER defined as 'SECRET'
2019-11-27 17:01:37.924549 [info] VPN_PASS defined as 'SECRET'
2019-11-27 17:01:37.984836 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2019-11-27 17:01:38.051292 [info] ENABLE_PRIVOXY defined as 'yes'
2019-11-27 17:01:38.114726 [info] Starting Supervisor...
2019-11-27 17:01:38,820 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2019-11-27 17:01:38,821 INFO Set uid to user 0 succeeded
2019-11-27 17:01:38,827 INFO supervisord started with pid 6
2019-11-27 17:01:39,830 INFO spawned: 'start-script' with pid 150
2019-11-27 17:01:39,834 INFO spawned: 'watchdog-script' with pid 151
2019-11-27 17:01:39,835 INFO reaped unknown pid 7
2019-11-27 17:01:39,846 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN
[debug] Environment variables defined as follows
APPLICATION=deluge
BASH=/bin/bash
BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges: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]="5" [1]="0" [2]="11" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu")
BASH_VERSION='5.0.11(1)-release'
DEBUG=true
DELUGE_DAEMON_LOG_LEVEL=info
DELUGE_WEB_LOG_LEVEL=info
DIRSTACK=()
ENABLE_PRIVOXY=yes
EUID=0
GROUPS=()
HOME=/home/nobody
HOSTNAME=DelugeVPN
HOSTTYPE=x86_64
IFS=$' \t\n'
LANG=en_GB.UTF-8
LAN_NETWORK=192.168.0.0/24
MACHTYPE=x86_64-pc-linux-gnu
NAME_SERVERS=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
OPENVPN_OPTS='–inactive 3600 –ping 10 –ping-exit 60'
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGID=0
PIPESTATUS=([0]="0")
PPID=6
PS4='+ '
PUID=0
PWD=/
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments
SHLVL=1
STRICT_PORT_FORWARD=yes
SUPERVISOR_ENABLED=1
SUPERVISOR_GROUP_NAME=start-script
SUPERVISOR_PROCESS_NAME=start-script
TERM=xterm
TZ=Europe/Stockholm
UID=0
UMASK=100
VPN_CONFIG=/config/openvpn/se.stockholm.ovpn.com.ovpn
VPN_DEVICE_TYPE=tun0
VPN_ENABLED=yes
VPN_OPTIONS=

2019-11-27 17:01:39,847 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-11-27 17:01:39,848 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-11-27 17:01:39,848 DEBG 'start-script' stdout output:
VPN_PASS=SECRET
VPN_PORT=1194
VPN_PROTOCOL=udp
VPN_PROV=custom
VPN_REMOTE=pool-1.prd.se.sthlm.ovpn.com
VPN_USER=SECRET
_='[debug] Environment variables defined as follows'
[debug] Directory listing of files in /config/openvpn as follows

2019-11-27 17:01:39,886 DEBG 'start-script' stdout output:
total 8
drwxrwxr-x 1 root root   84 Nov 27 17:01 .
drwxrwxr-x 1 1026  100  118 Nov 27 17:01 ..
-rwxrwxr-x 1 root root   30 Nov 27 16:40 credentials.conf
-rwxrwxr-x 1 root root 2530 Nov 27 17:01 se.stockholm.ovpn.com.ovpn

2019-11-27 17:01:39,957 DEBG 'start-script' stdout output:
[debug] Contents of ovpn file /config/openvpn/se.stockholm.ovpn.com.ovpn as follows...

2019-11-27 17:01:39,959 DEBG 'start-script' stdout output:
remote pool-1.prd.se.sthlm.ovpn.com 1194
client
dev tun
remote-cert-tls server
cipher aes-256-cbc
pull
nobind
resolv-retry infinite
verb 3
persist-key
remote-random
proto udp
mute-replay-warnings
replay-window 256

auth-user-pass credentials.conf

comp-lzo

key-direction 1
<ca>
-----BEGIN CERTIFICATE-----
MIIEfTCCA2WgAwIBAgIJAK2aIWqpLj1/MA0GCSqGSIb3DQEBBQUAMIGFMQswCQYD
VQQGEwJTRTESMBAGA1UECBMJU3RvY2tob2xtMRIwEAYDVQQHEwlTdG9ja2hvbG0x
HDAaBgNVBAsTE0Zpcm1hIERhdmlkIFdpYmVyZ2gxEzARBgNVBAMTCm92cG4uc2Ug
Y2ExGzAZBgkqhkiG9w0BCQEWDGluZm9Ab3Zwbi5zZTAeFw0xNDA4MTcxODIxMjla
Fw0zNDA4MTIxODIxMjlaMIGFMQswCQYDVQQGEwJTRTESMBAGA1UECBMJU3RvY2to
b2xtMRIwEAYDVQQHEwlTdG9ja2hvbG0xHDAaBgNVBAsTE0Zpcm1hIERhdmlkIFdp
YmVyZ2gxEzARBgNVBAMTCm92cG4uc2UgY2ExGzAZBgkqhkiG9w0BCQEWDGluZm9A
b3Zwbi5zZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMR+aP4GTuZw
urZuOA2NYzMfqKyZi/TJcLEPlGTB/b4CWA9bTd8f0pHPrDAZsXIEayxxB58BIFND
NiybnbO15JN/QwlsqmA+aZX6mCSkScs/rRwasM6LDo8iGx+KmYEqAgzziONGbCMn
lO+OaarXte7LhZ9X6Z/bryu4xq/i1v3raak13kXsrogtu4iDzxqJE/QhbNOi0yhC
dlm5RYQjmlKGdPB9pNTgcakVI4HcngRYMzBlrGin0YkvWCdpx5FrDNeld7BSWrJM
NYyvd+buaid0Fu1T9/P/Srj/8AiabKoaDyiGFbZdTnGfK+04lWRvwAmvazpqbUt5
Omw634jJDuMCAwEAAaOB7TCB6jAdBgNVHQ4EFgQUEvJcHHcTiDtu7bAyZw+xaqg+
xdIwgboGA1UdIwSBsjCBr4AUEvJcHHcTiDtu7bAyZw+xaqg+xdKhgYukgYgwgYUx
CzAJBgNVBAYTAlNFMRIwEAYDVQQIEwlTdG9ja2hvbG0xEjAQBgNVBAcTCVN0b2Nr
aG9sbTEcMBoGA1UECxMTRmlybWEgRGF2aWQgV2liZXJnaDETMBEGA1UEAxMKb3Zw
bi5zZSBjYTEbMBkGCSqGSIb3DQEJARYMaW5mb0BvdnBuLnNlggkArZohaqkuPX8w
DAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAJmID6OyBJbV7ayPPgquo
jF+FICuDdOfGVKP828cyISxcbVA04VpD0QLYVb0k9pFUx0NbgX2SvRTiFhP7LcyS
1HV9s+XLCb2WItPPsrdRTwtqU2n3TlCEzWA3WOcOCtT6JSkv1eelmx1JnP0gYJrD
vDvRYBFctwWhtE0bineSQkZwN6980zkknADLAiHpeZSu/AMx7CGTwA6SmoFvpNBm
HXDcfe/9ZqbbYfUfyPNe+0JbMrcv1elKi+6wlEkHFaEBphiZwGEbOX1CjUMcQFgW
/cIp3n50Eiyx6ktuqimhyb59P4Nw8gqH452tTtE4MM/brA5y0Q0WFBRBojfZIbGW
WQ==
-----END CERTIFICATE-----
</ca>

<tls-auth>
-----BEGIN OpenVPN Static key V1-----
81782767e4d59c4464cc5d1896f1cf60
15017d53ac62e2e3b94b889e00b2c69d
dc01944fe1c6d895b4d80540502eb719
10b8d785c9efa9e3182343532adffe1c
fbb7bb6eae39c502da2748edf0fb89b8
a20b0a1085cc1f06135037881bc0c4ad
8f2c0f4f72d2ab466fb54af3d8264c5f
ddeb0f21aa0ca41863678f5fc4c44de4
ca0926b36dfddc42c6f2fabd1694bdc8
215b2d223b9c21dc6734c2c778093187
afb8c33403b228b9af68b540c284f6d1
83bcc88bd41d47bd717996e499ce1cbb
fa768a9723c19c58314c4d19cfed82e5
43ee92e73d38ad26d4fbec231c0f9f3b
30773a5c87792e9bc7c34e8d7611002e
bedd044e48a0f1f96527bfdcc940aa09
-----END OpenVPN Static key V1-----
</tls-auth>

2019-11-27 17:01:40,013 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2019-11-27 17:01:40,019 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.222 to /etc/resolv.conf

2019-11-27 17:01:40,025 DEBG 'start-script' stdout output:
[info] Adding 84.200.69.80 to /etc/resolv.conf

2019-11-27 17:01:40,031 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf

2019-11-27 17:01:40,038 DEBG 'start-script' stdout output:
[info] Adding 1.1.1.1 to /etc/resolv.conf

2019-11-27 17:01:40,044 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.218 to /etc/resolv.conf

2019-11-27 17:01:40,050 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf

2019-11-27 17:01:40,056 DEBG 'start-script' stdout output:
[info] Adding 84.200.70.40 to /etc/resolv.conf

2019-11-27 17:01:40,062 DEBG 'start-script' stdout output:
[info] Adding 1.0.0.1 to /etc/resolv.conf

2019-11-27 17:03:40,188 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2019-11-27 17:05:40,311 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2019-11-27 17:05:40,315 DEBG 'start-script' stdout output:
[debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...

2019-11-27 17:07:45,437 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2019-11-27 17:07:45,440 DEBG 'start-script' stdout output:
[debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...

2019-11-27 17:09:50,554 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2019-11-27 17:09:50,558 DEBG 'start-script' stdout output:
[debug] Failed to resolve endpoint 'pool-1.prd.se.sthlm.ovpn.com' retrying...

 

Link to comment
27 minutes ago, important said:

Yes I tried using their DNS server I found on their website while trying to fix it myself. Before that I had googles - "8.8.8.8,8.8.4.4". I tried with the ones you just posted. Log looks similar except that it doesn't actually 'stop' retrying. Not yet anyway. Thanks for the fast help!

see previous (edited) post.

Link to comment
4 minutes ago, binhex said:

see previous (edited) post.

Didn't notice the Edit. I'm behind the same router I got from my ISP, which is quite shit, but I since they deliver internet here with Coaxial cable I can't switch to my ASUS router. I tried opening port 53 for my NAS (why port 53? I don't see this used anywhere) and it made no difference. Also tried to disable my firewall completely in the router and ye - same logs as before.

Link to comment
1 minute ago, important said:

Didn't notice the Edit. I'm behind the same router I got from my ISP, which is quite shit, but I since they deliver internet here with Coaxial cable I can't switch to my ASUS router. I tried opening port 53 for my NAS (why port 53? I don't see this used anywhere) and it made no difference. Also tried to disable my firewall completely in the router and ye - same logs as before.

port 53 is the port used by dns resolvers, the problem you have is that the container cannot resolve the hostname for the vpn endpoint (as shown in the ovpn file) and thus cannot continue, you either need to figure out what is blocking dns and fix it or use a single ip address in the 'remote' line in the ovpn file (not ideal but will get it working).

Link to comment
2 minutes ago, binhex said:

port 53 is the port used by dns resolvers, the problem you have is that the container cannot resolve the hostname for the vpn endpoint (as shown in the ovpn file) and thus cannot continue, you either need to figure out what is blocking dns and fix it or use a single ip address in the 'remote' line in the ovpn file (not ideal but will get it working).

With the little amount of experience I have with this stuff it feels like I've tried everything that I could think of. Googling for hours yesterday didn't help either. What do you think would be the most probable cause? If it's the router I could see if I can put it in bridge mode and try with my ASUS etc. Maybe subscribe to another VPN service?

Either way - how would I go about to do the none-ideal solution?

Link to comment
4 minutes ago, important said:

With the little amount of experience I have with this stuff it feels like I've tried everything that I could think of. Googling for hours yesterday didn't help either. What do you think would be the most probable cause? If it's the router I could see if I can put it in bridge mode and try with my ASUS etc. Maybe subscribe to another VPN service?

Either way - how would I go about to do the none-ideal solution?

open the file /config/openvpn/<name of your file with a ovpn extension> with something like notepad++ or atom or vscode, look for the line 'remote pool-1.prd.se.sthlm.ovpn.com 1194' and change it to 'remote 217.64.148.59 1194' save the file and restart container

Edited by binhex
Link to comment
12 minutes ago, binhex said:

open the file /config/openvpn/<name of your file with a ovpn extension> with something like notepad++ or atom or vscode, look for the line 'remote pool-1.prd.se.sthlm.ovpn.com 1194' and change it to 'remote 217.64.148.59 1194' save the file and restart container

Making progress! Not giving the same error now. But stuck with something else:

 

2019-11-27 18:19:10.049620 [info] System information Linux DelugeVPN 4.4.59+ #24922 SMP PREEMPT Mon Aug 19 12:13:37 CST 2019 x86_64 GNU/Linux
2019-11-27 18:19:10.280631 [info] PUID defined as '0'
2019-11-27 18:19:10.422884 [info] PGID defined as '0'
2019-11-27 18:19:10.728083 [info] UMASK defined as '100'
2019-11-27 18:19:10.789888 [info] Permissions already set for volume mappings
2019-11-27 18:19:10.865787 [info] DELUGE_DAEMON_LOG_LEVEL not defined,(via -e DELUGE_DAEMON_LOG_LEVEL), defaulting to 'info'
2019-11-27 18:19:10.926473 [info] DELUGE_WEB_LOG_LEVEL not defined,(via -e DELUGE_WEB_LOG_LEVEL), defaulting to 'info'
2019-11-27 18:19:10.988706 [info] VPN_ENABLED defined as 'yes'
2019-11-27 18:19:11.118729 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/se.stockholm.ovpn.com.ovpn
2019-11-27 18:19:11.232065 [info] VPN remote line defined as 'remote 217.64.148.59 1194'
2019-11-27 18:19:11.293003 [info] VPN_REMOTE defined as '217.64.148.59'
2019-11-27 18:19:11.359355 [info] VPN_PORT defined as '1194'
2019-11-27 18:19:11.475388 [info] VPN_PROTOCOL defined as 'udp'
2019-11-27 18:19:11.558652 [info] VPN_DEVICE_TYPE defined as 'tun0'
2019-11-27 18:19:11.622794 [info] VPN_PROV defined as 'custom'
2019-11-27 18:19:11.684959 [info] LAN_NETWORK defined as '192.168.0.0/24'
2019-11-27 18:19:11.745042 [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'
2019-11-27 18:19:11.813093 [info] VPN_USER defined as 'SECRET'
2019-11-27 18:19:11.875613 [info] VPN_PASS defined as 'SECRET'
2019-11-27 18:19:11.936835 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2019-11-27 18:19:11.998902 [info] ENABLE_PRIVOXY defined as 'yes'
2019-11-27 18:19:12.060264 [info] Starting Supervisor...
2019-11-27 18:19:12,762 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2019-11-27 18:19:12,763 INFO Set uid to user 0 succeeded
2019-11-27 18:19:12,769 INFO supervisord started with pid 7
2019-11-27 18:19:13,773 INFO spawned: 'start-script' with pid 151
2019-11-27 18:19:13,775 INFO spawned: 'watchdog-script' with pid 152
2019-11-27 18:19:13,776 INFO reaped unknown pid 8
2019-11-27 18:19:13,789 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN
[debug] Environment variables defined as follows
APPLICATION=deluge
BASH=/bin/bash
BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges: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]="5" [1]="0" [2]="11" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu")
BASH_VERSION='5.0.11(1)-release'
DEBUG=true
DELUGE_DAEMON_LOG_LEVEL=info
DELUGE_WEB_LOG_LEVEL=info
DIRSTACK=()
ENABLE_PRIVOXY=yes
EUID=0
GROUPS=()
HOME=/home/nobody
HOSTNAME=DelugeVPN
HOSTTYPE=x86_64
IFS=$' \t\n'
LANG=en_GB.UTF-8
LAN_NETWORK=192.168.0.0/24
MACHTYPE=x86_64-pc-linux-gnu
NAME_SERVERS=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
OPENVPN_OPTS='–inactive 3600 –ping 10 –ping-exit 60'
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGID=0
PIPESTATUS=([0]="0")
PPID=7
PS4='+ '
PUID=0
PWD=/
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments
SHLVL=1
STRICT_PORT_FORWARD=yes
SUPERVISOR_ENABLED=1
SUPERVISOR_GROUP_NAME=start-script
SUPERVISOR_PROCESS_NAME=start-script
TERM=xterm

2019-11-27 18:19:13,790 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-11-27 18:19:13,790 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-11-27 18:19:13,790 DEBG 'start-script' stdout output:
TZ=Europe/Stockholm
UID=0
UMASK=100
VPN_CONFIG=/config/openvpn/se.stockholm.ovpn.com.ovpn
VPN_DEVICE_TYPE=tun0
VPN_ENABLED=yes
VPN_OPTIONS=
VPN_PASS=SECRET
VPN_PORT=1194
VPN_PROTOCOL=udp
VPN_PROV=custom
VPN_REMOTE=217.64.148.59
VPN_USER=SECRET
_='[debug] Environment variables defined as follows'
[debug] Directory listing of files in /config/openvpn as follows

2019-11-27 18:19:13,834 DEBG 'start-script' stdout output:
total 8
drwxrwxr-x 1 root root   84 Nov 27 18:19 .
drwxrwxr-x 1 1026  100  118 Nov 27 17:44 ..
-rwxrwxr-x 1 root root   30 Nov 27 17:44 credentials.conf
-rwxrwxr-x 1 root root 2539 Nov 27 18:19 se.stockholm.ovpn.com.ovpn

2019-11-27 18:19:13,966 DEBG 'start-script' stdout output:
[debug] Contents of ovpn file /config/openvpn/se.stockholm.ovpn.com.ovpn as follows...

2019-11-27 18:19:13,968 DEBG 'start-script' stdout output:
remote 217.64.148.59 1194
client
dev tun
remote-cert-tls server
cipher aes-256-cbc
pull
nobind
resolv-retry infinite
verb 3
persist-key
remote-random
proto udp
mute-replay-warnings
replay-window 256

auth-user-pass credentials.conf

comp-lzo

key-direction 1
<ca>
-----BEGIN CERTIFICATE-----
MIIEfTCCA2WgAwIBAgIJAK2aIWqpLj1/MA0GCSqGSIb3DQEBBQUAMIGFMQswCQYD
VQQGEwJTRTESMBAGA1UECBMJU3RvY2tob2xtMRIwEAYDVQQHEwlTdG9ja2hvbG0x
HDAaBgNVBAsTE0Zpcm1hIERhdmlkIFdpYmVyZ2gxEzARBgNVBAMTCm92cG4uc2Ug
Y2ExGzAZBgkqhkiG9w0BCQEWDGluZm9Ab3Zwbi5zZTAeFw0xNDA4MTcxODIxMjla
Fw0zNDA4MTIxODIxMjlaMIGFMQswCQYDVQQGEwJTRTESMBAGA1UECBMJU3RvY2to
b2xtMRIwEAYDVQQHEwlTdG9ja2hvbG0xHDAaBgNVBAsTE0Zpcm1hIERhdmlkIFdp
YmVyZ2gxEzARBgNVBAMTCm92cG4uc2UgY2ExGzAZBgkqhkiG9w0BCQEWDGluZm9A
b3Zwbi5zZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMR+aP4GTuZw
urZuOA2NYzMfqKyZi/TJcLEPlGTB/b4CWA9bTd8f0pHPrDAZsXIEayxxB58BIFND
NiybnbO15JN/QwlsqmA+aZX6mCSkScs/rRwasM6LDo8iGx+KmYEqAgzziONGbCMn
lO+OaarXte7LhZ9X6Z/bryu4xq/i1v3raak13kXsrogtu4iDzxqJE/QhbNOi0yhC
dlm5RYQjmlKGdPB9pNTgcakVI4HcngRYMzBlrGin0YkvWCdpx5FrDNeld7BSWrJM
NYyvd+buaid0Fu1T9/P/Srj/8AiabKoaDyiGFbZdTnGfK+04lWRvwAmvazpqbUt5
Omw634jJDuMCAwEAAaOB7TCB6jAdBgNVHQ4EFgQUEvJcHHcTiDtu7bAyZw+xaqg+
xdIwgboGA1UdIwSBsjCBr4AUEvJcHHcTiDtu7bAyZw+xaqg+xdKhgYukgYgwgYUx
CzAJBgNVBAYTAlNFMRIwEAYDVQQIEwlTdG9ja2hvbG0xEjAQBgNVBAcTCVN0b2Nr
aG9sbTEcMBoGA1UECxMTRmlybWEgRGF2aWQgV2liZXJnaDETMBEGA1UEAxMKb3Zw
bi5zZSBjYTEbMBkGCSqGSIb3DQEJARYMaW5mb0BvdnBuLnNlggkArZohaqkuPX8w
DAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAJmID6OyBJbV7ayPPgquo
jF+FICuDdOfGVKP828cyISxcbVA04VpD0QLYVb0k9pFUx0NbgX2SvRTiFhP7LcyS
1HV9s+XLCb2WItPPsrdRTwtqU2n3TlCEzWA3WOcOCtT6JSkv1eelmx1JnP0gYJrD
vDvRYBFctwWhtE0bineSQkZwN6980zkknADLAiHpeZSu/AMx7CGTwA6SmoFvpNBm
HXDcfe/9ZqbbYfUfyPNe+0JbMrcv1elKi+6wlEkHFaEBphiZwGEbOX1CjUMcQFgW
/cIp3n50Eiyx6ktuqimhyb59P4Nw8gqH452tTtE4MM/brA5y0Q0WFBRBojfZIbGW
WQ==
-----END CERTIFICATE-----
</ca>

<tls-auth>
-----BEGIN OpenVPN Static key V1-----
81782767e4d59c4464cc5d1896f1cf60
15017d53ac62e2e3b94b889e00b2c69d
dc01944fe1c6d895b4d80540502eb719
10b8d785c9efa9e3182343532adffe1c
fbb7bb6eae39c502da2748edf0fb89b8
a20b0a1085cc1f06135037881bc0c4ad
8f2c0f4f72d2ab466fb54af3d8264c5f
ddeb0f21aa0ca41863678f5fc4c44de4
ca0926b36dfddc42c6f2fabd1694bdc8
215b2d223b9c21dc6734c2c778093187
afb8c33403b228b9af68b540c284f6d1
83bcc88bd41d47bd717996e499ce1cbb
fa768a9723c19c58314c4d19cfed82e5
43ee92e73d38ad26d4fbec231c0f9f3b
30773a5c87792e9bc7c34e8d7611002e
bedd044e48a0f1f96527bfdcc940aa09
-----END OpenVPN Static key V1-----
</tls-auth>

2019-11-27 18:19:14,026 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2019-11-27 18:19:14,032 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.222 to /etc/resolv.conf

2019-11-27 18:19:14,039 DEBG 'start-script' stdout output:
[info] Adding 84.200.69.80 to /etc/resolv.conf

2019-11-27 18:19:14,046 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf

2019-11-27 18:19:14,051 DEBG 'start-script' stdout output:
[info] Adding 1.1.1.1 to /etc/resolv.conf

2019-11-27 18:19:14,058 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.218 to /etc/resolv.conf

2019-11-27 18:19:14,064 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf

2019-11-27 18:19:14,070 DEBG 'start-script' stdout output:
[info] Adding 84.200.70.40 to /etc/resolv.conf

2019-11-27 18:19:14,076 DEBG 'start-script' stdout output:
[info] Adding 1.0.0.1 to /etc/resolv.conf

2019-11-27 18:19:14,081 DEBG 'start-script' stdout output:
217.64.148.59

2019-11-27 18:19:14,155 DEBG 'start-script' stdout output:
[debug] Show name servers defined for container

2019-11-27 18:19:14,157 DEBG 'start-script' stdout output:
nameserver 209.222.18.222
nameserver 84.200.69.80
nameserver 37.235.1.174
nameserver 1.1.1.1
nameserver 209.222.18.218
nameserver 37.235.1.177
nameserver 84.200.70.40
nameserver 1.0.0.1

2019-11-27 18:19:14,159 DEBG 'start-script' stdout output:
[debug] Show name resolution for VPN endpoint 217.64.148.59

2019-11-27 18:21:14,279 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2019-11-27 18:21:14,281 DEBG 'start-script' stdout output:
[debug] Show contents of hosts file

2019-11-27 18:21:14,282 DEBG 'start-script' stdout output:
127.0.0.1	localhost
::1	localhost ip6-localhost ip6-loopback
fe00::0	ip6-localnet
ff00::0	ip6-mcastprefix
ff02::1	ip6-allnodes
ff02::2	ip6-allrouters
172.17.0.2	DelugeVPN

2019-11-27 18:21:14,371 DEBG 'start-script' stdout output:
[debug] Docker interface defined as eth0

2019-11-27 18:21:14,397 DEBG 'start-script' stdout output:
[debug] Docker IP defined as 172.17.0.2

2019-11-27 18:21:14,403 DEBG 'start-script' stdout output:
[debug] Docker netmask defined as 255.255.0.0

2019-11-27 18:21:14,444 DEBG 'start-script' stdout output:
[info] Docker network defined as    172.17.0.0/16

2019-11-27 18:21:14,452 DEBG 'start-script' stdout output:
[info] Adding 192.168.0.0/24 as route via docker eth0

2019-11-27 18:21:14,454 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2019-11-27 18:21:14,456 DEBG 'start-script' stdout output:
default via 172.17.0.1 dev eth0 

2019-11-27 18:21:14,457 DEBG 'start-script' stdout output:
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.2 

2019-11-27 18:21:14,458 DEBG 'start-script' stdout output:
192.168.0.0/24 via 172.17.0.1 dev eth0 

2019-11-27 18:21:14,459 DEBG 'start-script' stdout output:
--------------------

2019-11-27 18:21:14,460 DEBG 'start-script' stdout output:
[debug] Modules currently loaded for kernel

2019-11-27 18:21:14,465 DEBG 'start-script' stdout output:
Module                  Size  Used by
xt_ipvs                 2202  0
ip_vs_rr                1447  0
ip_vs                 127371  3 ip_vs_rr,xt_ipvs
xt_mark                 1317  0
br_netfilter           13589  0
bridge                 55340  1 br_netfilter
stp                     1693  1 bridge
aufs                  194415  0
macvlan                13776  0
veth                    5094  0
xt_conntrack            3401  4
xt_addrtype             2893  1
ipt_MASQUERADE          1213  6
xt_REDIRECT             1486  0
nf_nat_masquerade_ipv4     1929  1 ipt_MASQUERADE
xt_nat                  1977  5
iptable_nat             1959  1
nf_nat_ipv4             4903  1 iptable_nat
nf_nat_redirect         1395  1 xt_REDIRECT
nf_nat                 10925  4 nf_nat_redirect,nf_nat_ipv4,xt_nat,nf_nat_masquerade_ipv4
iptable_mangle          1656  0
tun                    19295  0
cifs                  371998  0
udf                    80226  0
isofs                  31403  0
loop                   19749  0
tcm_loop               12940  1
iscsi_target_mod      235126  1
target_core_ep         46505  2
target_core_multi_file    26446  1
target_core_file       39992  1
target_core_iblock     19769  1
target_core_mod       926774  18 target_core_iblock,target_core_multi_file,iscsi_target_mod,target_core_ep,target_core_file,tcm_loop
syno_extent_pool     1295768  0
rodsp_ep               77187  3 target_core_multi_file,syno_extent_pool,target_core_file
syno_hddmon             1880  0
hid_generic             1321  0
usbhid                 25951  0
hid                    94408  2 hid_generic,usbhid
usblp                  10618  0
usb_storage            49426  0
uhci_hcd               22683  0
ehci_pci                3935  0
ehci_hcd               42414  1 ehci_pci
xt_mac                  1155  0
xt_geoip                3214  4
compat_xtables           955  0
nf_conntrack_ipv6       6563  2
nf_defrag_ipv6         23062  1 nf_conntrack_ipv6
ip6table_filter         1532  1
ip6_tables             14730  1 ip6table_filter
xt_recent               8550  0
xt_iprange              1648  4
xt_limit                1985  5
xt_state                1367  0
xt_tcpudp               2543  23
xt_multiport            1830  16
xt_LOG                  1423  0
nf_conntrack_ipv4      11616  3
nf_defrag_ipv4          1475  1 nf_conntrack_ipv4
nf_conntrack           62480  8 ip_vs,nf_nat,xt_state,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_conntrack_ipv6
iptable_filter          1592  1
ip_tables              14092  3 iptable_filter,iptable_mangle,iptable_nat
x_tables               16302  21 ip6table_filter,xt_ipvs,xt_iprange,xt_mark,xt_recent,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_geoip,xt_limit,xt_state,xt_conntrack,xt_LOG,xt_mac,xt_nat,xt_multiport,iptable_filter,xt_REDIRECT,iptable_mangle,ip6_tables,xt_addrtype
apollolake_synobios    60352  0
leds_lp3943             4500  0
exfat                 117655  0
btrfs                 945774  1
i915                 1150643  0
drm_kms_helper        105637  1 i915
syscopyarea             3262  1 drm_kms_helper
sysfillrect             3754  1 drm_kms_helper
sysimgblt               2239  1 drm_kms_helper
fb_sys_fops             1314  1 drm_kms_helper
cfbfillrect             3818  1 drm_kms_helper
cfbcopyarea             3326  1 drm_kms_helper
cfbimgblt               2303  1 drm_kms_helper
drm                   269120  3 i915,drm_kms_helper
fb                     34811  2 i915,drm_kms_helper
fbdev                    966  1 fb
intel_agp              10712  0
intel_gtt              12326  2 i915,intel_agp
agpgart                25941  3 drm,intel_agp,intel_gtt
video                  25321  1 i915
backlight               6096  2 i915,video
button                  4756  1 i915
synoacl_vfs            15727  1
hfsplus                92438  0
md4                     4337  0
hmac                    2961  0
r8168                 522782  0
igb                   173319  0
i2c_algo_bit            5328  1 i915
e1000e                168269  0
vxlan                  32753  0
ip6_udp_tunnel          1903  1 vxlan
udp_tu
2019-11-27 18:21:14,471 DEBG 'start-script' stdout output:
nnel              2355  1 vxlan
fuse                   85227  0
vfat                   10351  0
fat                    53340  1 vfat
crc32c_intel           12849  1
aesni_intel           157811  0
glue_helper             3893  1 aesni_intel
lrw                     3541  1 aesni_intel
gf128mul                5546  1 lrw
ablk_helper             1948  1 aesni_intel
arc4                    2040  0
cryptd                  7882  2 aesni_intel,ablk_helper
ecryptfs               78536  1 btrfs
sha256_generic         11993  0
ecb                     2113  0
aes_x86_64              7503  1 aesni_intel
authenc                 4076  0
des_generic            16861  0
ansi_cprng              3940  0
cts                     4136  0
md5                     2833  0
cbc                     2712  0
cpufreq_powersave       1126  0
cpufreq_performance     1130  2
acpi_cpufreq            6495  0
processor              23262  1 acpi_cpufreq
cpufreq_stats           2742  0
dm_snapshot            28359  0
dm_bufio               14214  1 dm_snapshot
crc_itu_t               1467  1 udf
crc_ccitt               1467  0
quota_v2                4047  0
quota_tree              7850  1 quota_v2
psnap                   1917  0
p8022                   1179  0
llc                     3569  4 stp,p8022,psnap,bridge
sit                    15812  0
tunnel4                 2261  1 sit
ip_tunnel              13200  1 sit
ipv6                  336006  90 sit,ip_vs,nf_defrag_ipv6,nf_conntrack_ipv6
zram                   19042  2
sg                     26393  0
etxhci_hcd             86266  0
xhci_pci                4650  0
xhci_hcd              104955  1 xhci_pci
usbcore               198115  9 etxhci_hcd,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
usb_common              2222  1 usbcore

2019-11-27 18:21:14,483 DEBG 'start-script' stdout output:
iptable_mangle          1656  0
ip_tables              14092  3 iptable_filter,iptable_mangle,iptable_nat
x_tables               16302  21 ip6table_filter,xt_ipvs,xt_iprange,xt_mark,xt_recent,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_geoip,xt_limit,xt_state,xt_conntrack,xt_LOG,xt_mac,xt_nat,xt_multiport,iptable_filter,xt_REDIRECT,iptable_mangle,ip6_tables,xt_addrtype

2019-11-27 18:21:14,484 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables

2019-11-27 18:21:14,705 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2019-11-27 18:21:14,734 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 1194 -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/24 -i eth0 -p tcp -m tcp --dport 58846 -j ACCEPT
-A INPUT -s 192.168.0.0/24 -d 172.17.0.0/16 -i eth0 -p tcp -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 1194 -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/24 -o eth0 -p tcp -m tcp --sport 58846 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 192.168.0.0/24 -o eth0 -p tcp -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

2019-11-27 18:21:14,739 DEBG 'start-script' stdout output:
--------------------

2019-11-27 18:21:14,754 DEBG 'start-script' stdout output:
[debug] OpenVPN command line:- /usr/bin/openvpn --daemon --reneg-sec 0 --mute-replay-warnings --auth-nocache --setenv VPN_PROV 'custom' --setenv DEBUG 'true' --setenv VPN_DEVICE_TYPE 'tun0' --setenv VPN_ENABLED 'yes' --setenv VPN_REMOTE '217.64.148.59' --setenv APPLICATION 'deluge' --script-security 2 --writepid /root/openvpn.pid --remap-usr1 SIGHUP --log-append /dev/stdout --pull-filter ignore 'up' --pull-filter ignore 'down' --pull-filter ignore 'route-ipv6' --pull-filter ignore 'ifconfig-ipv6' --pull-filter ignore 'tun-ipv6' --pull-filter ignore 'persist-tun' --pull-filter ignore 'reneg-sec' --up /root/openvpnup.sh --up-delay --up-restart --keepalive 10 60 --auth-user-pass credentials.conf --cd /config/openvpn --config '/config/openvpn/se.stockholm.ovpn.com.ovpn'
[info] Starting OpenVPN...

2019-11-27 18:21:15,044 DEBG 'start-script' stdout output:
Wed Nov 27 18:21:15 2019 WARNING: file 'credentials.conf' is group or others accessible
Wed Nov 27 18:21:15 2019 OpenVPN 2.4.8 [git:makepkg/3976acda9bf10b5e+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 30 2019
Wed Nov 27 18:21:15 2019 library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10

2019-11-27 18:21:15,046 DEBG 'start-script' stdout output:
[info] OpenVPN started

2019-11-27 18:21:15,047 DEBG 'start-script' stdout output:
Wed Nov 27 18:21:15 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2019-11-27 18:21:15,098 DEBG 'start-script' stdout output:
Wed Nov 27 18:21:15 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication

2019-11-27 18:21:15,098 DEBG 'start-script' stdout output:
Wed Nov 27 18:21:15 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication

2019-11-27 18:21:15,100 DEBG 'start-script' stdout output:
Wed Nov 27 18:21:15 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]217.64.148.59:1194

2019-11-27 18:21:15,101 DEBG 'start-script' stdout output:
Wed Nov 27 18:21:15 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]

2019-11-27 18:21:15,101 DEBG 'start-script' stdout output:
Wed Nov 27 18:21:15 2019 UDP link local: (not bound)

2019-11-27 18:21:15,102 DEBG 'start-script' stdout output:
Wed Nov 27 18:21:15 2019 UDP link remote: [AF_INET]217.64.148.59:1194

2019-11-27 18:22:16,151 DEBG 'start-script' stdout output:
Wed Nov 27 18:22:16 2019 [UNDEF] Inactivity timeout (--ping-restart), restarting

2019-11-27 18:22:16,151 DEBG 'start-script' stdout output:
Wed Nov 27 18:22:16 2019 SIGHUP[soft,ping-restart] received, process restarting

2019-11-27 18:22:16,152 DEBG 'start-script' stdout output:
Wed Nov 27 18:22:16 2019 WARNING: file 'credentials.conf' is group or others accessible
Wed Nov 27 18:22:16 2019 OpenVPN 2.4.8 [git:makepkg/3976acda9bf10b5e+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 30 2019
Wed Nov 27 18:22:16 2019 library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10
Wed Nov 27 18:22:16 2019 Restart pause, 5 second(s)

2019-11-27 18:22:21,153 DEBG 'start-script' stdout output:
Wed Nov 27 18:22:21 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2019-11-27 18:22:21,176 DEBG 'start-script' stdout output:
Wed Nov 27 18:22:21 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Nov 27 18:22:21 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Nov 27 18:22:21 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]217.64.148.59:1194
Wed Nov 27 18:22:21 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
Wed Nov 27 18:22:21 2019 UDP link local: (not bound)
Wed Nov 27 18:22:21 2019 UDP link remote: [AF_INET]217.64.148.59:1194

2019-11-27 18:23:21,796 DEBG 'start-script' stdout output:
Wed Nov 27 18:23:21 2019 [UNDEF] Inactivity timeout (--ping-restart), restarting

2019-11-27 18:23:21,833 DEBG 'start-script' stdout output:
Wed Nov 27 18:23:21 2019 SIGHUP[soft,ping-restart] received, process restarting
Wed Nov 27 18:23:21 2019 WARNING: file 'credentials.conf' is group or others accessible
Wed Nov 27 18:23:21 2019 OpenVPN 2.4.8 [git:makepkg/3976acda9bf10b5e+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 30 2019
Wed Nov 27 18:23:21 2019 library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10
Wed Nov 27 18:23:21 2019 Restart pause, 5 second(s)

2019-11-27 18:23:26,824 DEBG 'start-script' stdout output:
Wed Nov 27 18:23:26 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Wed Nov 27 18:23:26 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Nov 27 18:23:26 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Nov 27 18:23:26 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]217.64.148.59:1194
Wed Nov 27 18:23:26 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
Wed Nov 27 18:23:26 2019 UDP link local: (not bound)
Wed Nov 27 18:23:26 2019 UDP link remote: [AF_INET]217.64.148.59:1194

2019-11-27 18:24:26,117 DEBG 'start-script' stdout output:
Wed Nov 27 18:24:26 2019 [UNDEF] Inactivity timeout (--ping-restart), restarting

2019-11-27 18:24:26,119 DEBG 'start-script' stdout output:
Wed Nov 27 18:24:26 2019 SIGHUP[soft,ping-restart] received, process restarting
Wed Nov 27 18:24:26 2019 WARNING: file 'credentials.conf' is group or others accessible
Wed Nov 27 18:24:26 2019 OpenVPN 2.4.8 [git:makepkg/3976acda9bf10b5e+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 30 2019
Wed Nov 27 18:24:26 2019 library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10
Wed Nov 27 18:24:26 2019 Restart pause, 5 second(s)

2019-11-27 18:24:31,118 DEBG 'start-script' stdout output:
Wed Nov 27 18:24:31 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2019-11-27 18:24:31,119 DEBG 'start-script' stdout output:
Wed Nov 27 18:24:31 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Nov 27 18:24:31 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Nov 27 18:24:31 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]217.64.148.59:1194
Wed Nov 27 18:24:31 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
Wed Nov 27 18:24:31 2019 UDP link local: (not bound)
Wed Nov 27 18:24:31 2019 UDP link remote: [AF_INET]217.64.148.59:1194

 

Link to comment
17 minutes ago, important said:

2019-11-27 18:21:15,102 DEBG 'start-script' stdout output: Wed Nov 27 18:21:15 2019 UDP link remote: [AF_INET]217.64.148.59:1194 2019-11-27 18:22:16,151 DEBG 'start-script' stdout output: Wed Nov 27 18:22:16 2019 [UNDEF] Inactivity timeout (--ping-restart), restarting

looks like issues connecting to that particular vpn server, try another one, got plenty to choose from, that hostname resolves to a lot of ip addresses:-

Name:	pool-1.prd.se.sthlm.ovpn.com
Address: 217.64.148.47
Name:	pool-1.prd.se.sthlm.ovpn.com
Address: 217.64.148.71
Name:	pool-1.prd.se.sthlm.ovpn.com
Address: 217.64.148.56
Name:	pool-1.prd.se.sthlm.ovpn.com
Address: 217.64.148.49
Name:	pool-1.prd.se.sthlm.ovpn.com
Address: 217.64.148.54
Name:	pool-1.prd.se.sthlm.ovpn.com
Address: 217.64.148.48
Name:	pool-1.prd.se.sthlm.ovpn.com
Address: 217.64.148.51
Name:	pool-1.prd.se.sthlm.ovpn.com
Address: 217.64.148.50
Name:	pool-1.prd.se.sthlm.ovpn.com
Address: 217.64.148.59
Name:	pool-1.prd.se.sthlm.ovpn.com
Address: 217.64.148.57
Name:	pool-1.prd.se.sthlm.ovpn.com
Address: 217.64.148.46
Name:	pool-1.prd.se.sthlm.ovpn.com
Address: 217.64.148.52
Name:	pool-1.prd.se.sthlm.ovpn.com
Address: 217.64.148.58
Name:	pool-1.prd.se.sthlm.ovpn.com
Address: 217.64.148.60
Name:	pool-1.prd.se.sthlm.ovpn.com
Address: 217.64.148.72
Name:	pool-1.prd.se.sthlm.ovpn.com
Address: 217.64.148.53
Name:	pool-1.prd.se.sthlm.ovpn.com
Address: 217.64.148.55
Name:	pool-1.prd.se.sthlm.ovpn.com
Address: 217.64.148.73

 

Link to comment
14 minutes ago, binhex said:

looks like issues connecting to that particular vpn server, try another one, got plenty to choose from, that hostname resolves to a lot of ip addresses:-

 

I've tried like 6 of them now and same results. This last one xx.60 is the one I am connected to at the moment on my own computer and it works fine there.

 

2019-11-27 18:58:11.822665 [info] System information Linux DelugeVPN 4.4.59+ #24922 SMP PREEMPT Mon Aug 19 12:13:37 CST 2019 x86_64 GNU/Linux
2019-11-27 18:58:11.890497 [info] PUID defined as '0'
2019-11-27 18:58:11.953214 [info] PGID defined as '0'
2019-11-27 18:58:12.115461 [info] UMASK defined as '100'
2019-11-27 18:58:12.177349 [info] Permissions already set for volume mappings
2019-11-27 18:58:12.247150 [info] DELUGE_DAEMON_LOG_LEVEL not defined,(via -e DELUGE_DAEMON_LOG_LEVEL), defaulting to 'info'
2019-11-27 18:58:12.308337 [info] DELUGE_WEB_LOG_LEVEL not defined,(via -e DELUGE_WEB_LOG_LEVEL), defaulting to 'info'
2019-11-27 18:58:12.370920 [info] VPN_ENABLED defined as 'yes'
2019-11-27 18:58:12.440428 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/se.stockholm.ovpn.com.ovpn
2019-11-27 18:58:12.544103 [info] VPN remote line defined as 'remote 217.64.148.60 1194'
2019-11-27 18:58:12.605992 [info] VPN_REMOTE defined as '217.64.148.60'
2019-11-27 18:58:12.677256 [info] VPN_PORT defined as '1194'
2019-11-27 18:58:12.744387 [info] VPN_PROTOCOL defined as 'udp'
2019-11-27 18:58:12.808549 [info] VPN_DEVICE_TYPE defined as 'tun0'
2019-11-27 18:58:12.870370 [info] VPN_PROV defined as 'custom'
2019-11-27 18:58:12.931991 [info] LAN_NETWORK defined as '192.168.0.0/24'
2019-11-27 18:58:12.996262 [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'
2019-11-27 18:58:13.062377 [info] VPN_USER defined as 'secret'
2019-11-27 18:58:13.132987 [info] VPN_PASS defined as 'secret'
2019-11-27 18:58:13.198694 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2019-11-27 18:58:13.261557 [info] ENABLE_PRIVOXY defined as 'yes'
2019-11-27 18:58:13.395210 [info] Starting Supervisor...
2019-11-27 18:58:13,912 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2019-11-27 18:58:13,913 INFO Set uid to user 0 succeeded
2019-11-27 18:58:13,920 INFO supervisord started with pid 6
2019-11-27 18:58:14,923 INFO spawned: 'start-script' with pid 150
2019-11-27 18:58:14,926 INFO spawned: 'watchdog-script' with pid 151
2019-11-27 18:58:14,927 INFO reaped unknown pid 7
2019-11-27 18:58:14,940 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN
[debug] Environment variables defined as follows
APPLICATION=deluge
BASH=/bin/bash
BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges: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]="5" [1]="0" [2]="11" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu")
BASH_VERSION='5.0.11(1)-release'
DEBUG=true
DELUGE_DAEMON_LOG_LEVEL=info
DELUGE_WEB_LOG_LEVEL=info
DIRSTACK=()
ENABLE_PRIVOXY=yes
EUID=0
GROUPS=()
HOME=/home/nobody
HOSTNAME=DelugeVPN
HOSTTYPE=x86_64
IFS=$' \t\n'
LANG=en_GB.UTF-8
LAN_NETWORK=192.168.0.0/24
MACHTYPE=x86_64-pc-linux-gnu
NAME_SERVERS=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
OPENVPN_OPTS='–inactive 3600 –ping 10 –ping-exit 60'
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGID=0
PIPESTATUS=([0]="0")
PPID=6
PS4='+ '
PUID=0
PWD=/
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments
SHLVL=1
STRICT_PORT_FORWARD=yes
SUPERVISOR_ENABLED=1
SUPERVISOR_GROUP_NAME=start-script
SUPERVISOR_PROCESS_NAME=start-script
TERM=xterm
TZ=Europe/Stockholm
UID=0
UMASK=100
VPN_CONFIG=/config/openvpn/se.stockholm.ovpn.com.ovpn

2019-11-27 18:58:14,942 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-11-27 18:58:14,943 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-11-27 18:58:14,943 DEBG 'start-script' stdout output:
VPN_DEVICE_TYPE=tun0
VPN_ENABLED=yes
VPN_OPTIONS=
VPN_PASS=secret
VPN_PORT=1194
VPN_PROTOCOL=udp
VPN_PROV=custom
VPN_REMOTE=217.64.148.60
VPN_USER=secret
_='[debug] Environment variables defined as follows'
[debug] Directory listing of files in /config/openvpn as follows

2019-11-27 18:58:14,947 DEBG 'start-script' stdout output:
total 8
drwxrwxr-x 1 root root   84 Nov 27 18:58 .
drwxrwxr-x 1 1026  100  118 Nov 27 17:44 ..
-rwxrwxr-x 1 root root   30 Nov 27 18:51 credentials.conf
-rwxrwxr-x 1 root root 2539 Nov 27 18:58 se.stockholm.ovpn.com.ovpn

2019-11-27 18:58:15,096 DEBG 'start-script' stdout output:
[debug] Contents of ovpn file /config/openvpn/se.stockholm.ovpn.com.ovpn as follows...

2019-11-27 18:58:15,097 DEBG 'start-script' stdout output:
remote 217.64.148.60 1194
client
dev tun
remote-cert-tls server
cipher aes-256-cbc
pull
nobind
resolv-retry infinite
verb 3
persist-key
remote-random
proto udp
mute-replay-warnings
replay-window 256

auth-user-pass credentials.conf

comp-lzo

key-direction 1
<ca>
-----BEGIN CERTIFICATE-----
MIIEfTCCA2WgAwIBAgIJAK2aIWqpLj1/MA0GCSqGSIb3DQEBBQUAMIGFMQswCQYD
VQQGEwJTRTESMBAGA1UECBMJU3RvY2tob2xtMRIwEAYDVQQHEwlTdG9ja2hvbG0x
HDAaBgNVBAsTE0Zpcm1hIERhdmlkIFdpYmVyZ2gxEzARBgNVBAMTCm92cG4uc2Ug
Y2ExGzAZBgkqhkiG9w0BCQEWDGluZm9Ab3Zwbi5zZTAeFw0xNDA4MTcxODIxMjla
Fw0zNDA4MTIxODIxMjlaMIGFMQswCQYDVQQGEwJTRTESMBAGA1UECBMJU3RvY2to
b2xtMRIwEAYDVQQHEwlTdG9ja2hvbG0xHDAaBgNVBAsTE0Zpcm1hIERhdmlkIFdp
YmVyZ2gxEzARBgNVBAMTCm92cG4uc2UgY2ExGzAZBgkqhkiG9w0BCQEWDGluZm9A
b3Zwbi5zZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMR+aP4GTuZw
urZuOA2NYzMfqKyZi/TJcLEPlGTB/b4CWA9bTd8f0pHPrDAZsXIEayxxB58BIFND
NiybnbO15JN/QwlsqmA+aZX6mCSkScs/rRwasM6LDo8iGx+KmYEqAgzziONGbCMn
lO+OaarXte7LhZ9X6Z/bryu4xq/i1v3raak13kXsrogtu4iDzxqJE/QhbNOi0yhC
dlm5RYQjmlKGdPB9pNTgcakVI4HcngRYMzBlrGin0YkvWCdpx5FrDNeld7BSWrJM
NYyvd+buaid0Fu1T9/P/Srj/8AiabKoaDyiGFbZdTnGfK+04lWRvwAmvazpqbUt5
Omw634jJDuMCAwEAAaOB7TCB6jAdBgNVHQ4EFgQUEvJcHHcTiDtu7bAyZw+xaqg+
xdIwgboGA1UdIwSBsjCBr4AUEvJcHHcTiDtu7bAyZw+xaqg+xdKhgYukgYgwgYUx
CzAJBgNVBAYTAlNFMRIwEAYDVQQIEwlTdG9ja2hvbG0xEjAQBgNVBAcTCVN0b2Nr
aG9sbTEcMBoGA1UECxMTRmlybWEgRGF2aWQgV2liZXJnaDETMBEGA1UEAxMKb3Zw
bi5zZSBjYTEbMBkGCSqGSIb3DQEJARYMaW5mb0BvdnBuLnNlggkArZohaqkuPX8w
DAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAJmID6OyBJbV7ayPPgquo
jF+FICuDdOfGVKP828cyISxcbVA04VpD0QLYVb0k9pFUx0NbgX2SvRTiFhP7LcyS
1HV9s+XLCb2WItPPsrdRTwtqU2n3TlCEzWA3WOcOCtT6JSkv1eelmx1JnP0gYJrD
vDvRYBFctwWhtE0bineSQkZwN6980zkknADLAiHpeZSu/AMx7CGTwA6SmoFvpNBm
HXDcfe/9ZqbbYfUfyPNe+0JbMrcv1elKi+6wlEkHFaEBphiZwGEbOX1CjUMcQFgW
/cIp3n50Eiyx6ktuqimhyb59P4Nw8gqH452tTtE4MM/brA5y0Q0WFBRBojfZIbGW
WQ==
-----END CERTIFICATE-----
</ca>

<tls-auth>
-----BEGIN OpenVPN Static key V1-----
81782767e4d59c4464cc5d1896f1cf60
15017d53ac62e2e3b94b889e00b2c69d
dc01944fe1c6d895b4d80540502eb719
10b8d785c9efa9e3182343532adffe1c
fbb7bb6eae39c502da2748edf0fb89b8
a20b0a1085cc1f06135037881bc0c4ad
8f2c0f4f72d2ab466fb54af3d8264c5f
ddeb0f21aa0ca41863678f5fc4c44de4
ca0926b36dfddc42c6f2fabd1694bdc8
215b2d223b9c21dc6734c2c778093187
afb8c33403b228b9af68b540c284f6d1
83bcc88bd41d47bd717996e499ce1cbb
fa768a9723c19c58314c4d19cfed82e5
43ee92e73d38ad26d4fbec231c0f9f3b
30773a5c87792e9bc7c34e8d7611002e
bedd044e48a0f1f96527bfdcc940aa09
-----END OpenVPN Static key V1-----
</tls-auth>

2019-11-27 18:58:15,117 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2019-11-27 18:58:15,124 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.222 to /etc/resolv.conf

2019-11-27 18:58:15,130 DEBG 'start-script' stdout output:
[info] Adding 84.200.69.80 to /etc/resolv.conf

2019-11-27 18:58:15,136 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf

2019-11-27 18:58:15,142 DEBG 'start-script' stdout output:
[info] Adding 1.1.1.1 to /etc/resolv.conf

2019-11-27 18:58:15,148 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.218 to /etc/resolv.conf

2019-11-27 18:58:15,155 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf

2019-11-27 18:58:15,165 DEBG 'start-script' stdout output:
[info] Adding 84.200.70.40 to /etc/resolv.conf

2019-11-27 18:58:15,172 DEBG 'start-script' stdout output:
[info] Adding 1.0.0.1 to /etc/resolv.conf

2019-11-27 18:58:15,178 DEBG 'start-script' stdout output:
217.64.148.60

2019-11-27 18:58:15,212 DEBG 'start-script' stdout output:
[debug] Show name servers defined for container

2019-11-27 18:58:15,214 DEBG 'start-script' stdout output:
nameserver 209.222.18.222
nameserver 84.200.69.80
nameserver 37.235.1.174
nameserver 1.1.1.1
nameserver 209.222.18.218
nameserver 37.235.1.177
nameserver 84.200.70.40
nameserver 1.0.0.1

2019-11-27 18:58:15,215 DEBG 'start-script' stdout output:
[debug] Show name resolution for VPN endpoint 217.64.148.60

2019-11-27 19:00:15,321 DEBG 'start-script' stderr output:
Error: error sending query: Could not send or receive, because of network error

2019-11-27 19:00:15,323 DEBG 'start-script' stdout output:
[debug] Show contents of hosts file

2019-11-27 19:00:15,324 DEBG 'start-script' stdout output:
127.0.0.1	localhost
::1	localhost ip6-localhost ip6-loopback
fe00::0	ip6-localnet
ff00::0	ip6-mcastprefix
ff02::1	ip6-allnodes
ff02::2	ip6-allrouters
172.17.0.2	DelugeVPN

2019-11-27 19:00:15,394 DEBG 'start-script' stdout output:
[debug] Docker interface defined as eth0

2019-11-27 19:00:15,409 DEBG 'start-script' stdout output:
[debug] Docker IP defined as 172.17.0.2

2019-11-27 19:00:15,415 DEBG 'start-script' stdout output:
[debug] Docker netmask defined as 255.255.0.0

2019-11-27 19:00:15,448 DEBG 'start-script' stdout output:
[info] Docker network defined as    172.17.0.0/16

2019-11-27 19:00:15,454 DEBG 'start-script' stdout output:
[info] Adding 192.168.0.0/24 as route via docker eth0

2019-11-27 19:00:15,462 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2019-11-27 19:00:15,464 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 

2019-11-27 19:00:15,464 DEBG 'start-script' stdout output:
--------------------

2019-11-27 19:00:15,465 DEBG 'start-script' stdout output:
[debug] Modules currently loaded for kernel

2019-11-27 19:00:15,481 DEBG 'start-script' stdout output:
Module                  Size  Used by
xt_ipvs                 2202  0
ip_vs_rr                1447  0
ip_vs                 127371  3 ip_vs_rr,xt_ipvs
xt_mark                 1317  0
br_netfilter           13589  0
bridge                 55340  1 br_netfilter
stp                     1693  1 bridge
aufs                  194415  0
macvlan                13776  0
veth                    5094  0
xt_conntrack            3401  4
xt_addrtype             2893  1
ipt_MASQUERADE          1213  6
xt_REDIRECT             1486  0
nf_nat_masquerade_ipv4     1929  1 ipt_MASQUERADE
xt_nat                  1977  5
iptable_nat             1959  1
nf_nat_ipv4             4903  1 iptable_nat
nf_nat_redirect         1395  1 xt_REDIRECT
nf_nat                 10925  4 nf_nat_redirect,nf_nat_ipv4,xt_nat,nf_nat_masquerade_ipv4
iptable_mangle          1656  0
tun                    19295  0
cifs                  371998  0
udf                    80226  0
isofs                  31403  0
loop                   19749  0
tcm_loop               12940  1
iscsi_target_mod      235126  1
target_core_ep         46505  2
target_core_multi_file    26446  1
target_core_file       39992  1
target_core_iblock     19769  1
target_core_mod       926774  18 target_core_iblock,target_core_multi_file,iscsi_target_mod,target_core_ep,target_core_file,tcm_loop
syno_extent_pool     1295768  0
rodsp_ep               77187  3 target_core_multi_file,syno_extent_pool,target_core_file
syno_hddmon             1880  0
hid_generic             1321  0
usbhid                 25951  0
hid                    94408  2 hid_generic,usbhid
usblp                  10618  0
usb_storage            49426  0
uhci_hcd               22683  0
ehci_pci                3935  0
ehci_hcd               42414  1 ehci_pci
xt_mac                  1155  0
xt_geoip                3214  4
compat_xtables           955  0
nf_conntrack_ipv6       6563  2
nf_defrag_ipv6         23062  1 nf_conntrack_ipv6
ip6table_filter         1532  1
ip6_tables             14730  1 ip6table_filter
xt_recent               8550  0
xt_iprange              1648  4
xt_limit                1985  5
xt_state                1367  0
xt_tcpudp               2543  23
xt_multiport            1830  16
xt_LOG                  1423  0
nf_conntrack_ipv4      11616  3
nf_defrag_ipv4          1475  1 nf_conntrack_ipv4
nf_conntrack           62480  8 ip_vs,nf_nat,xt_state,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_conntrack_ipv6
iptable_filter          1592  1
ip_tables              14092  3 iptable_filter,iptable_mangle,iptable_nat
x_tables               16302  21 ip6table_filter,xt_ipvs,xt_iprange,xt_mark,xt_recent,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_geoip,xt_limit,xt_state,xt_conntrack,xt_LOG,xt_mac,xt_nat,xt_multiport,iptable_filter,xt_REDIRECT,iptable_mangle,ip6_tables,xt_addrtype
apollolake_synobios    60352  0
leds_lp3943             4500  0
exfat                 117655  0
btrfs                 945774  1
i915                 1150643  0
drm_kms_helper        105637  1 i915
syscopyarea             3262  1 drm_kms_helper
sysfillrect             3754  1 drm_kms_helper
sysimgblt               2239  1 drm_kms_helper
fb_sys_fops             1314  1 drm_kms_helper
cfbfillrect             3818  1 drm_kms_helper
cfbcopyarea             3326  1 drm_kms_helper
cfbimgblt               2303  1 drm_kms_helper
drm                   269120  3 i915,drm_kms_helper
fb                     34811  2 i915,drm_kms_helper
fbdev                    966  1 fb
intel_agp              10712  0
intel_gtt              12326  2 i915,intel_agp
agpgart                25941  3 drm,intel_agp,intel_gtt
video                  25321  1 i915
backlight               6096  2 i915,video
button                  4756  1 i915
synoacl_vfs            15727  1
hfsplus                92438  0
md4                     4337  0
hmac                    2961  0
r8168                 522782  0
igb                   173319  0
i2c_algo_bit            5328  1 i915
e1000e                168269  0
vxlan                  32753  0
ip6_udp_tunnel          1903  1 vxlan
udp_tu
2019-11-27 19:00:15,484 DEBG 'start-script' stdout output:
nnel              2355  1 vxlan
fuse                   85227  0
vfat                   10351  0
fat                    53340  1 vfat
crc32c_intel           12849  1
aesni_intel           157811  0
glue_helper             3893  1 aesni_intel
lrw                     3541  1 aesni_intel
gf128mul                5546  1 lrw
ablk_helper             1948  1 aesni_intel
arc4                    2040  0
cryptd                  7882  2 aesni_intel,ablk_helper
ecryptfs               78536  1 btrfs
sha256_generic         11993  0
ecb                     2113  0
aes_x86_64              7503  1 aesni_intel
authenc                 4076  0
des_generic            16861  0
ansi_cprng              3940  0
cts                     4136  0
md5                     2833  0
cbc                     2712  0
cpufreq_powersave       1126  0
cpufreq_performance     1130  2
acpi_cpufreq            6495  0
processor              23262  1 acpi_cpufreq
cpufreq_stats           2742  0
dm_snapshot            28359  0
dm_bufio               14214  1 dm_snapshot
crc_itu_t               1467  1 udf
crc_ccitt               1467  0
quota_v2                4047  0
quota_tree              7850  1 quota_v2
psnap                   1917  0
p8022                   1179  0
llc                     3569  4 stp,p8022,psnap,bridge
sit                    15812  0
tunnel4                 2261  1 sit
ip_tunnel              13200  1 sit
ipv6                  336006  90 sit,ip_vs,nf_defrag_ipv6,nf_conntrack_ipv6
zram                   19042  2
sg                     26393  0
etxhci_hcd             86266  0
xhci_pci                4650  0
xhci_hcd              104955  1 xhci_pci
usbcore               198115  9 etxhci_hcd,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
usb_common              2222  1 usbcore

2019-11-27 19:00:15,496 DEBG 'start-script' stdout output:
iptable_mangle          1656  0
ip_tables              14092  3 iptable_filter,iptable_mangle,iptable_nat
x_tables               16302  21 ip6table_filter,xt_ipvs,xt_iprange,xt_mark,xt_recent,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_geoip,xt_limit,xt_state,xt_conntrack,xt_LOG,xt_mac,xt_nat,xt_multiport,iptable_filter,xt_REDIRECT,iptable_mangle,ip6_tables,xt_addrtype

2019-11-27 19:00:15,497 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables

2019-11-27 19:00:15,616 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------
-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 1194 -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/24 -i eth0 -p tcp -m tcp --dport 58846 -j ACCEPT
-A INPUT -s 192.168.0.0/24 -d 172.17.0.0/16 -i eth0 -p tcp -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 1194 -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/24 -o eth0 -p tcp -m tcp --sport 58846 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 192.168.0.0/24 -o eth0 -p tcp -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

2019-11-27 19:00:15,622 DEBG 'start-script' stdout output:
--------------------

2019-11-27 19:00:15,634 DEBG 'start-script' stdout output:
[debug] OpenVPN command line:- /usr/bin/openvpn --daemon --reneg-sec 0 --mute-replay-warnings --auth-nocache --setenv VPN_PROV 'custom' --setenv DEBUG 'true' --setenv VPN_DEVICE_TYPE 'tun0' --setenv VPN_ENABLED 'yes' --setenv VPN_REMOTE '217.64.148.60' --setenv APPLICATION 'deluge' --script-security 2 --writepid /root/openvpn.pid --remap-usr1 SIGHUP --log-append /dev/stdout --pull-filter ignore 'up' --pull-filter ignore 'down' --pull-filter ignore 'route-ipv6' --pull-filter ignore 'ifconfig-ipv6' --pull-filter ignore 'tun-ipv6' --pull-filter ignore 'persist-tun' --pull-filter ignore 'reneg-sec' --up /root/openvpnup.sh --up-delay --up-restart --keepalive 10 60 --auth-user-pass credentials.conf --cd /config/openvpn --config '/config/openvpn/se.stockholm.ovpn.com.ovpn'
[info] Starting OpenVPN...

2019-11-27 19:00:15,735 DEBG 'start-script' stdout output:
Wed Nov 27 19:00:15 2019 WARNING: file 'credentials.conf' is group or others accessible
Wed Nov 27 19:00:15 2019 OpenVPN 2.4.8 [git:makepkg/3976acda9bf10b5e+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 30 2019
Wed Nov 27 19:00:15 2019 library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10

2019-11-27 19:00:15,736 DEBG 'start-script' stdout output:
Wed Nov 27 19:00:15 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2019-11-27 19:00:15,737 DEBG 'start-script' stdout output:
[info] OpenVPN started

2019-11-27 19:00:15,740 DEBG 'start-script' stdout output:
Wed Nov 27 19:00:15 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication

2019-11-27 19:00:15,740 DEBG 'start-script' stdout output:
Wed Nov 27 19:00:15 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication

2019-11-27 19:00:15,741 DEBG 'start-script' stdout output:
Wed Nov 27 19:00:15 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]217.64.148.60:1194

2019-11-27 19:00:15,742 DEBG 'start-script' stdout output:
Wed Nov 27 19:00:15 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]

2019-11-27 19:00:15,743 DEBG 'start-script' stdout output:
Wed Nov 27 19:00:15 2019 UDP link local: (not bound)

2019-11-27 19:00:15,743 DEBG 'start-script' stdout output:
Wed Nov 27 19:00:15 2019 UDP link remote: [AF_INET]217.64.148.60:1194

2019-11-27 19:01:15,430 DEBG 'start-script' stdout output:
Wed Nov 27 19:01:15 2019 [UNDEF] Inactivity timeout (--ping-restart), restarting
Wed Nov 27 19:01:15 2019 SIGHUP[soft,ping-restart] received, process restarting
Wed Nov 27 19:01:15 2019 WARNING: file 'credentials.conf' is group or others accessible
Wed Nov 27 19:01:15 2019 OpenVPN 2.4.8 [git:makepkg/3976acda9bf10b5e+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 30 2019
Wed Nov 27 19:01:15 2019 library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10
Wed Nov 27 19:01:15 2019 Restart pause, 5 second(s)

2019-11-27 19:01:20,430 DEBG 'start-script' stdout output:
Wed Nov 27 19:01:20 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2019-11-27 19:01:20,432 DEBG 'start-script' stdout output:
Wed Nov 27 19:01:20 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Nov 27 19:01:20 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Nov 27 19:01:20 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]217.64.148.60:1194
Wed Nov 27 19:01:20 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
Wed Nov 27 19:01:20 2019 UDP link local: (not bound)
Wed Nov 27 19:01:20 2019 UDP link remote: [AF_INET]217.64.148.60:1194

2019-11-27 19:02:20,266 DEBG 'start-script' stdout output:
Wed Nov 27 19:02:20 2019 [UNDEF] Inactivity timeout (--ping-restart), restarting
Wed Nov 27 19:02:20 2019 SIGHUP[soft,ping-restart] received, process restarting
Wed Nov 27 19:02:20 2019 WARNING: file 'credentials.conf' is group or others accessible
Wed Nov 27 19:02:20 2019 OpenVPN 2.4.8 [git:makepkg/3976acda9bf10b5e+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 30 2019
Wed Nov 27 19:02:20 2019 library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10
Wed Nov 27 19:02:20 2019 Restart pause, 5 second(s)

2019-11-27 19:02:25,266 DEBG 'start-script' stdout output:
Wed Nov 27 19:02:25 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2019-11-27 19:02:25,267 DEBG 'start-script' stdout output:
Wed Nov 27 19:02:25 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Nov 27 19:02:25 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication

2019-11-27 19:02:25,268 DEBG 'start-script' stdout output:
Wed Nov 27 19:02:25 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]217.64.148.60:1194
Wed Nov 27 19:02:25 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
Wed Nov 27 19:02:25 2019 UDP link local: (not bound)
Wed Nov 27 19:02:25 2019 UDP link remote: [AF_INET]217.64.148.60:1194

2019-11-27 19:03:25,506 DEBG 'start-script' stdout output:
Wed Nov 27 19:03:25 2019 [UNDEF] Inactivity timeout (--ping-restart), restarting
Wed Nov 27 19:03:25 2019 SIGHUP[soft,ping-restart] received, process restarting
Wed Nov 27 19:03:25 2019 WARNING: file 'credentials.conf' is group or others accessible
Wed Nov 27 19:03:25 2019 OpenVPN 2.4.8 [git:makepkg/3976acda9bf10b5e+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 30 2019
Wed Nov 27 19:03:25 2019 library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10
Wed Nov 27 19:03:25 2019 Restart pause, 5 second(s)

2019-11-27 19:03:30,507 DEBG 'start-script' stdout output:
Wed Nov 27 19:03:30 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2019-11-27 19:03:30,508 DEBG 'start-script' stdout output:
Wed Nov 27 19:03:30 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Nov 27 19:03:30 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication

2019-11-27 19:03:30,510 DEBG 'start-script' stdout output:
Wed Nov 27 19:03:30 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]217.64.148.60:1194
Wed Nov 27 19:03:30 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
Wed Nov 27 19:03:30 2019 UDP link local: (not bound)
Wed Nov 27 19:03:30 2019 UDP link remote: [AF_INET]217.64.148.60:1194

2019-11-27 19:04:31,011 DEBG 'start-script' stdout output:
Wed Nov 27 19:04:31 2019 [UNDEF] Inactivity timeout (--ping-restart), restarting
Wed Nov 27 19:04:31 2019 SIGHUP[soft,ping-restart] received, process restarting
Wed Nov 27 19:04:31 2019 WARNING: file 'credentials.conf' is group or others accessible
Wed Nov 27 19:04:31 2019 OpenVPN 2.4.8 [git:makepkg/3976acda9bf10b5e+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 30 2019
Wed Nov 27 19:04:31 2019 library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10
Wed Nov 27 19:04:31 2019 Restart pause, 5 second(s)

2019-11-27 19:04:36,012 DEBG 'start-script' stdout output:
Wed Nov 27 19:04:36 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2019-11-27 19:04:36,013 DEBG 'start-script' stdout output:
Wed Nov 27 19:04:36 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Nov 27 19:04:36 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Nov 27 19:04:36 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]217.64.148.60:1194
Wed Nov 27 19:04:36 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]

2019-11-27 19:04:36,030 DEBG 'start-script' stdout output:
Wed Nov 27 19:04:36 2019 UDP link local: (not bound)
Wed Nov 27 19:04:36 2019 UDP link remote: [AF_INET]217.64.148.60:1194

 

Link to comment
2 hours ago, jvorn said:

Any thoughts on my issue?

Maybe @binhex can weigh-in.

But I wanted to clarify:

  1. You are using the latest version of this container. Which is 2.0.3_23_g5f1eada3e-1-01 (shows as 2.0.4.dev20)?
  2. Your tracker does not have this version whitelisted?
  3. Your tracker was still somehow allowing you to connect, even though you were using an unsupported download client?
  4. Now you can no longer connect with this unsupported download client?

 

If that is the case, I would think the issue is your tracker patched the bug that was allowing unsupported clients to connect. I would suggest reaching out to your tracker to request whitelisting. If I mis-interpreted your issue. Could you clarify for us?

Link to comment
1 minute ago, Bob1215 said:

Maybe @binhex can weigh-in.

But I wanted to clarify:

  1. You are using the latest version of this container. Which is 2.0.3_23_g5f1eada3e-1-01 (shows as 2.0.4.dev20)?
    • Yes, 2.0.4.dev20
  2. Your tracker does not have this version whitelisted?
    • No, the whitelisted versions are:
      • Deluge 1.3.1

      • Deluge 1.3.5

      • Deluge 1.3.6

      • Deluge 1.3.11

  3. Your tracker was still somehow allowing you to connect, even though you were using an unsupported download client?
    • Yes, in fact, @binhex's containers have never been supported, as his very first version was 1.3.12-01, already out of range
    • Despite this, I have been using these containers with no issue for about a year.  It didn't stop working until about 2 weeks ago.  My tracker's whitelist isn't a "only the listed ones are supported" FYI, its more of a "we have certified these versions to work, others may not".
  4. Now you can no longer connect with this unsupported download client?
    • Correct, as of 2 weeks ago it stopped working after about a year of no issues whatsoever.

 

If that is the case, I would think the issue is your tracker patched the bug that was allowing unsupported clients to connect. I would suggest reaching out to your tracker to request whitelisting. If I mis-interpreted your issue. Could you clarify for us?

Responses in blue, thanks for helping! Let me know if you need any logs or info.

Link to comment
9 minutes ago, jvorn said:

Responses in blue, thanks for helping! Let me know if you need any logs or info.

Try following the guide I posted here, and report back if it works again.

Because you mentioned that you don't have issues using this container with public trackers, this is more of a specific tracker issue, than a container issue. I would seriously consider reaching out to your tracker.

Link to comment
7 minutes ago, Bob1215 said:

Try following the guide I posted here, and report back if it works again.

Because you mentioned that you don't have issues using this container with public trackers, this is more of a specific tracker issue, than a container issue. I would seriously consider reaching out to your tracker.

Rolled back to suggested version, but now I'm getting this error repeated tons of times:

 

Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 92, in acquire
    
  File "/usr/lib/python3.8/site-packages/twisted/internet/defer.py", line 962, in __del__
    log.failure(format,
  File "/usr/lib/python3.8/site-packages/twisted/logger/_logger.py", line 190, in failure
    self.emit(level, format, log_failure=failure, **kwargs)
  File "/usr/lib/python3.8/site-packages/twisted/logger/_logger.py", line 144, in emit
    self.observer(event)
--- <exception caught here> ---
  File "/usr/lib/python3.8/site-packages/twisted/logger/_observer.py", line 131, in __call__
    observer(event)
  File "/usr/lib/python3.8/site-packages/twisted/logger/_legacy.py", line 93, in __call__
    self.legacyObserver(event)
  File "/usr/lib/python3.8/site-packages/deluge/log.py", line 204, in emit
    getattr(LoggingLoggerClass, event_dict['log_level'].name)(
  File "/usr/lib/python3.8/logging/__init__.py", line 1481, in critical
    self._log(CRITICAL, msg, args, **kwargs)
  File "/usr/lib/python3.8/logging/__init__.py", line 1565, in _log
    fn, lno, func, sinfo = self.findCaller(stack_info, stacklevel)
builtins.TypeError: findCaller() takes from 1 to 2 positional arguments but 3 were given

 

Link to comment
6 hours ago, binhex said:

looks like issues connecting to that particular vpn server, try another one, got plenty to choose from, that hostname resolves to a lot of ip addresses:-

 

I've been trying loads of stuff now with my router and randomly it actually started. I got into deluge webui and did a test to see if it was using VPN and it was. Even managed to DL a file (couldn't find it afterwards strangely but that's another issues). I then tried to change NAME_SERVERS to google and add my VPN address to 'remote' in .ovpn file to check if that worked. After this it stopped working again so I changed back to the EXACT same settings I had when it worked - and it no longer works... This is so really frustrating. I don't know if the log for when it worked is helpful but here it is anyway:

 

EDIT: I believe I have found the problem so log removed! Disabling synologys own firewall and everything boots up fine! Even changing back to "remote pool-1.prd.se.sthlm.ovpn.com 1194". I can't believe I didn't even think about that firewall and how it could cause issues. Now I just need to figure out why the DL are not showing up and how to set up the synology firewall to allow for the container to run.

Thanks so much for your time and for making this container! Cheers

Edited by important
Link to comment
9 hours ago, PeterB said:

This problem has affected every release since 2.0.3-1-08.  I suggest that you roll back to that version.

this is actually not true, the specific error below is now fixed in the latest release, however i did see a traceback for another python module during startup.

 

this is all due to the fact that python 3.8 is now the latest stable release of python, sadly there is some catchup required with the developers to make their python modules 3.8 compatible, this also means certain deluge plugins (which are of course also written in python) are also not compatible with python 3.8 and thus may not work with the latest image.

 

10 hours ago, jvorn said:

Traceback (most recent call last): File "<frozen importlib._bootstrap>", line 92, in acquire File "/usr/lib/python3.8/site-packages/twisted/internet/defer.py", line 962, in __del__ log.failure(format, File "/usr/lib/python3.8/site-packages/twisted/logger/_logger.py", line 190, in failure self.emit(level, format, log_failure=failure, **kwargs) File "/usr/lib/python3.8/site-packages/twisted/logger/_logger.py", line 144, in emit self.observer(event) --- <exception caught here> --- File "/usr/lib/python3.8/site-packages/twisted/logger/_observer.py", line 131, in __call__ observer(event) File "/usr/lib/python3.8/site-packages/twisted/logger/_legacy.py", line 93, in __call__ self.legacyObserver(event) File "/usr/lib/python3.8/site-packages/deluge/log.py", line 204, in emit getattr(LoggingLoggerClass, event_dict['log_level'].name)( File "/usr/lib/python3.8/logging/__init__.py", line 1481, in critical self._log(CRITICAL, msg, args, **kwargs) File "/usr/lib/python3.8/logging/__init__.py", line 1565, in _log fn, lno, func, sinfo = self.findCaller(stack_info, stacklevel) builtins.TypeError: findCaller() takes from 1 to 2 positional arguments but 3 were given

 

Link to comment

Hi all,

 

I see that this question has been asked in a similar context - I simply cannot install copy completed plugin onto the bihex-delugevpn docker. I simply get [object filelist] in the text box and then nothing happens. If I drop it direct into the plugins folder nothing happens. I have tried all the versions 2.6, 2.7 and 3.7 - none of them work. 

 

Alternatively can someone help me write something in execute to just make a duplicate copy of the downloaded file and pop it into another folder. 

 

Cheers!

Link to comment
13 hours ago, binhex said:

this is all due to the fact that python 3.8 is now the latest stable release of python, sadly there is some catchup required with the developers to make their python modules 3.8 compatible, this also means certain deluge plugins (which are of course also written in python) are also not compatible with python 3.8 and thus may not work with the latest image.

 

Would it be unreasonable to force the docker to build with Python 3.7, for the time-being?  Progress on deluge v2.04 appears to be slow, so I would suspect that we are stuck with v2.03 for a little while.

Link to comment
8 hours ago, PeterB said:

Would it be unreasonable to force the docker to build with Python 3.7, for the time-being?  Progress on deluge v2.04 appears to be slow, so I would suspect that we are stuck with v2.03 for a little while.

Unreasonable? No, difficult? Yes, reason being arch is a rolling release so going back to s previous version of a package is going to require some effort, let me take a look.

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.