Page 1 of 1

mac m1 connect error:Transport Error: socket_protect error (UDP)

Posted: Mon Jun 06, 2022 1:15 pm
by jagger
macos system monterey version 12.4
openvpn version: 3.3.6(4368)
error log:
⏎[Jun 6, 2022, 21:04:06] Transport Error: socket_protect error (UDP)
⏎[Jun 6, 2022, 21:04:06] Client terminated, restarting in 2000 ms...
⏎[Jun 6, 2022, 21:04:08] EVENT: RECONNECTING ⏎[Jun 6, 2022, 21:04:08] EVENT: RESOLVE ⏎[Jun 6, 2022, 21:04:08] Contacting 7.6.3.7:11940(host) via UDP
⏎[Jun 6, 2022, 21:04:08] EVENT: WAIT ⏎[Jun 6, 2022, 21:04:08] UnixCommandAgent: transmitting bypass route to /var/run/agent_ovpnconnect.sock
{
"host" : "host",
"ipv6" : false,
"pid" : 4487
}

⏎[Jun 6, 2022, 21:04:08] Transport Error: socket_protect error (UDP)
⏎[Jun 6, 2022, 21:04:08] Client terminated, restarting in 2000 ms...

Re: mac m1 connect error:Transport Error: socket_protect error (UDP)

Posted: Fri Jul 15, 2022 3:42 pm
by openvpn_inc
Hi,

Based on the error logs which is "Transport Error: socket_protect error (UDP)"
This means that Agent (system OpenVPN service) most likely is not running. You should check it in the Services, and the service name is agent_ovpnconnect. If it is not running, start it manually.

Regards,
.\kionci

Re: mac m1 connect error:Transport Error: socket_protect error (UDP)

Posted: Fri Jul 26, 2024 10:53 am
by redivan92
Hello @openvon_inc
I have the same error on macOS Monterey 12.7.5 and can't fix it
Could you help me, pls?

Log
⏎[Jul 26, 2024, 16:13:33] Transport Error: socket_protect error (UDP)
⏎[Jul 26, 2024, 16:13:33] Client terminated, restarting in 2000 ms...
⏎[Jul 26, 2024, 16:13:35] EVENT: RECONNECTING ⏎[Jul 26, 2024, 16:13:35] EVENT: RESOLVE ⏎[Jul 26, 2024, 16:13:35] Contacting 194.67.82.169:1194 via UDP
⏎[Jul 26, 2024, 16:13:35] EVENT: WAIT ⏎[Jul 26, 2024, 16:13:35] UnixCommandAgent: transmitting bypass route to /var/run/agent_ovpnconnect.sock
{
"host" : "194.67.82.169",
"ipv6" : false,
"pid" : 544
}

⏎[Jul 26, 2024, 16:13:35] Transport Error: socket_protect error (UDP)
⏎[Jul 26, 2024, 16:13:35] Client terminated, restarting in 2000 ms...
⏎[Jul 26, 2024, 16:13:37] EVENT: CONNECTION_TIMEOUT SOCKET_PROTECT_ERROR : 30
CONNECTION_TIMEOUT : 1
N_RECONNECT : 29
⏎[Jul 26, 2024, 16:13:37] EVENT: DISCONNECTED ⏎[Jul 26, 2024, 16:14:43] Raw stats on disconnect:
SOCKET_PROTECT_ERROR : 30
CONNECTION_TIMEOUT : 1
N_RECONNECT : 29

⏎[Jul 26, 2024, 16:14:43] Performance stats on disconnect:
CPU usage (microseconds): 7316997
Network bytes per CPU second: 0
Tunnel bytes per CPU second: 0