binhex / arch-delugevpn

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

VPN Connection fails after some day(s) and does not re-establish #363

Open OscarVanL opened 1 year ago

OscarVanL commented 1 year ago

Hi,

I am using version 2.1.1-3-07 on my Synology NAS. I am using PIA via openvpn.

When the container starts everything works as expected, but after leaving the container running for several days and returning, no traffic works. I suspect that maybe the VPN connection fails and does not re-establish. After restarting the container everything springs back into life.

There are no container logs beyond the startup logs that indicate any kind of error.

My workaround has been to have a cronjob that restarts the container periodically, but this is obviously not ideal.

I have enabled DEBUG=true, DELUGE_DAEMON_LOG_LEVEL=debug, and DELUGE_WEB_LOG_LEVEL=debug and will report back when this occurs again if there are any logs of interest.

Env vars:

DEBUG | false
DELUGE_DAEMON_LOG_LEVEL | info
DELUGE_ENABLE_WEBUI_PASSWORD | yes
DELUGE_WEB_LOG_LEVEL | info
ENABLE_PRIVOXY | no
HOME | /home/nobody
LAN_NETWORK | 192.168.0.0/24
LANG | en_GB.UTF-8
NAME_SERVERS | 1.1.1.1,1.0.0.1
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGID | 0
PUID | 0
STRICT_PORT_FORWARD | no
TERM | xterm
UMASK | 000
VPN_CLIENT | openvpn
VPN_ENABLED | yes
VPN_INPUT_PORTS | 1234
VPN_OUTPUT_PORTS | 5678
VPN_PASS | <REDACTED>
VPN_PROV | pia
VPN_USER | <REDACTED>
binhex commented 1 year ago

you may find this of interest:- https://forums.unraid.net/topic/44109-support-binhex-delugevpn/?do=findComment&comment=1269376

OscarVanL commented 1 year ago

That is interesting, hopefully it makes a difference!