@lucianbuzzo @zvin any updates from your side ?
@m.nabil We’re looking into possible causes for the lack of connectivity and ways that we can debug the problem. In the meantime do you have another device you can try running resinOS on? I’d like to rule out a hardware issue with the device if possible.
@m.nabil I believe the instructions we gave for retrieving openvpn logs are for older resinOS version, could you try journalctl -a -u openvpn
instead?
@lucianbuzzo
Thnaks for your reply, I ran the command and here are the output :
root@a7b6c21:~# journalctl -a -r -u openvpn
-- Logs begin at Sun 2018-05-13 23:13:39 UTC, end at Tue 2018-05-15 09:43:58 UTC. --
May 14 17:03:02 a7b6c21 openvpn[1798]: Initialization Sequence Completed
May 14 17:03:02 a7b6c21 openvpn[1798]: /etc/openvpn/upscript.sh resin-vpn 1500 1555 10.240.20.85 52.4.252.97 restart
May 14 17:03:02 a7b6c21 openvpn[1798]: Preserving previous TUN/TAP instance: resin-vpn
May 14 17:03:02 a7b6c21 openvpn[1798]: Data Channel Decrypt: Cipher 'AES-256-GCM' initialized with 256 bit key
May 14 17:03:02 a7b6c21 openvpn[1798]: Data Channel Encrypt: Cipher 'AES-256-GCM' initialized with 256 bit key
May 14 17:03:02 a7b6c21 openvpn[1798]: Data Channel: using negotiated cipher 'AES-256-GCM'
May 14 17:03:02 a7b6c21 openvpn[1798]: OPTIONS IMPORT: data channel crypto options modified
May 14 17:03:02 a7b6c21 openvpn[1798]: OPTIONS IMPORT: adjusting link_mtu to 1627
May 14 17:03:02 a7b6c21 openvpn[1798]: OPTIONS IMPORT: peer-id set
May 14 17:03:02 a7b6c21 openvpn[1798]: OPTIONS IMPORT: route options modified
May 14 17:03:02 a7b6c21 openvpn[1798]: OPTIONS IMPORT: --ifconfig/up options modified
May 14 17:03:02 a7b6c21 openvpn[1798]: Socket flags: TCP_NODELAY=1 succeeded
May 14 17:03:02 a7b6c21 openvpn[1798]: OPTIONS IMPORT: --socket-flags option modified
May 14 17:03:02 a7b6c21 openvpn[1798]: Socket Buffers: R=[341760->341760] S=[44800->44800]
May 14 17:03:02 a7b6c21 openvpn[1798]: OPTIONS IMPORT: --sndbuf/--rcvbuf options modified
May 14 17:03:02 a7b6c21 openvpn[1798]: OPTIONS IMPORT: timers and/or timeouts modified
May 14 17:03:02 a7b6c21 openvpn[1798]: PUSH: Received control message: 'PUSH_REPLY,sndbuf 0,rcvbuf 0,route 52.4.252.97,ping 10,ping-restart 60,socket-flags TCP_NODELAY,ifconfig 10.240.20.85 52.4.252.97,peer-id 0
May 14 17:03:01 a7b6c21 openvpn[1798]: SENT CONTROL [ResinVPN]: 'PUSH_REQUEST' (status=1)
May 14 17:03:00 a7b6c21 openvpn[1798]: [ResinVPN] Peer Connection Initiated with [AF_INET]18.232.192.190:443
May 14 17:03:00 a7b6c21 openvpn[1798]: Control Channel: TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
May 14 17:02:59 a7b6c21 openvpn[1798]: VERIFY OK: depth=0, C=US, ST=WA, L=Seattle, O=Resin.io, OU=VPN, CN=ResinVPN
May 14 17:02:59 a7b6c21 openvpn[1798]: VERIFY EKU OK
May 14 17:02:59 a7b6c21 openvpn[1798]: ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
May 14 17:02:59 a7b6c21 openvpn[1798]: Validating certificate extended key usage
May 14 17:02:59 a7b6c21 openvpn[1798]: VERIFY KU OK
May 14 17:02:59 a7b6c21 openvpn[1798]: VERIFY OK: depth=1, C=AU, ST=Some-State, O=Internet Widgits Pty Ltd
May 14 17:02:57 a7b6c21 openvpn[1798]: TLS: Initial packet from [AF_INET]18.232.192.190:443, sid=f77aedc4 586bc48e
May 14 17:02:56 a7b6c21 openvpn[1798]: TCP_CLIENT link remote: [AF_INET]18.232.192.190:443
May 14 17:02:56 a7b6c21 openvpn[1798]: TCP_CLIENT link local: (not bound)
May 14 17:02:56 a7b6c21 openvpn[1798]: Socket flags: TCP_NODELAY=1 succeeded
May 14 17:02:56 a7b6c21 openvpn[1798]: TCP connection established with [AF_INET]18.232.192.190:443
May 14 17:02:55 a7b6c21 openvpn[1798]: Attempting to establish TCP connection with [AF_INET]18.232.192.190:443 [nonblock]
May 14 17:02:55 a7b6c21 openvpn[1798]: Socket Buffers: R=[87380->87380] S=[16384->16384]
May 14 17:02:55 a7b6c21 openvpn[1798]: TCP/UDP: Preserving recently used remote address: [AF_INET]18.232.192.190:443
May 14 17:02:55 a7b6c21 openvpn[1798]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 14 16:57:55 a7b6c21 openvpn[1798]: Restart pause, 300 second(s)
May 14 16:57:55 a7b6c21 openvpn[1798]: SIGUSR1[soft,ping-restart] received, process restarting
May 14 16:57:55 a7b6c21 openvpn[1798]: /etc/openvpn/downscript.sh resin-vpn 1500 1624 10.240.20.85 52.4.252.97 restart
May 14 16:57:55 a7b6c21 openvpn[1798]: [UNDEF] Inactivity timeout (--ping-restart), restarting
May 14 16:56:55 a7b6c21 openvpn[1798]: TLS: Initial packet from [AF_INET]34.237.229.125:443, sid=b1ddce60 456d0df0
May 14 16:56:55 a7b6c21 openvpn[1798]: TCP_CLIENT link remote: [AF_INET]34.237.229.125:443
May 14 16:56:55 a7b6c21 openvpn[1798]: TCP_CLIENT link local: (not bound)
May 14 16:56:55 a7b6c21 openvpn[1798]: Socket flags: TCP_NODELAY=1 succeeded
May 14 16:56:55 a7b6c21 openvpn[1798]: TCP connection established with [AF_INET]34.237.229.125:443
May 14 16:56:54 a7b6c21 openvpn[1798]: Attempting to establish TCP connection with [AF_INET]34.237.229.125:443 [nonblock]
May 14 16:56:54 a7b6c21 openvpn[1798]: Socket Buffers: R=[87380->87380] S=[16384->16384]
May 14 16:56:54 a7b6c21 openvpn[1798]: TCP/UDP: Preserving recently used remote address: [AF_INET]34.237.229.125:443
May 14 16:56:54 a7b6c21 openvpn[1798]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 14 16:51:54 a7b6c21 openvpn[1798]: Restart pause, 300 second(s)
May 14 16:51:54 a7b6c21 openvpn[1798]: SIGUSR1[soft,ping-restart] received, process restarting
May 14 16:51:54 a7b6c21 openvpn[1798]: /etc/openvpn/downscript.sh resin-vpn 1500 1624 10.240.20.85 52.4.252.97 restart
May 14 16:51:54 a7b6c21 openvpn[1798]: [UNDEF] Inactivity timeout (--ping-restart), restarting
May 14 16:50:54 a7b6c21 openvpn[1798]: TLS: Initial packet from [AF_INET]18.232.192.190:443, sid=76371c8b 3ce324fe
May 14 16:50:54 a7b6c21 openvpn[1798]: TCP_CLIENT link remote: [AF_INET]18.232.192.190:443
May 14 16:50:54 a7b6c21 openvpn[1798]: TCP_CLIENT link local: (not bound)
May 14 16:50:54 a7b6c21 openvpn[1798]: Socket flags: TCP_NODELAY=1 succeeded
May 14 16:50:54 a7b6c21 openvpn[1798]: TCP connection established with [AF_INET]18.232.192.190:443
May 14 16:50:53 a7b6c21 openvpn[1798]: Attempting to establish TCP connection with [AF_INET]18.232.192.190:443 [nonblock]
May 14 16:50:53 a7b6c21 openvpn[1798]: Socket Buffers: R=[87380->87380] S=[16384->16384]
May 14 16:50:53 a7b6c21 openvpn[1798]: TCP/UDP: Preserving recently used remote address: [AF_INET]18.232.192.190:443
May 14 16:50:53 a7b6c21 openvpn[1798]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 14 16:45:53 a7b6c21 openvpn[1798]: Restart pause, 300 second(s)
May 14 16:45:53 a7b6c21 openvpn[1798]: SIGUSR1[soft,tls-error] received, process restarting
May 14 16:45:53 a7b6c21 openvpn[1798]: /etc/openvpn/downscript.sh resin-vpn 1500 1624 10.240.20.85 52.4.252.97 restart
May 14 16:45:53 a7b6c21 openvpn[1798]: Fatal TLS error (check_tls_errors_co), restarting
May 14 16:45:53 a7b6c21 openvpn[1798]: TLS Error: TLS handshake failed
May 14 16:45:53 a7b6c21 openvpn[1798]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
May 14 16:44:54 a7b6c21 openvpn[1798]: TLS: Initial packet from [AF_INET]34.237.229.125:443, sid=251a4cb7 4dd06dd2
May 14 16:44:53 a7b6c21 openvpn[1798]: TCP_CLIENT link remote: [AF_INET]34.237.229.125:443
May 14 16:44:53 a7b6c21 openvpn[1798]: TCP_CLIENT link local: (not bound)
May 14 16:44:53 a7b6c21 openvpn[1798]: Socket flags: TCP_NODELAY=1 succeeded
May 14 16:44:53 a7b6c21 openvpn[1798]: TCP connection established with [AF_INET]34.237.229.125:443
May 14 16:44:52 a7b6c21 openvpn[1798]: Attempting to establish TCP connection with [AF_INET]34.237.229.125:443 [nonblock]
May 14 16:44:52 a7b6c21 openvpn[1798]: Socket Buffers: R=[87380->87380] S=[16384->16384]
May 14 16:44:52 a7b6c21 openvpn[1798]: TCP/UDP: Preserving recently used remote address: [AF_INET]34.237.229.125:443
May 14 16:44:52 a7b6c21 openvpn[1798]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 14 16:39:52 a7b6c21 openvpn[1798]: Restart pause, 300 second(s)
May 14 16:39:52 a7b6c21 openvpn[1798]: SIGUSR1[soft,tls-error] received, process restarting
May 14 16:39:52 a7b6c21 openvpn[1798]: /etc/openvpn/downscript.sh resin-vpn 1500 1624 10.240.20.85 52.4.252.97 restart
May 14 16:39:52 a7b6c21 openvpn[1798]: Fatal TLS error (check_tls_errors_co), restarting
May 14 16:39:52 a7b6c21 openvpn[1798]: TLS Error: TLS handshake failed
May 14 16:39:52 a7b6c21 openvpn[1798]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
May 14 16:38:53 a7b6c21 openvpn[1798]: TLS: Initial packet from [AF_INET]18.232.192.190:443, sid=2abb32a9 14ee449b
May 14 16:38:52 a7b6c21 openvpn[1798]: TCP_CLIENT link remote: [AF_INET]18.232.192.190:443
May 14 16:38:52 a7b6c21 openvpn[1798]: TCP_CLIENT link local: (not bound)
May 14 16:38:52 a7b6c21 openvpn[1798]: Socket flags: TCP_NODELAY=1 succeeded
May 14 16:38:52 a7b6c21 openvpn[1798]: TCP connection established with [AF_INET]18.232.192.190:443
May 14 16:38:51 a7b6c21 openvpn[1798]: Attempting to establish TCP connection with [AF_INET]18.232.192.190:443 [nonblock]
May 14 16:38:51 a7b6c21 openvpn[1798]: Socket Buffers: R=[87380->87380] S=[16384->16384]
May 14 16:38:51 a7b6c21 openvpn[1798]: TCP/UDP: Preserving recently used remote address: [AF_INET]18.232.192.190:443
May 14 16:38:51 a7b6c21 openvpn[1798]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 14 16:33:51 a7b6c21 openvpn[1798]: Restart pause, 300 second(s)
May 14 16:33:51 a7b6c21 openvpn[1798]: SIGUSR1[soft,tls-error] received, process restarting
May 14 16:33:51 a7b6c21 openvpn[1798]: /etc/openvpn/downscript.sh resin-vpn 1500 1624 10.240.20.85 52.4.252.97 restart
May 14 16:33:51 a7b6c21 openvpn[1798]: Fatal TLS error (check_tls_errors_co), restarting
May 14 16:33:51 a7b6c21 openvpn[1798]: TLS Error: TLS handshake failed
May 14 16:33:51 a7b6c21 openvpn[1798]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
May 14 16:32:52 a7b6c21 openvpn[1798]: TLS: Initial packet from [AF_INET]18.232.192.190:443, sid=b6d180c1 f74ea503
May 14 16:32:51 a7b6c21 openvpn[1798]: TCP_CLIENT link remote: [AF_INET]18.232.192.190:443
May 14 16:32:51 a7b6c21 openvpn[1798]: TCP_CLIENT link local: (not bound)
May 14 16:32:51 a7b6c21 openvpn[1798]: Socket flags: TCP_NODELAY=1 succeeded
May 14 16:32:51 a7b6c21 openvpn[1798]: TCP connection established with [AF_INET]18.232.192.190:443
May 14 16:32:50 a7b6c21 openvpn[1798]: Attempting to establish TCP connection with [AF_INET]18.232.192.190:443 [nonblock]
May 14 16:32:50 a7b6c21 openvpn[1798]: Socket Buffers: R=[87380->87380] S=[16384->16384]
May 14 16:32:50 a7b6c21 openvpn[1798]: TCP/UDP: Preserving recently used remote address: [AF_INET]18.232.192.190:443
May 14 16:32:50 a7b6c21 openvpn[1798]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 14 16:27:50 a7b6c21 openvpn[1798]: Restart pause, 300 second(s)
May 14 16:27:50 a7b6c21 openvpn[1798]: SIGUSR1[soft,ping-restart] received, process restarting
May 14 16:27:50 a7b6c21 openvpn[1798]: /etc/openvpn/downscript.sh resin-vpn 1500 1624 10.240.20.85 52.4.252.97 restart
May 14 16:27:50 a7b6c21 openvpn[1798]: [UNDEF] Inactivity timeout (--ping-restart), restarting
May 14 16:26:50 a7b6c21 openvpn[1798]: TLS: Initial packet from [AF_INET]34.237.229.125:443, sid=cc2aaaf8 a5bc36b3
May 14 16:26:50 a7b6c21 openvpn[1798]: TCP_CLIENT link remote: [AF_INET]34.237.229.125:443
May 14 16:26:50 a7b6c21 openvpn[1798]: TCP_CLIENT link local: (not bound)
May 14 16:26:50 a7b6c21 openvpn[1798]: Socket flags: TCP_NODELAY=1 succeeded
May 14 16:26:50 a7b6c21 openvpn[1798]: TCP connection established with [AF_INET]34.237.229.125:443
May 14 16:26:49 a7b6c21 openvpn[1798]: Attempting to establish TCP connection with [AF_INET]34.237.229.125:443 [nonblock]
May 14 16:26:49 a7b6c21 openvpn[1798]: Socket Buffers: R=[87380->87380] S=[16384->16384]
May 14 16:26:49 a7b6c21 openvpn[1798]: TCP/UDP: Preserving recently used remote address: [AF_INET]34.237.229.125:443
May 14 16:26:49 a7b6c21 openvpn[1798]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 14 16:21:49 a7b6c21 openvpn[1798]: Restart pause, 300 second(s)
May 14 16:21:49 a7b6c21 openvpn[1798]: SIGUSR1[soft,ping-restart] received, process restarting
May 14 16:21:49 a7b6c21 openvpn[1798]: /etc/openvpn/downscript.sh resin-vpn 1500 1624 10.240.20.85 52.4.252.97 restart
May 14 16:21:49 a7b6c21 openvpn[1798]: [UNDEF] Inactivity timeout (--ping-restart), restarting
May 14 16:20:49 a7b6c21 openvpn[1798]: TLS: Initial packet from [AF_INET]34.237.229.125:443, sid=483938e6 f547188e
May 14 16:20:49 a7b6c21 openvpn[1798]: TCP_CLIENT link remote: [AF_INET]34.237.229.125:443
May 14 16:20:49 a7b6c21 openvpn[1798]: TCP_CLIENT link local: (not bound)
May 14 16:20:49 a7b6c21 openvpn[1798]: Socket flags: TCP_NODELAY=1 succeeded
May 14 16:20:49 a7b6c21 openvpn[1798]: TCP connection established with [AF_INET]34.237.229.125:443
May 14 16:20:48 a7b6c21 openvpn[1798]: Attempting to establish TCP connection with [AF_INET]34.237.229.125:443 [nonblock]
May 14 16:20:48 a7b6c21 openvpn[1798]: Socket Buffers: R=[87380->87380] S=[16384->16384]
May 14 16:20:48 a7b6c21 openvpn[1798]: TCP/UDP: Preserving recently used remote address: [AF_INET]34.237.229.125:443
May 14 16:20:48 a7b6c21 openvpn[1798]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 14 16:15:48 a7b6c21 openvpn[1798]: Restart pause, 300 second(s)
May 14 16:15:48 a7b6c21 openvpn[1798]: SIGUSR1[soft,tls-error] received, process restarting
May 14 16:15:48 a7b6c21 openvpn[1798]: /etc/openvpn/downscript.sh resin-vpn 1500 1624 10.240.20.85 52.4.252.97 restart
May 14 16:15:48 a7b6c21 openvpn[1798]: Fatal TLS error (check_tls_errors_co), restarting
May 14 16:15:48 a7b6c21 openvpn[1798]: TLS Error: TLS handshake failed
May 14 16:15:48 a7b6c21 openvpn[1798]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
May 14 16:14:49 a7b6c21 openvpn[1798]: TLS: Initial packet from [AF_INET]18.232.192.190:443, sid=e9dbda15 63bb319e
May 14 16:14:48 a7b6c21 openvpn[1798]: TCP_CLIENT link remote: [AF_INET]18.232.192.190:443
May 14 16:14:48 a7b6c21 openvpn[1798]: TCP_CLIENT link local: (not bound)
May 14 16:14:48 a7b6c21 openvpn[1798]: Socket flags: TCP_NODELAY=1 succeeded
May 14 16:14:48 a7b6c21 openvpn[1798]: TCP connection established with [AF_INET]18.232.192.190:443
May 14 16:14:47 a7b6c21 openvpn[1798]: Attempting to establish TCP connection with [AF_INET]18.232.192.190:443 [nonblock]
May 14 16:14:47 a7b6c21 openvpn[1798]: Socket Buffers: R=[87380->87380] S=[16384->16384]
May 14 16:14:47 a7b6c21 openvpn[1798]: TCP/UDP: Preserving recently used remote address: [AF_INET]18.232.192.190:443
May 14 16:14:47 a7b6c21 openvpn[1798]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 14 16:09:47 a7b6c21 openvpn[1798]: Restart pause, 300 second(s)
May 14 16:09:47 a7b6c21 openvpn[1798]: SIGUSR1[soft,ping-restart] received, process restarting
May 14 16:09:47 a7b6c21 openvpn[1798]: /etc/openvpn/downscript.sh resin-vpn 1500 1624 10.240.20.85 52.4.252.97 restart
May 14 16:09:47 a7b6c21 openvpn[1798]: [UNDEF] Inactivity timeout (--ping-restart), restarting
May 14 16:08:47 a7b6c21 openvpn[1798]: TLS: Initial packet from [AF_INET]18.232.192.190:443, sid=7fea2e42 e5b62c21
May 14 16:08:47 a7b6c21 openvpn[1798]: TCP_CLIENT link remote: [AF_INET]18.232.192.190:443
May 14 16:08:47 a7b6c21 openvpn[1798]: TCP_CLIENT link local: (not bound)
May 14 16:08:47 a7b6c21 openvpn[1798]: Socket flags: TCP_NODELAY=1 succeeded
May 14 16:08:47 a7b6c21 openvpn[1798]: TCP connection established with [AF_INET]18.232.192.190:443
May 14 16:08:46 a7b6c21 openvpn[1798]: Attempting to establish TCP connection with [AF_INET]18.232.192.190:443 [nonblock]
May 14 16:08:46 a7b6c21 openvpn[1798]: Socket Buffers: R=[87380->87380] S=[16384->16384]
May 14 16:08:46 a7b6c21 openvpn[1798]: TCP/UDP: Preserving recently used remote address: [AF_INET]18.232.192.190:443
May 14 16:08:46 a7b6c21 openvpn[1798]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 14 16:03:46 a7b6c21 openvpn[1798]: Restart pause, 300 second(s)
May 14 16:03:46 a7b6c21 openvpn[1798]: SIGUSR1[soft,ping-restart] received, process restarting
May 14 16:03:46 a7b6c21 openvpn[1798]: /etc/openvpn/downscript.sh resin-vpn 1500 1624 10.240.20.85 52.4.252.97 restart
May 14 16:03:46 a7b6c21 openvpn[1798]: [UNDEF] Inactivity timeout (--ping-restart), restarting
May 14 16:02:46 a7b6c21 openvpn[1798]: TLS: Initial packet from [AF_INET]34.237.229.125:443, sid=967dd4d6 3a730d36
May 14 16:02:46 a7b6c21 openvpn[1798]: TCP_CLIENT link remote: [AF_INET]34.237.229.125:443
May 14 16:02:46 a7b6c21 openvpn[1798]: TCP_CLIENT link local: (not bound)
May 14 16:02:46 a7b6c21 openvpn[1798]: Socket flags: TCP_NODELAY=1 succeeded
May 14 16:02:46 a7b6c21 openvpn[1798]: TCP connection established with [AF_INET]34.237.229.125:443
May 14 16:02:45 a7b6c21 openvpn[1798]: Attempting to establish TCP connection with [AF_INET]34.237.229.125:443 [nonblock]
May 14 16:02:45 a7b6c21 openvpn[1798]: Socket Buffers: R=[87380->87380] S=[16384->16384]
May 14 16:02:45 a7b6c21 openvpn[1798]: TCP/UDP: Preserving recently used remote address: [AF_INET]34.237.229.125:443
May 14 16:02:45 a7b6c21 openvpn[1798]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 14 15:57:45 a7b6c21 openvpn[1798]: Restart pause, 300 second(s)
May 14 15:57:45 a7b6c21 openvpn[1798]: SIGUSR1[soft,ping-restart] received, process restarting
May 14 15:57:45 a7b6c21 openvpn[1798]: /etc/openvpn/downscript.sh resin-vpn 1500 1624 10.240.20.85 52.4.252.97 restart
May 14 15:57:45 a7b6c21 openvpn[1798]: [UNDEF] Inactivity timeout (--ping-restart), restarting
May 14 15:56:45 a7b6c21 openvpn[1798]: TLS: Initial packet from [AF_INET]34.237.229.125:443, sid=5cba12ec ead44909
May 14 15:56:45 a7b6c21 openvpn[1798]: TCP_CLIENT link remote: [AF_INET]34.237.229.125:443
May 14 15:56:45 a7b6c21 openvpn[1798]: TCP_CLIENT link local: (not bound)
May 14 15:56:45 a7b6c21 openvpn[1798]: Socket flags: TCP_NODELAY=1 succeeded
May 14 15:56:45 a7b6c21 openvpn[1798]: TCP connection established with [AF_INET]34.237.229.125:443
May 14 15:56:44 a7b6c21 openvpn[1798]: Attempting to establish TCP connection with [AF_INET]34.237.229.125:443 [nonblock]
May 14 15:56:44 a7b6c21 openvpn[1798]: Socket Buffers: R=[87380->87380] S=[16384->16384]
May 14 15:56:44 a7b6c21 openvpn[1798]: TCP/UDP: Preserving recently used remote address: [AF_INET]34.237.229.125:443
May 14 15:56:44 a7b6c21 openvpn[1798]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 14 15:51:44 a7b6c21 openvpn[1798]: Restart pause, 300 second(s)
May 14 15:51:44 a7b6c21 openvpn[1798]: SIGUSR1[soft,ping-restart] received, process restarting
May 14 15:51:44 a7b6c21 openvpn[1798]: /etc/openvpn/downscript.sh resin-vpn 1500 1624 10.240.20.85 52.4.252.97 restart
May 14 15:51:44 a7b6c21 openvpn[1798]: [UNDEF] Inactivity timeout (--ping-restart), restarting
May 14 15:50:44 a7b6c21 openvpn[1798]: TLS: Initial packet from [AF_INET]18.232.192.190:443, sid=528ffe55 2d7e7511
May 14 15:50:44 a7b6c21 openvpn[1798]: TCP_CLIENT link remote: [AF_INET]18.232.192.190:443
May 14 15:50:44 a7b6c21 openvpn[1798]: TCP_CLIENT link local: (not bound)
May 14 15:50:44 a7b6c21 openvpn[1798]: Socket flags: TCP_NODELAY=1 succeeded
May 14 15:50:44 a7b6c21 openvpn[1798]: TCP connection established with [AF_INET]18.232.192.190:443
May 14 15:50:43 a7b6c21 openvpn[1798]: Attempting to establish TCP connection with [AF_INET]18.232.192.190:443 [nonblock]
May 14 15:50:43 a7b6c21 openvpn[1798]: Socket Buffers: R=[87380->87380] S=[16384->16384]
May 14 15:50:43 a7b6c21 openvpn[1798]: TCP/UDP: Preserving recently used remote address: [AF_INET]18.232.192.190:443
May 14 15:50:42 a7b6c21 openvpn[1798]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 14 15:45:42 a7b6c21 openvpn[1798]: Restart pause, 300 second(s)
May 14 15:45:42 a7b6c21 openvpn[1798]: SIGUSR1[soft,ping-restart] received, process restarting
May 14 15:45:42 a7b6c21 openvpn[1798]: /etc/openvpn/downscript.sh resin-vpn 1500 1624 10.240.20.85 52.4.252.97 restart
May 14 15:45:42 a7b6c21 openvpn[1798]: [UNDEF] Inactivity timeout (--ping-restart), restarting
May 14 15:44:42 a7b6c21 openvpn[1798]: TLS: Initial packet from [AF_INET]34.237.229.125:443, sid=974f71b9 a44403bf
May 14 15:44:42 a7b6c21 openvpn[1798]: TCP_CLIENT link remote: [AF_INET]34.237.229.125:443
May 14 15:44:42 a7b6c21 openvpn[1798]: TCP_CLIENT link local: (not bound)
May 14 15:44:42 a7b6c21 openvpn[1798]: Socket flags: TCP_NODELAY=1 succeeded
May 14 15:44:42 a7b6c21 openvpn[1798]: TCP connection established with [AF_INET]34.237.229.125:443
May 14 15:44:41 a7b6c21 openvpn[1798]: Attempting to establish TCP connection with [AF_INET]34.237.229.125:443 [nonblock]
May 14 15:44:41 a7b6c21 openvpn[1798]: Socket Buffers: R=[87380->87380] S=[16384->16384]
May 14 15:44:41 a7b6c21 openvpn[1798]: TCP/UDP: Preserving recently used remote address: [AF_INET]34.237.229.125:443
May 14 15:44:41 a7b6c21 openvpn[1798]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 14 15:39:41 a7b6c21 openvpn[1798]: Restart pause, 300 second(s)
May 14 15:39:41 a7b6c21 openvpn[1798]: SIGUSR1[soft,ping-restart] received, process restarting
May 14 15:39:41 a7b6c21 openvpn[1798]: /etc/openvpn/downscript.sh resin-vpn 1500 1624 10.240.20.85 52.4.252.97 restart
May 14 15:39:41 a7b6c21 openvpn[1798]: [UNDEF] Inactivity timeout (--ping-restart), restarting
May 14 15:38:41 a7b6c21 openvpn[1798]: TLS: Initial packet from [AF_INET]18.232.192.190:443, sid=67edb4b7 b0c62fef
May 14 15:38:41 a7b6c21 openvpn[1798]: TCP_CLIENT link remote: [AF_INET]18.232.192.190:443
May 14 15:38:41 a7b6c21 openvpn[1798]: TCP_CLIENT link local: (not bound)
May 14 15:38:41 a7b6c21 openvpn[1798]: Socket flags: TCP_NODELAY=1 succeeded
May 14 15:38:41 a7b6c21 openvpn[1798]: TCP connection established with [AF_INET]18.232.192.190:443
May 14 15:38:40 a7b6c21 openvpn[1798]: Attempting to establish TCP connection with [AF_INET]18.232.192.190:443 [nonblock]
May 14 15:38:40 a7b6c21 openvpn[1798]: Socket Buffers: R=[87380->87380] S=[16384->16384]
May 14 15:38:40 a7b6c21 openvpn[1798]: TCP/UDP: Preserving recently used remote address: [AF_INET]18.232.192.190:443
May 14 15:38:40 a7b6c21 openvpn[1798]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 14 15:33:40 a7b6c21 openvpn[1798]: Restart pause, 300 second(s)
I checked the dashboard and I found the device is online!
Hi @lucianbuzzo
I tested the same version of resin os on another device on the same network, and try the journalctl -a -r -u openvpn
command and here is the output :
root@a7b6c21:~# journalctl -a -r -u openvpn
-- Logs begin at Wed 2018-02-28 06:08:21 UTC, end at Thu 2018-05-17 11:28:13 UTC. --
May 17 11:28:13 a7b6c21 openvpn[748]: TLS: Initial packet from [AF_INET]18.232.192.190:443, sid=1cbf9506 91155091
May 17 11:28:13 a7b6c21 openvpn[748]: TCP_CLIENT link remote: [AF_INET]18.232.192.190:443
May 17 11:28:13 a7b6c21 openvpn[748]: TCP_CLIENT link local: (not bound)
May 17 11:28:13 a7b6c21 openvpn[748]: TCP connection established with [AF_INET]18.232.192.190:443
May 17 11:28:12 a7b6c21 openvpn[748]: Attempting to establish TCP connection with [AF_INET]18.232.192.190:443 [nonblock]
May 17 11:28:12 a7b6c21 openvpn[748]: Socket Buffers: R=[87380->87380] S=[16384->16384]
May 17 11:28:12 a7b6c21 openvpn[748]: TCP/UDP: Preserving recently used remote address: [AF_INET]18.232.192.190:443
May 17 11:28:12 a7b6c21 openvpn[748]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 17 11:28:02 a7b6c21 openvpn[748]: Restart pause, 10 second(s)
May 17 11:28:02 a7b6c21 openvpn[748]: SIGUSR1[soft,tls-error] received, process restarting
May 17 11:28:02 a7b6c21 openvpn[748]: Fatal TLS error (check_tls_errors_co), restarting
May 17 11:28:02 a7b6c21 openvpn[748]: TLS Error: TLS handshake failed
May 17 11:28:02 a7b6c21 openvpn[748]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
May 17 11:27:02 a7b6c21 openvpn[748]: TLS: Initial packet from [AF_INET]34.237.229.125:443, sid=2940202c 88120780
May 17 11:27:02 a7b6c21 openvpn[748]: TCP_CLIENT link remote: [AF_INET]34.237.229.125:443
May 17 11:27:02 a7b6c21 openvpn[748]: TCP_CLIENT link local: (not bound)
May 17 11:27:02 a7b6c21 openvpn[748]: TCP connection established with [AF_INET]34.237.229.125:443
May 17 11:27:01 a7b6c21 openvpn[748]: Attempting to establish TCP connection with [AF_INET]34.237.229.125:443 [nonblock]
May 17 11:27:01 a7b6c21 openvpn[748]: Socket Buffers: R=[87380->87380] S=[16384->16384]
May 17 11:27:01 a7b6c21 openvpn[748]: TCP/UDP: Preserving recently used remote address: [AF_INET]34.237.229.125:443
May 17 11:27:01 a7b6c21 openvpn[748]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 17 11:26:56 a7b6c21 openvpn[748]: Restart pause, 5 second(s)
May 17 11:26:56 a7b6c21 openvpn[748]: SIGUSR1[soft,tls-error] received, process restarting
May 17 11:26:56 a7b6c21 openvpn[748]: Fatal TLS error (check_tls_errors_co), restarting
May 17 11:26:56 a7b6c21 openvpn[748]: TLS Error: TLS handshake failed
May 17 11:26:56 a7b6c21 openvpn[748]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
May 17 11:25:56 a7b6c21 openvpn[748]: TLS: Initial packet from [AF_INET]18.232.192.190:443, sid=c31695b4 432151b9
May 17 11:25:56 a7b6c21 openvpn[748]: TCP_CLIENT link remote: [AF_INET]18.232.192.190:443
May 17 11:25:56 a7b6c21 openvpn[748]: TCP_CLIENT link local: (not bound)
May 17 11:25:56 a7b6c21 openvpn[748]: TCP connection established with [AF_INET]18.232.192.190:443
May 17 11:25:55 a7b6c21 openvpn[748]: Attempting to establish TCP connection with [AF_INET]18.232.192.190:443 [nonblock]
May 17 11:25:55 a7b6c21 openvpn[748]: Socket Buffers: R=[87380->87380] S=[16384->16384]
May 17 11:25:55 a7b6c21 openvpn[748]: TCP/UDP: Preserving recently used remote address: [AF_INET]18.232.192.190:443
May 17 11:25:55 a7b6c21 openvpn[748]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 17 11:25:50 a7b6c21 openvpn[748]: Restart pause, 5 second(s)
May 17 11:25:50 a7b6c21 openvpn[748]: SIGUSR1[soft,tls-error] received, process restarting
May 17 11:25:50 a7b6c21 openvpn[748]: Fatal TLS error (check_tls_errors_co), restarting
May 17 11:25:50 a7b6c21 openvpn[748]: TLS Error: TLS handshake failed
May 17 11:25:50 a7b6c21 openvpn[748]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
May 17 11:24:49 a7b6c21 openvpn[748]: TLS: Initial packet from [AF_INET]34.237.229.125:443, sid=899ff0f6 1c6b8a28
May 17 11:24:49 a7b6c21 openvpn[748]: TCP_CLIENT link remote: [AF_INET]34.237.229.125:443
May 17 11:24:49 a7b6c21 openvpn[748]: TCP_CLIENT link local: (not bound)
May 17 11:24:49 a7b6c21 openvpn[748]: TCP connection established with [AF_INET]34.237.229.125:443
May 17 11:24:48 a7b6c21 openvpn[748]: Attempting to establish TCP connection with [AF_INET]34.237.229.125:443 [nonblock]
May 17 11:24:48 a7b6c21 openvpn[748]: Socket Buffers: R=[87380->87380] S=[16384->16384]
May 17 11:24:48 a7b6c21 openvpn[748]: TCP/UDP: Preserving recently used remote address: [AF_INET]34.237.229.125:443
May 17 11:24:48 a7b6c21 openvpn[748]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 17 11:24:43 a7b6c21 openvpn[748]: Restart pause, 5 second(s)
May 17 11:24:43 a7b6c21 openvpn[748]: SIGUSR1[soft,tls-error] received, process restarting
May 17 11:24:43 a7b6c21 openvpn[748]: Fatal TLS error (check_tls_errors_co), restarting
May 17 11:24:43 a7b6c21 openvpn[748]: TLS Error: TLS handshake failed
May 17 11:24:43 a7b6c21 openvpn[748]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
May 17 11:23:43 a7b6c21 openvpn[748]: TLS: Initial packet from [AF_INET]34.237.229.125:443, sid=25acd532 d90bc1ea
May 17 11:23:43 a7b6c21 openvpn[748]: TCP_CLIENT link remote: [AF_INET]34.237.229.125:443
May 17 11:23:43 a7b6c21 openvpn[748]: TCP_CLIENT link local: (not bound)
May 17 11:23:43 a7b6c21 openvpn[748]: TCP connection established with [AF_INET]34.237.229.125:443
May 17 11:23:42 a7b6c21 openvpn[748]: Attempting to establish TCP connection with [AF_INET]34.237.229.125:443 [nonblock]
May 17 11:23:42 a7b6c21 openvpn[748]: Socket Buffers: R=[87380->87380] S=[16384->16384]
May 17 11:23:42 a7b6c21 openvpn[748]: TCP/UDP: Preserving recently used remote address: [AF_INET]34.237.229.125:443
May 17 11:23:42 a7b6c21 openvpn[748]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 17 11:23:37 a7b6c21 openvpn[748]: Restart pause, 5 second(s)
May 17 11:23:37 a7b6c21 openvpn[748]: SIGUSR1[soft,tls-error] received, process restarting
May 17 11:23:37 a7b6c21 openvpn[748]: Fatal TLS error (check_tls_errors_co), restarting
May 17 11:23:37 a7b6c21 openvpn[748]: TLS Error: TLS handshake failed
May 17 11:23:37 a7b6c21 openvpn[748]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
May 17 11:19:29 a7b6c21 openvpn[748]: WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
May 17 11:19:29 a7b6c21 openvpn[748]: TLS: Initial packet from [AF_INET]18.232.192.190:443, sid=059a3698 83a08fae
May 17 11:19:29 a7b6c21 openvpn[748]: TCP_CLIENT link remote: [AF_INET]18.232.192.190:443
May 17 11:19:29 a7b6c21 openvpn[748]: TCP_CLIENT link local: (not bound)
May 17 11:19:29 a7b6c21 openvpn[748]: TCP connection established with [AF_INET]18.232.192.190:443
May 17 11:19:28 a7b6c21 openvpn[748]: Attempting to establish TCP connection with [AF_INET]18.232.192.190:443 [nonblock]
May 17 11:19:28 a7b6c21 openvpn[748]: Socket Buffers: R=[87380->87380] S=[16384->16384]
May 17 11:19:28 a7b6c21 openvpn[748]: TCP/UDP: Preserving recently used remote address: [AF_INET]18.232.192.190:443
May 17 11:19:28 a7b6c21 openvpn[748]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 17 11:19:23 a7b6c21 openvpn[748]: Restart pause, 5 second(s)
May 17 11:19:23 a7b6c21 openvpn[748]: SIGUSR1[soft,init_instance] received, process restarting
May 17 11:19:23 a7b6c21 openvpn[748]: Could not determine IPv4/IPv6 protocol
May 17 11:19:23 a7b6c21 openvpn[748]: RESOLVE: Cannot resolve host address: vpn.resin.io:443 (Name or service not known)
May 17 11:19:23 a7b6c21 openvpn[748]: RESOLVE: Cannot resolve host address: vpn.resin.io:443 (Name or service not known)
May 17 11:19:23 a7b6c21 openvpn[748]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 17 11:19:18 a7b6c21 openvpn[748]: Restart pause, 5 second(s)
May 17 11:19:18 a7b6c21 openvpn[748]: SIGUSR1[soft,init_instance] received, process restarting
May 17 11:19:18 a7b6c21 openvpn[748]: NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
May 17 11:19:18 a7b6c21 openvpn[748]: Could not determine IPv4/IPv6 protocol
May 17 11:19:18 a7b6c21 openvpn[748]: RESOLVE: Cannot resolve host address: vpn.resin.io:443 (Name or service not known)
May 17 11:19:17 a7b6c21 openvpn[748]: RESOLVE: Cannot resolve host address: vpn.resin.io:443 (Name or service not known)
May 17 11:19:17 a7b6c21 systemd[1]: Started OpenVPN.
May 17 11:19:17 a7b6c21 openvpn[748]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 17 11:19:17 a7b6c21 openvpn[728]: library versions: OpenSSL 1.0.2l 25 May 2017, LZO 2.10
May 17 11:19:17 a7b6c21 openvpn[728]: OpenVPN 2.4.3 arm-poky-linux-gnueabi [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Mar 12 2018
May 17 11:19:17 a7b6c21 openvpn[728]: WARNING: file '/var/volatile/vpnfile' is group or others accessible
May 17 11:19:17 a7b6c21 systemd[1]: Starting OpenVPN...
@lucianbuzzo @zvin any updates ?
@m.nabil This seems really strange.
In order to rule out a hardware issue, can you use the SD card from an other working device and see whether it comes online?
Alternatively you could flash a fresh SD card, verify that it works on a different device and then try it to the one that is having the issue.
If it indeed comes online with a known to work SD card, then could you re-grant us support access to the device with the issue and an other one that is on the same network (and share its dashboard url), so that we can use that as a proxy to connect to the device with the issue?
@thgreasi thanks a lot for your reply.
I flashed a fresh SD and inserted into a new Raspberry Pi 3 but still, I have the same problem.
root@b167ead:~# journalctl -u resin-supervisor
May 31 11:51:15 b167ead openvpn[802]: TLS: Initial packet from [AF_INET]34.237.229.125:443, sid=c88fc320 ebd3278b
May 31 11:51:15 b167ead openvpn[802]: TCP_CLIENT link remote: [AF_INET]34.237.229.125:443
May 31 11:51:15 b167ead openvpn[802]: TCP_CLIENT link local: (not bound)
May 31 11:51:15 b167ead openvpn[802]: TCP connection established with [AF_INET]34.237.229.125:443
May 31 11:51:14 b167ead openvpn[802]: Attempting to establish TCP connection with [AF_INET]34.237.229.125:443 [nonblock]
May 31 11:51:14 b167ead openvpn[802]: Socket Buffers: R=[87380->87380] S=[16384->16384]
May 31 11:51:14 b167ead openvpn[802]: TCP/UDP: Preserving recently used remote address: [AF_INET]34.237.229.125:443
May 31 11:51:14 b167ead openvpn[802]: NOTE: the current --script-security setting may allow this configuration to call u
May 31 11:51:04 b167ead openvpn[802]: Restart pause, 10 second(s)
May 31 11:51:04 b167ead openvpn[802]: SIGUSR1[soft,tls-error] received, process restarting
May 31 11:51:04 b167ead openvpn[802]: Fatal TLS error (check_tls_errors_co), restarting
May 31 11:51:04 b167ead openvpn[802]: TLS Error: TLS handshake failed
May 31 11:51:04 b167ead openvpn[802]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your netwo
May 31 11:50:04 b167ead openvpn[802]: TLS: Initial packet from [AF_INET]34.237.229.125:443, sid=9c1dab9f b4f0ec5a
May 31 11:50:04 b167ead openvpn[802]: TCP_CLIENT link remote: [AF_INET]34.237.229.125:443
May 31 11:50:04 b167ead openvpn[802]: TCP_CLIENT link local: (not bound)
May 31 11:50:04 b167ead openvpn[802]: TCP connection established with [AF_INET]34.237.229.125:443
May 31 11:50:03 b167ead openvpn[802]: Attempting to establish TCP connection with [AF_INET]34.237.229.125:443 [nonblock]
May 31 11:50:03 b167ead openvpn[802]: Socket Buffers: R=[87380->87380] S=[16384->16384]
May 31 11:50:03 b167ead openvpn[802]: TCP/UDP: Preserving recently used remote address: [AF_INET]34.237.229.125:443
May 31 11:50:03 b167ead openvpn[802]: NOTE: the current --script-security setting may allow this configuration to call u
May 31 11:49:53 b167ead openvpn[802]: Restart pause, 10 second(s)
May 31 11:49:53 b167ead openvpn[802]: SIGUSR1[soft,tls-error] received, process restarting
May 31 11:49:53 b167ead openvpn[802]: Fatal TLS error (check_tls_errors_co), restarting
May 31 11:49:53 b167ead openvpn[802]: TLS Error: TLS handshake failed
May 31 11:49:53 b167ead openvpn[802]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your netwo
May 31 11:48:53 b167ead openvpn[802]: TLS: Initial packet from [AF_INET]18.232.192.190:443, sid=583d5de2 db8c2184
May 31 11:48:53 b167ead openvpn[802]: TCP_CLIENT link remote: [AF_INET]18.232.192.190:443
May 31 11:48:53 b167ead openvpn[802]: TCP_CLIENT link local: (not bound)
May 31 11:48:53 b167ead openvpn[802]: TCP connection established with [AF_INET]18.232.192.190:443
May 31 11:48:52 b167ead openvpn[802]: Attempting to establish TCP connection with [AF_INET]18.232.192.190:443 [nonblock]
May 31 11:48:52 b167ead openvpn[802]: Socket Buffers: R=[87380->87380] S=[16384->16384]
May 31 11:48:52 b167ead openvpn[802]: TCP/UDP: Preserving recently used remote address: [AF_INET]18.232.192.190:443
May 31 11:48:52 b167ead openvpn[802]: NOTE: the current --script-security setting may allow this configuration to call u
May 31 11:48:47 b167ead openvpn[802]: Restart pause, 5 second(s)
May 31 11:48:47 b167ead openvpn[802]: SIGUSR1[soft,tls-error] received, process restarting
May 18 05:42:15 b167ead openvpn[802]: WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
May 18 05:42:15 b167ead openvpn[802]: TLS: Initial packet from [AF_INET]34.237.229.125:443, sid=82f60d49 ef206374
May 18 05:42:14 b167ead openvpn[802]: TCP_CLIENT link remote: [AF_INET]34.237.229.125:443
May 18 05:42:14 b167ead openvpn[802]: TCP_CLIENT link local: (not bound)
May 18 05:42:14 b167ead openvpn[802]: TCP connection established with [AF_INET]34.237.229.125:443
May 18 05:42:13 b167ead openvpn[802]: Attempting to establish TCP connection with [AF_INET]34.237.229.125:443 [nonblock]
May 18 05:42:13 b167ead openvpn[802]: Socket Buffers: R=[87380->87380] S=[16384->16384]
May 18 05:42:13 b167ead openvpn[802]: TCP/UDP: Preserving recently used remote address: [AF_INET]34.237.229.125:443
May 18 05:42:13 b167ead openvpn[802]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 18 05:42:08 b167ead openvpn[802]: Restart pause, 5 second(s)
May 18 05:42:08 b167ead openvpn[802]: SIGUSR1[soft,init_instance] received, process restarting
May 18 05:42:08 b167ead openvpn[802]: NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
May 18 05:42:08 b167ead openvpn[802]: Could not determine IPv4/IPv6 protocol
May 18 05:42:08 b167ead openvpn[802]: RESOLVE: Cannot resolve host address: vpn.resin.io:443 (Name or service not known)
May 18 05:42:08 b167ead openvpn[802]: RESOLVE: Cannot resolve host address: vpn.resin.io:443 (Name or service not known)
May 18 05:42:08 b167ead systemd[1]: Started OpenVPN.
I believe the issue with VPN connection
max@Mohamed-Nabil:~$ nmap -p 443 api.resin.io
Starting Nmap 7.01 ( https://nmap.org ) at 2018-05-31 14:06 STD
Problem binding to interface , errno: 92
socket_bindtodevice: Protocol not available
Problem binding to interface , errno: 92
socket_bindtodevice: Protocol not available
NSOCK ERROR [0.2780s] mksock_bind_device(): Setting of SO_BINDTODEVICE failed (IOD #1): Protocol not available (92)
NSOCK ERROR [0.2790s] mksock_bind_device(): Setting of SO_BINDTODEVICE failed (IOD #2): Protocol not available (92)
Problem binding to interface , errno: 92
socket_bindtodevice: Protocol not available
Nmap scan report for api.resin.io (34.202.104.136)
Host is up (0.16s latency).
Other addresses for api.resin.io (not scanned): 52.86.191.185
rDNS record for 34.202.104.136: ec2-34-202-104-136.compute-1.amazonaws.com
PORT STATE SERVICE
443/tcp open https
Nmap done: 1 IP address (1 host up) scanned in 7.03 seconds
I flashed a fresh SD and inserted into a new Raspberry Pi 3
I guess that this rules out HW issue on the RPi or a faulty flashing.
That’s really strange given that you have other devices on the same network that are able to connect to the vpn and show as online on the dashboard.
Can you try connecting the new RPi in one of the spots that the RPis that come online are connected. If it comes up, then it’s either a faulty ethernet cable or the devices are not operating with the exact same network rules.
Can you also try to telnet to vpn.resin.io on port 443 and see if a connection can be established?
Let me also share with you our docs page about VPN requirements:
https://docs.resin.io/reference/resinOS/network/2.x/#network-requirements
@thgreasi
both devices the old and new RPI is connected to the same network, even the RPI is going online on this network without changing anything.
Here is the telnet from a device in the same network :
max@Mohamed-Nabil:~$ telnet vpn.resin.io 443
Trying 34.237.229.125...
Connected to resin-vpnnl-s1wro58y28co-67b66e9f6dbf0e29.elb.us-east-1.amazonaws.com.
Escape character is '^]'.
Connection closed by foreign host.
and here is a telnet from the host OS for the RPI :
root@b167ead:~# telnet vpn.resin.io 443
Connection closed by foreign host
@thgreasi how to check if the issue related to RPI HW ? i update both RPI to latest firemware.
Try replacing one of your working RPis with the one that has trouble connecting to the VPN. Make sure that you still use the ethernet cable of the working Pi, so that we can replicate the same network & HW conditions of the working Pi.
@thgreasi to make everything clear I don’t have a working RPI with resin networks, the RPIs came online and offline randomly!
I am getting same issue now.
Here is my output of journalctl -a -u openvpn
command:
root@fin_1:~# journalctl -a -u openvpn
-- Logs begin at Sat 2000-01-01 00:00:21 UTC, end at Wed 2019-06-12 09:53:28 UTC. --
Jun 12 07:31:12 fin_1 systemd[1]: Started OpenVPN.
Jun 12 07:31:12 fin_1 openvpn[1397]: Wed Jun 12 07:31:12 2019 WARNING: file '/var/volatile/vpn-auth' is group or others accessible
Jun 12 07:31:12 fin_1 openvpn[1397]: Wed Jun 12 07:31:12 2019 OpenVPN 2.4.3 arm-poky-linux-gnueabi [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Apr 24 2019
Jun 12 07:31:12 fin_1 openvpn[1397]: Wed Jun 12 07:31:12 2019 library versions: OpenSSL 1.1.1a 20 Nov 2018, LZO 2.10
Jun 12 07:31:12 fin_1 openvpn[1397]: Wed Jun 12 07:31:12 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Jun 12 07:31:12 fin_1 openvpn[1397]: Wed Jun 12 07:31:12 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]18.232.192.190:443
Jun 12 07:31:12 fin_1 openvpn[1397]: Wed Jun 12 07:31:12 2019 Socket Buffers: R=[87380->87380] S=[16384->16384]
Jun 12 07:31:12 fin_1 openvpn[1397]: Wed Jun 12 07:31:12 2019 Attempting to establish TCP connection with [AF_INET]18.232.192.190:443 [nonblock]
Jun 12 07:31:13 fin_1 openvpn[1397]: Wed Jun 12 07:31:13 2019 TCP connection established with [AF_INET]18.232.192.190:443
Jun 12 07:31:13 fin_1 openvpn[1397]: Wed Jun 12 07:31:13 2019 TCP_CLIENT link local: (not bound)
Jun 12 07:31:13 fin_1 openvpn[1397]: Wed Jun 12 07:31:13 2019 TCP_CLIENT link remote: [AF_INET]18.232.192.190:443
Jun 12 07:31:13 fin_1 openvpn[1397]: Wed Jun 12 07:31:13 2019 NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
Jun 12 07:32:13 fin_1 openvpn[1397]: Wed Jun 12 07:32:13 2019 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Jun 12 07:32:13 fin_1 openvpn[1397]: Wed Jun 12 07:32:13 2019 TLS Error: TLS handshake failed
Jun 12 07:32:13 fin_1 openvpn[1397]: Wed Jun 12 07:32:13 2019 Fatal TLS error (check_tls_errors_co), restarting
Jun 12 07:32:13 fin_1 openvpn[1397]: Wed Jun 12 07:32:13 2019 SIGUSR1[soft,tls-error] received, process restarting
Jun 12 07:32:13 fin_1 openvpn[1397]: Wed Jun 12 07:32:13 2019 Restart pause, 5 second(s)
Jun 12 07:32:18 fin_1 openvpn[1397]: Wed Jun 12 07:32:18 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Jun 12 07:32:18 fin_1 openvpn[1397]: Wed Jun 12 07:32:18 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]34.237.229.125:443
Jun 12 07:32:18 fin_1 openvpn[1397]: Wed Jun 12 07:32:18 2019 Socket Buffers: R=[87380->87380] S=[16384->16384]
Jun 12 07:32:18 fin_1 openvpn[1397]: Wed Jun 12 07:32:18 2019 Attempting to establish TCP connection with [AF_INET]34.237.229.125:443 [nonblock]
Jun 12 07:32:26 fin_1 openvpn[1397]: Wed Jun 12 07:32:26 2019 TCP connection established with [AF_INET]34.237.229.125:443
Jun 12 07:32:26 fin_1 openvpn[1397]: Wed Jun 12 07:32:26 2019 TCP_CLIENT link local: (not bound)
Jun 12 07:32:26 fin_1 openvpn[1397]: Wed Jun 12 07:32:26 2019 TCP_CLIENT link remote: [AF_INET]34.237.229.125:443
Jun 12 07:32:26 fin_1 openvpn[1397]: Wed Jun 12 07:32:26 2019 Connection reset, restarting [-1]
Jun 12 07:32:26 fin_1 openvpn[1397]: Wed Jun 12 07:32:26 2019 SIGUSR1[soft,connection-reset] received, process restarting
Jun 12 07:32:26 fin_1 openvpn[1397]: Wed Jun 12 07:32:26 2019 Restart pause, 5 second(s)
Jun 12 07:32:31 fin_1 openvpn[1397]: Wed Jun 12 07:32:31 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Jun 12 07:32:41 fin_1 openvpn[1397]: Wed Jun 12 07:32:41 2019 RESOLVE: Cannot resolve host address: vpn.balena-cloud.com:443 (Temporary failure in name resolution)
Jun 12 07:32:51 fin_1 openvpn[1397]: Wed Jun 12 07:32:51 2019 RESOLVE: Cannot resolve host address: vpn.balena-cloud.com:443 (Temporary failure in name resolution)
Jun 12 07:32:51 fin_1 openvpn[1397]: Wed Jun 12 07:32:51 2019 Could not determine IPv4/IPv6 protocol
Any idea?
Hi there,
From the end of those logs, it looks as if balenaOS is having trouble resolving the vpn.balena-cloud.com
name. Could there possibly be an issue with DNS on the local network, or another network issue that may be causing this?
Best regards, Heds