sgtsquiggs / docker-deluge-openvpn

Docker container which runs Deluge torrent client with WebUI while connecting to OpenVPN. Based on linuxserver/deluge and haugene/transmission-openvpn.
GNU General Public License v3.0
49 stars 23 forks source link

IOError when loading translations: [Errno 2] No translation file found for domain: 'deluge' - VPN Tunnel Not Created #19

Open 11ib opened 3 years ago

11ib commented 3 years ago

This is a new issue that's seemingly popped up overnight for me, I visited the WebUI today and noticed all of my downloads had stopped, and my IP address on the WebUI is my home's IP. I have PIA set up and it was working correctly until now, but I'm receiving the following error on boot:

2020-11-22 10:01:51,stdout,Sun Nov 22 02:01:51 2020 [start-openvpn] Using OpenVPN provider: PIA
2020-11-22 10:01:51,stdout,Sun Nov 22 02:01:51 2020 [start-openvpn] Starting OpenVPN using config US Silicon Valley.ovpn  
2020-11-22 10:01:51,stdout,Sun Nov 22 02:01:51 2020 [start-openvpn] Setting OPENVPN credentials...  
2020-11-22 10:01:52,stdout,Sun Nov 22 02:01:52 2020 OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 14 2019  
2020-11-22 10:01:52,stdout,"Sun Nov 22 02:01:52 2020 library versions: OpenSSL 1.1.1  11 Sep 2018, LZO 2.08  
2020-11-22 10:01:52,stdout,Sun Nov 22 02:01:52 2020 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts  
2020-11-22 10:01:52,stdout,Sun Nov 22 02:01:52 2020 TCP/UDP: Preserving recently used remote address: [AF_INET] {PIA IP ADDRESS}:1198  
2020-11-22 10:01:52,stdout,Sun Nov 22 02:01:52 2020 UDP link local: (not bound)  
2020-11-22 10:01:52,stdout,Sun Nov 22 02:01:52 2020 UDP link remote: [AF_INET]{PIA IP ADDRESS}:1198  
2020-11-22 10:01:55,stdout,02:01:55 [WARNING ][deluge.i18n.util           :83  ] IOError when loading translations: [Errno 2] No translation file found for domain: 'deluge'  
2020-11-22 10:02:52,stdout,Sun Nov 22 02:02:52 2020 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)  
2020-11-22 10:02:52,stdout,Sun Nov 22 02:02:52 2020 TLS Error: TLS handshake failed  
2020-11-22 10:02:52,stdout,"Sun Nov 22 02:02:52 2020 SIGUSR1[soft,tls-error] received, process restarting  
2020-11-22 10:02:57,stdout,Sun Nov 22 02:02:57 2020 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts  
2020-11-22 10:02:57,stdout,Sun Nov 22 02:02:57 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]{PIA IP ADDRESS}:1198  
2020-11-22 10:02:57,stdout,Sun Nov 22 02:02:57 2020 UDP link local: (not bound)  
2020-11-22 10:02:57,stdout,Sun Nov 22 02:02:57 2020 UDP link remote: [AF_INET]{PIA IP ADDRESS}:1198  
2020-11-22 10:03:57,stdout,Sun Nov 22 02:03:57 2020 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)

this error continues, and while I can access the WebUI, nothing happens since the VPN tunnel is down.

Any help would be greatly appreciated!

jetpeter commented 3 years ago

Try changing your OpenVPN config to one of the ip-nextgen configs. I think PIA recently deprecated old configs.

"We recently launched our NextGen VPN network of servers which is faster, better for streaming and has more locations to choose from. All users must update to the latest client version: (Windows: 2.4, Mac 2.4, Linux, 2.4, iOS 3.71 and Android 3.7.1) before 10/31."

11ib commented 3 years ago

Awesome, I'll try that out (I saw you added the nextgen configs recently). How do I use those in my OpenVPN config environment variable?

jetpeter commented 3 years ago

Im not a contributor here, I just ran into the same issue, but below should work. Note: I have only tried with docker compose.

...
              -e OPENVPN_PROVIDER=PIA \
              -e OPENVPN_CONFIG=ip-nextgen/US\ Silicon\ Valley \
...

or with Docker Compose

...
             environment:
                  - OPENVPN_PROVIDER=PIA
                  - OPENVPN_CONFIG=ip-nextgen/US Silicon Valley
...