Partial failure with Version 3.4.2 (4547) now complete failure
Posted: Tue Aug 01, 2023 3:44 am
So for some time I've had unexplained connection issues with OpenVPN on a Macbook Air M2
This USED to work
Power on Macbook or resume from suspended
Already installed is OpenVPN Connect
Its already in the login items on startup
I start the client GUI - OK
I start my session - Not okay
I download latest client from Internet
I install the .dmg for Apple Silicon
I dont reboot
I start my session - WORKS
So if I ever reboot or suspend the system and then try to start my session - FAILS
In other words, to get it working I need to reinstall the software and not reboot.
----
NOW as of Tuesday July 31st this workaround stopped working !!!
I'm desperate to get into my target servers as I'm remote for next week.
I tried all the above steps multiple times but non of my target VPN servers work.
I could reason that that one server is down, but all of them unlikely!
macos is ventura 13.5 and OpenVPN Connect is at 4547
----
I note that ovpnagent is not running so from this posting viewtopic.php?t=35116
I did this command in a non root terminal window
sudo /Library/Frameworks/OpenVPNConnect.framework/Versions/Current/usr/sbin/ovpnagent
this is displayed before the GUI starts in terminal window
then I start the GUI client
nothing further
Now I click the slider to connect ...
Client GUI error now says
I can ping my remote VPN server at IP address a.b.c.d (redacted for privacy)
I can see that the agent is running like this
When I close the GUI now I see the process
is shut down but the agent is still running. But restarting the Client and clicking connect does still not work.
Can somebody assist?
This USED to work
Power on Macbook or resume from suspended
Already installed is OpenVPN Connect
Its already in the login items on startup
I start the client GUI - OK
I start my session - Not okay
I download latest client from Internet
I install the .dmg for Apple Silicon
I dont reboot
I start my session - WORKS
So if I ever reboot or suspend the system and then try to start my session - FAILS
In other words, to get it working I need to reinstall the software and not reboot.
----
NOW as of Tuesday July 31st this workaround stopped working !!!
I'm desperate to get into my target servers as I'm remote for next week.
I tried all the above steps multiple times but non of my target VPN servers work.
I could reason that that one server is down, but all of them unlikely!
macos is ventura 13.5 and OpenVPN Connect is at 4547
----
I note that ovpnagent is not running so from this posting viewtopic.php?t=35116
I did this command in a non root terminal window
sudo /Library/Frameworks/OpenVPNConnect.framework/Versions/Current/usr/sbin/ovpnagent
this is displayed before the GUI starts in terminal window
Code: Select all
sudo /Library/Frameworks/OpenVPNConnect.framework/Versions/Current/usr/sbin/ovpnagent
Password:
OpenVPN Agent (Mac) 0.1.1 [OpenSSL]
Tue Aug 1 04:28:47.235 2023 HTTP Listen: http-listen /var/run/agent_ovpnconnect.sock UnixStream 1
nothing further
Now I click the slider to connect ...
Code: Select all
Tue Aug 1 04:30:59.591 2023 HTTP request received from LOCAL
HTTP Request
method=POST
uri=/add-bypass-route
version=1/1
[0] Host=/var/run/agent_ovpnconnect.sock
[1] Content-Type=application/json
[2] Content-Length=62
[3] Accept=*/*
Tue Aug 1 04:30:59.592 2023 Setting up watchdog for pid 1202 exit notification
Tue Aug 1 04:30:59.601 2023 /sbin/route add -net a.b.c.d -netmask 255.255.255.255 192.168.20.1
add net a.b.c.d: gateway 192.168.20.1
Tue Aug 1 04:30:59.601 2023 INSTANCE STOP : E_SUCCESS : Succeeded
Code: Select all
Connection Timeout
Cannot connect because of the following error(s)
Lost connection to server: 1 times
I can see that the agent is running like this
Code: Select all
ps | grep -i vpn
1185 ttys002 0:00.02 sudo /Library/Frameworks/OpenVPNConnect.framework/Versions/Current/usr/sbin/ovpnagent
1187 ttys002 0:00.01 /Library/Frameworks/OpenVPNConnect.framework/Versions/Current/usr/sbin/ovpnagent
When I close the GUI now I see the process
Code: Select all
/Applications/OpenVPN Connect/OpenVPN Connect.app/Contents/Frameworks/OpenVPN Connect Helper.app/Contents/MacOS/OpenVPN Connect Helper
Can somebody assist?