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

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
jagger
OpenVpn Newbie
Posts: 2
Joined: Mon Jun 06, 2022 1:10 pm

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

Post by jagger » Mon Jun 06, 2022 1:15 pm

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...

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1332
Joined: Tue Feb 16, 2021 10:41 am

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

Post by openvpn_inc » Fri Jul 15, 2022 3:42 pm

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
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

redivan92
OpenVpn Newbie
Posts: 1
Joined: Fri Jul 26, 2024 10:51 am

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

Post by redivan92 » Fri Jul 26, 2024 10:53 am

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

Post Reply