openvpn3
openvpn3 copied to clipboard
bug for mac
Transport Error: socket_protect error (UDP)
I can link normally with my mobile phone, but not with my Mac, The computer can't link when the mobile phone is off
me too
me too
me too
me tooooooooooooo
i am use it on m1 and Monterey。same bug
Tunnelblick can work
me to

+++
me tooooo
me too
me tooooooooo
me tooooooooo
same here
Closing this bug since has no actual information and there seem to be only a flood of useless "me too" responses that also have no detailed information.
Lmao, did u even tried to investigate it ?
I don't know what issue other have, but I was able to solve mine today.
I was getting an error calling protected() method
and same logs as mentiones above. I figured out that the file /var/run/agent_ovpnconnect.sock
didn't exist and apparently the problem was that for any reason the ovpn agent wasn't running. To solve this I had to start /Library/Frameworks/OpenVPNConnect.framework/Versions/Current/usr/sbin/ovpnagent
manually (I'm using macOS M1 12.2.1).
Hope it will help someone.
Interesting. Thanks
Interesting. Thanks
@effolkronium the original error is just failing to connect to a UDP server. Any kind of condition can lead to that like no network connection. So without any further information and just hte error message, there is nothing we can do and that is why I closed the ticket.
@schwabe then it would be better to extend logging for this error, so guys will have a chance to send meaningful reports. Just an idea
I don't know what issue other have, but I was able to solve mine today.
I was getting an
error calling protected() method
and same logs as mentiones above. I figured out that the file/var/run/agent_ovpnconnect.sock
didn't exist and apparently the problem was that for any reason the ovpn agent wasn't running. To solve this I had to start/Library/Frameworks/OpenVPNConnect.framework/Versions/Current/usr/sbin/ovpnagent
manually (I'm using macOS 12.2.1).Hope it will help someone.
thanks so much man, all works well now.
I'm seeing the same problem on an M1 Mac. OpenVPN Connect 3.3.6 (4368): Error calling protect () method on socket. Here's my log:
[Sep 15, 2022, 07:17:13] EVENT: RESOLVE
[Sep 15, 2022, 07:17:13] Contacting
XXX.XXX.XXX.XXX:1194 via UDP
[Sep 15, 2022, 07:17:13] EVENT: WAIT
[Sep 15, 2022, 07:17:13] UnixCommandAgent:
transmitting bypass route to
/var/run/agent_ovpnconnect.sock
"host": "XXX.XXX.XXX.XXX"
"ipv6": false,
"pid": 11202
[Sep 15, 2022, 07:17:13] Transport Error:
socket_protect error (UDP)
[Sep 15, 2022, 07:17:13] Client terminated
restarting in 2000 ms...
To solve this I had to start /Library/Frameworks/OpenVPNConnect.framework/Versions/Current/usr/sbin/ovpnagent manually (I'm using macOS 12.2.1).
This solved it for me, thanks! It's bummer that we need to lunch this process ourselves though :-/
@schwabe do you mind reopening this issue? It still persists and needs to be addressed. We will help with the logs and whatever else you need
「設定→バックグラウンド実行を許可」に「openvpn client」を含む項目のチェックを入れてから解決しました。
$ sudo /Library/Frameworks/OpenVPNConnect.framework/Versions/Current/usr/sbin/ovpnagent this command is all right! thanks up man! thanks you;
I don't know what issue other have, but I was able to solve mine today.
I was getting an
error calling protected() method
and same logs as mentiones above. I figured out that the file/var/run/agent_ovpnconnect.sock
didn't exist and apparently the problem was that for any reason the ovpn agent wasn't running. To solve this I had to start/Library/Frameworks/OpenVPNConnect.framework/Versions/Current/usr/sbin/ovpnagent
manually (I'm using macOS M1 12.2.1).Hope it will help someone.
Thank you @antonb-taod
I've been having this issue for a few days now and it's because I'm using hardware tokens.
I've fixed with sudo /Library/Frameworks/OpenVPNConnect.framework/Versions/Current/usr/sbin/ovpnagent
.
sudo /Library/Frameworks/OpenVPNConnect.framework/Versions/Current/usr/sbin/ovpnagent
thanks it work like a charm
sudo /Library/Frameworks/OpenVPNConnect.framework/Versions/Current/usr/sbin/ovpnagent
this works!
I saw a solution on reddit.it solved my problem. My machine is macbook air M1, openvpn is 3.4.1 (4522), which is already the latest version, but I still have this error. Here are the steps mentioned on reddit to fix it. Run these commands in a terminal:
sudo launchctl unload -w /Library/LaunchDaemons/org.openvpn.client.plist
ps auxww | grep ovpnagent
you shouldn't see: /Library/Frameworks/OpenVPNConnect.framework/Versions/Current/usr/sbin/ovpnagent
sudo launchctl load -w /Library/LaunchDaemons/org.openvpn.client.plist
ps auxww | grep ovpnagent
you SHOULD see: 1. /Library/Frameworks/OpenVPNConnect.framework/Versions/Current/usr/sbin/ovpnagent (owned by root) Reboot the laptop Connect to the VPN