openpyn-nordvpn icon indicating copy to clipboard operation
openpyn-nordvpn copied to clipboard

doesn't reconnect after laptop get sleep/awake and/or network cable disconnects.

Open fossil opened this issue 6 years ago • 2 comments

.... Out of the Best Available Servers, Chose nl129 CONNECTING TO SERVER nl129 ON PORT udp1194 Your OS'Ubuntu' Does have '/sbin/resolvconf' using it to update DNS Resolver Entries

Wed Jan 17 20:04:39 2018 OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Jun 22 2017 Wed Jan 17 20:04:39 2018 library versions: OpenSSL 1.0.2g 1 Mar 2016, LZO 2.08 Wed Jan 17 20:04:39 2018 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:7015 Wed Jan 17 20:04:39 2018 WARNING: --ping should normally be used with --ping-restart or --ping-exit Wed Jan 17 20:04:39 2018 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts .... Thu Jan 18 08:04:45 2018 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication Thu Jan 18 08:04:45 2018 VERIFY EKU OK Thu Jan 18 08:04:45 2018 VERIFY OK: depth=0, C=PA, ST=PA, L=Panama, O=NordVPN, OU=NordVPN, CN=nl129.nordvpn.com, name=NordVPN, [email protected] Thu Jan 18 08:04:45 2018 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key Thu Jan 18 08:04:45 2018 Data Channel Encrypt: Using 512 bit message hash 'SHA512' for HMAC authentication Thu Jan 18 08:04:45 2018 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key Thu Jan 18 08:04:45 2018 Data Channel Decrypt: Using 512 bit message hash 'SHA512' for HMAC authentication Thu Jan 18 08:04:45 2018 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA Thu Jan 18 08:47:53 2018 [nl129.nordvpn.com] Inactivity timeout (--ping-restart), restarting Thu Jan 18 08:47:53 2018 SIGUSR1[soft,ping-restart] received, process restarting Thu Jan 18 08:47:53 2018 Restart pause, 10 second(s) Thu Jan 18 08:48:03 2018 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Thu Jan 18 08:48:03 2018 Socket Buffers: R=[212992->425984] S=[212992->425984] Thu Jan 18 08:48:03 2018 UDPv4 link local: [undef] Thu Jan 18 08:48:03 2018 UDPv4 link remote: [AF_INET]85.159.237.34:1194 Thu Jan 18 08:49:03 2018 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Thu Jan 18 08:49:03 2018 TLS Error: TLS handshake failed Thu Jan 18 08:49:03 2018 SIGUSR1[soft,tls-error] received, process restarting Thu Jan 18 08:49:03 2018 Restart pause, 10 second(s) Thu Jan 18 08:49:13 2018 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Thu Jan 18 08:49:13 2018 Socket Buffers: R=[212992->425984] S=[212992->425984] Thu Jan 18 08:49:13 2018 UDPv4 link local: [undef] Thu Jan 18 08:49:13 2018 UDPv4 link remote: [AF_INET]85.159.237.34:1194 Thu Jan 18 08:50:13 2018 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Thu Jan 18 08:50:13 2018 TLS Error: TLS handshake failed Thu Jan 18 08:50:13 2018 SIGUSR1[soft,tls-error] received, process restarting Thu Jan 18 08:50:13 2018 Restart pause, 10 second(s) Thu Jan 18 08:50:23 2018 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Thu Jan 18 08:50:23 2018 Socket Buffers: R=[212992->425984] S=[212992->425984] Thu Jan 18 08:50:23 2018 UDPv4 link local: [undef] Thu Jan 18 08:50:23 2018 UDPv4 link remote: [AF_INET]85.159.237.34:1194 Thu Jan 18 08:51:23 2018 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Thu Jan 18 08:51:23 2018 TLS Error: TLS handshake failed Thu Jan 18 08:51:23 2018 SIGUSR1[soft,tls-error] received, process restarting Thu Jan 18 08:51:23 2018 Restart pause, 10 second(s) Thu Jan 18 08:51:33 2018 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Thu Jan 18 08:51:33 2018 Socket Buffers: R=[212992->425984] S=[212992->425984] Thu Jan 18 08:51:33 2018 UDPv4 link local: [undef] Thu Jan 18 08:51:33 2018 UDPv4 link remote: [AF_INET]85.159.237.34:1194 Thu Jan 18 08:52:33 2018 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Thu Jan 18 08:52:33 2018 TLS Error: TLS handshake failed Thu Jan 18 08:52:33 2018 SIGUSR1[soft,tls-error] received, process restarting Thu Jan 18 08:52:33 2018 Restart pause, 10 second(s) Thu Jan 18 08:52:43 2018 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Thu Jan 18 08:52:43 2018 Socket Buffers: R=[212992->425984] S=[212992->425984] Thu Jan 18 08:52:43 2018 UDPv4 link local: [undef] Thu Jan 18 08:52:43 2018 UDPv4 link remote: [AF_INET]85.159.237.34:1194 Thu Jan 18 08:53:43 2018 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Thu Jan 18 08:53:43 2018 TLS Error: TLS handshake failed Thu Jan 18 08:53:43 2018 SIGUSR1[soft,tls-error] received, process restarting Thu Jan 18 08:53:43 2018 Restart pause, 10 second(s) ....

fossil avatar Jan 19 '18 07:01 fossil

+1. My major disappointment with openpyn. How can this be solved?

nikolayhg avatar Mar 19 '19 08:03 nikolayhg

For the sleep/awake problem, I implement this little script: sudo nano /lib/systemd/system-sleep/wakeup_script #!/bin/sh case $1 in post) systemctl restart openpyn.service ;; esac

sudo chmod +x /lib/systemd/system-sleep/wakeup_script

MichelHanzen avatar Sep 17 '19 06:09 MichelHanzen