MarkusMcNugen / docker-qBittorrentvpn

Docker container which runs a headless qBittorrent client with WebUI and optional OpenVPN
https://hub.docker.com/r/markusmcnugen/qbittorrentvpn/
GNU General Public License v3.0
175 stars 93 forks source link

TLS Issue after I restarted my Nas #76

Open Numble01 opened 3 years ago

Numble01 commented 3 years ago

Docker ver: 18.09.0-0513

Here's the log of the issue, thanks:

Fri Oct 16 17:30:44 2020 TLS Error: TLS handshake failed

Fri Oct 16 17:30:44 2020 SIGUSR1[soft,tls-error] received, process restarting

Fri Oct 16 17:35:44 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]156.146.63.65:1198

Fri Oct 16 17:35:44 2020 UDP link local: (not bound)

Fri Oct 16 17:35:44 2020 UDP link remote: [AF_INET]156.146.63.65:1198

Fri Oct 16 17:36:44 2020 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)

jairoenriquemartinez commented 3 years ago

I got the same error. Do you use PIA for your VPN? I wonder if they changed something on their side...

Here is my log:

Sat Oct 17 15:51:27 2020 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)

Sat Oct 17 15:51:27 2020 TLS Error: TLS handshake failed

Sat Oct 17 15:51:27 2020 SIGUSR1[soft,tls-error] received, process restarting

Sat Oct 17 15:51:32 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]193.37.252.25:1198

Sat Oct 17 15:51:32 2020 UDP link local: (not bound)

Sat Oct 17 15:51:32 2020 UDP link remote: [AF_INET]193.37.252.25:119

andresatierf commented 3 years ago

I got the exact same problem

nicknick923 commented 3 years ago

^ sameeeeeee (and I also use PIA) I also am having the same issue with jackettvpn

nokn0wthing commented 3 years ago

Switch to the new next gen server ovpn files.

OVPN Files

nicknick923 commented 3 years ago

Switch to the new next gen server ovpn files.

OVPN Files

That did it for me, thank you very much!

Namssorg commented 3 years ago

Hi. I am having the same issue, even after replacing my .ovpn file with the latest gen. Do I need to do something besides simply overwriting my old .ovpn file with the new gen?

Here is my log:

Sun Nov 8 18:50:21 2020 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)

Sun Nov 8 18:50:21 2020 TLS Error: TLS handshake failed

Sun Nov 8 18:50:21 2020 SIGUSR1[soft,tls-error] received, process restarting

Sun Nov 8 18:50:26 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]172.98.92.66:1198

Sun Nov 8 18:50:26 2020 UDP link local: (not bound)

Sun Nov 8 18:50:26 2020 UDP link remote: [AF_INET]172.98.92.66:1198

Sun Nov 8 18:51:26 2020 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)

Sun Nov 8 18:51:26 2020 TLS Error: TLS handshake failed

Sun Nov 8 18:51:26 2020 SIGUSR1[soft,tls-error] received, process restarting

Sun Nov 8 18:51:31 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]66.115.145.199:1198

Sun Nov 8 18:51:31 2020 UDP link local: (not bound)

Sun Nov 8 18:51:31 2020 UDP link remote: [AF_INET]66.115.145.199:1198

2020-11-08 18:55:59.274614 [info] VPN_ENABLED defined as 'yes'

2020-11-08 18:55:59.510007 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/CA-Toronto.ovpn

dos2unix: converting file /config/openvpn/CA-Toronto.ovpn to Unix format...

2020-11-08 18:56:00.172812 [info] VPN remote line defined as 'ca-toronto.privateinternetaccess.com 1198'

2020-11-08 18:56:00.232634 [info] VPN_REMOTE defined as 'ca-toronto.privateinternetaccess.com'

2020-11-08 18:56:00.292018 [info] VPN_PORT defined as '1198'

2020-11-08 18:56:00.349781 [info] VPN_PROTOCOL defined as 'udp'

2020-11-08 18:56:00.414311 [info] VPN_DEVICE_TYPE defined as 'tun0'

2020-11-08 18:56:00.472134 [info] LAN_NETWORK defined as '192.168.86.1/24'

nokn0wthing commented 3 years ago

Doesn't look like you updated the ovpn file. The new ones should point at \<region>.privacy.network I.e. us-california.privacy.network

Namssorg commented 3 years ago

Doesn't look like you updated the ovpn file. The new ones should point at .privacy.network I.e. us-california.privacy.network

Odd, after replacing the opvn file it took a few restarts to finally take and was giving me an AUTH error. I updated to the latest version and now things are all working. Thanks!

ajsnyde commented 3 years ago

Thanks a ton. All working now.

Aregatou commented 3 years ago

@wfleisher absolute champ, this was my issue. bless you