Skip to content

App does not resumes correctly OpenVPN after crash

Scenario:

  • the app crashes (tested sending SIGKILL to it)
  • openvpn keeps running
  • start the app again
  • when you're asked for administrative privileges to start the openvpn, you accept
  • the app stops openvpn correctly
  • the app sometimes does not start openvpn correctly. I couldn't reproduce always.

In the terminal, it displays messages like:

TLS Error: Unroutable control packet received from [AF_INET]85.17.92.167:1194 (si=3 op=P_CONTROL_V1)
TLS Error: local/remote TLS keys are out of sync: [AF_INET]85.17.92.167:1194 [0]
TLS Error: TLS handshake failed
SIGUSR1[soft,tls-error] received, process restarting

Other scenario:

  • kill the app
  • openvpn keeps running
  • start the app again
  • when you're asked for administrative privileges to start the openvpn, you cancel
  • the app stops openvpn correctly
  • now you can start a new openvpn instance without problem ('Turn ON' button).

(from redmine: created on 2013-07-25, closed on 2013-10-21, relates #2644 (closed), relates #4060 (closed), precedes #3900 (closed), precedes #3901 (closed))