docker-qBittorrentvpn icon indicating copy to clipboard operation
docker-qBittorrentvpn copied to clipboard

If OpenVPN tunnel dies, does not retry to reestablish OpenVPN

Open iceman73 opened this issue 7 years ago • 6 comments

Noticed that the key I receive from my VPN Provider expires after a few days, which in turn terminates the OpenVPN connection. If I restart the container or rerun the start script, the OpenVPN connection is reestablished and qBittorent can continue downloading.

Any idea on how I can force the script to restart when it sees the tunnel terminated?

Chris

iceman73 avatar Oct 22 '18 14:10 iceman73

I will look into this iceman73

MarkusMcNugen avatar Dec 08 '18 18:12 MarkusMcNugen

iceman73, is there anything in the openvpn confile file for your connection that specifies the expiration time?

MarkusMcNugen avatar Dec 08 '18 19:12 MarkusMcNugen

No There is not

iceman73 avatar Jan 04 '19 16:01 iceman73

I am experiencing the same problem - was there ever a solution?

rework21 avatar Jul 19 '20 23:07 rework21

This is still a problem for me, I use PIA VPN

Altycoder avatar Jul 19 '21 12:07 Altycoder

I ended up modifying this to help me https://github.com/mrjackyliang/tunnel-checker

iceman73 avatar Jul 19 '21 15:07 iceman73