Service Stopped - Exiting due to fatal error - SG3100 21.05.2
-
My OpenVPN connection has been rock solid for years. Immediately I upgraded to 21.05.2 on my SG3100, the VPN will run for about 6 hours and then crash requiring a manual restart of the OpenVPN Daemon (server side) to recover.
I am using:
AES-256-GCM
AES-128-GCM for my encryption algorithmsI am at a loss as to work to dig next for the root cause.
Mike
Jan 25 04:26:55 openvpn 46268 /usr/local/sbin/ovpn-linkdown ovpns1 1500 1561 10.0.8.1 10.0.8.2 init
Jan 25 04:26:55 openvpn 46268 Closing TUN/TAP interface
Jan 25 04:26:55 openvpn 46268 /sbin/route delete -net 192.168.110.0 10.0.8.2 255.255.255.0
Jan 25 04:26:55 openvpn 46268 Exiting due to fatal error
Jan 25 04:26:55 openvpn 46268 TCP/UDP: Socket bind failed on local address [AF_INET]99.229.125.21:6001: Can't assign requested address (errno=49)
Jan 25 04:26:55 openvpn 46268 Socket Buffers: R=[42080->42080] S=[65507->65507]
Jan 25 04:26:55 openvpn 46268 Preserving previous TUN/TAP instance: ovpns1
Jan 25 04:26:55 openvpn 46268 Re-using pre-shared static key
Jan 25 04:26:55 openvpn 46268 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Jan 25 04:26:50 openvpn 46268 Restart pause, 5 second(s)
Jan 25 04:26:50 openvpn 46268 SIGUSR1[soft,ping-restart] received, process restarting
Jan 25 04:26:50 openvpn 46268 Inactivity timeout (--ping-restart), restarting
Jan 25 04:26:49 openvpn 46268 write UDPv4: No route to host (code=65)
Jan 25 04:26:47 openvpn 46268 write UDPv4: No route to host (code=65)
Jan 25 04:26:46 openvpn 46268 write UDPv4: No route to host (code=65)
Jan 25 04:26:43 openvpn 46268 MANAGEMENT: Client disconnected
Jan 25 04:26:43 openvpn 46268 MANAGEMENT: CMD 'quit'
Jan 25 04:26:42 openvpn 46268 MANAGEMENT: CMD 'status 2'
Jan 25 04:26:42 openvpn 46268 MANAGEMENT: Client connected from /var/etc/openvpn/server1/sock
Jan 25 04:26:39 openvpn 46268 write UDPv4: No route to host (code=65) -
More on this - mostly for my own notes:
Jan 29 00:14:50 pfSense openvpn[75977]: Inactivity timeout (--ping-restart), restarting
Jan 29 00:14:50 pfSense openvpn[75977]: SIGUSR1[soft,ping-restart] received, process restarting
Jan 29 00:14:50 pfSense openvpn[75977]: Restart pause, 5 second(s)
Jan 29 00:14:55 pfSense openvpn[75977]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Jan 29 00:14:55 pfSense openvpn[75977]: Re-using pre-shared static key
Jan 29 00:14:55 pfSense openvpn[75977]: Preserving previous TUN/TAP instance: ovpns1
Jan 29 00:14:55 pfSense openvpn[75977]: Socket Buffers: R=[42080->42080] S=[65507->65507]
Jan 29 00:14:55 pfSense openvpn[75977]: TCP/UDP: Socket bind failed on local address [AF_INET]99.229.125.21:6001: Can't assign requested address (errno=49)
Jan 29 00:14:55 pfSense openvpn[75977]: Exiting due to fatal error
Jan 29 00:14:55 pfSense openvpn[75977]: /sbin/route delete -net 192.168.110.0 10.0.8.2 255.255.255.0
Jan 29 00:14:55 pfSense openvpn[75977]: Closing TUN/TAP interface
Jan 29 00:14:55 pfSense openvpn[75977]: /usr/local/sbin/ovpn-linkdown ovpns1 1500 1561 10.0.8.1 10.0.8.2 init