guillaumedsde / docker-qbittorrent-openvpn

Docker container running qBittorrent torrent client with WebUI over an OpenVPN tunnel
https://hub.docker.com/r/guillaumedsde/qbittorrent-openvpn
GNU General Public License v3.0
17 stars 1 forks source link

Fastest vpn connect is getting disconnected #2

Open gauswamimilan opened 4 years ago

gauswamimilan commented 4 years ago

Hi vpn is getting disconnected after some time in my case less than 12 hours. I am using fastest VPN and docker containert hosted on a VPS.

after creating a container and leaving for the night i get disconnected from openvpn and get following logs,

Fri Apr 10 05:19:46 2020 Could not determine IPv4/IPv6 protocol,ri Apr 10 06:53:28 2020 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.,
Fri Apr 10 06:53:28 2020 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts,
Fri Apr 10 06:54:08 2020 RESOLVE: Cannot resolve host address: fr-rb-ovudp-01.jumptoserver.com:4443 (Temporary failure in name resolution),
Fri Apr 10 06:54:48 2020 RESOLVE: Cannot resolve host address: fr-rb-ovudp-01.jumptoserver.com:4443 (Temporary failure in name resolution),
Fri Apr 10 06:54:48 2020 Could not determine IPv4/IPv6 protocol,
Fri Apr 10 06:54:48 2020 SIGUSR1[soft,init_instance] received, process restarting,

after restarting container wont start and get following logs

Fri Apr 10 06:58:49 2020 /sbin/ip addr del dev tun0 10.11.16.18/24,
Fri Apr 10 06:58:49 2020 /etc/openvpn/tunnelDown.sh tun0 0 0 10.11.16.18 255.255.255.0 init,
Session terminated, killing shell...kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec],
Fri Apr 10 06:58:49 2020 SIGTERM[hard,init_instance] received, process exiting,
 ...killed.,
guillaumedsde commented 4 years ago

Hi, yes, its an issue i'm also randomely observing with my provider (Windscribe) I'm unsure why this shows up:

Fri Apr 10 06:54:08 2020 RESOLVE: Cannot resolve host address: fr-rb-ovudp-01.jumptoserver.com:4443 (Temporary failure in name resolution),

When you restart, the tunnel is down so it terminates, it looks like I need to fix the kill script:

Session terminated, killing shell...kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec],

Sometimes, its very stable and I get long uptimes and every now and then I run into this issue. From memory, what fixes it is to re-up the container, this is not optimal but I do not have a solution right now.