Errors writing to network socket

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
dick@manitookglass
OpenVpn Newbie
Posts: 2
Joined: Tue Sep 26, 2023 4:54 pm

Errors writing to network socket

Post by dick@manitookglass » Tue Sep 26, 2023 5:22 pm

I am running OpenVPN Connect client version 3.4.2 for MacOS. I am running MacOS Mojave (version 10.14.6) on a MacBook Pro (Intel processor).

My OpenVPN server is an ASUS RT-AC68U router.

This setup has been working for several months.

Starting yesterday (9/25/2023), I can't connect. I get "Errors writing to network socket"

What has changed? How do I fix this?

My OpenVPN.log looks like this:

[Sep 25, 2023, 23:48:25] EVENT: RESOLVE ⏎[Sep 25, 2023, 23:48:26] Contacting 73.149.145.111:4201 via UDP
⏎[Sep 25, 2023, 23:48:26] EVENT: WAIT ⏎[Sep 25, 2023, 23:48:26] UnixCommandAgent: transmitting bypass route to /var/run/agent_ovpnconnect.sock
{
"host" : "73.149.145.111",
"ipv6" : false,
"pid" : 69636
}

⏎[Sep 25, 2023, 23:48:26] Connecting to [auto-bon.asuscomm.com]:4201 (73.149.145.111) via UDPv4
⏎[Sep 25, 2023, 23:48:26] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:26] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:27] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:28] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:29] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:30] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:31] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:32] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:33] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:34] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:35] Server poll timeout, trying next remote entry...
⏎[Sep 25, 2023, 23:48:35] EVENT: RECONNECTING ⏎[Sep 25, 2023, 23:48:35] EVENT: RESOLVE ⏎[Sep 25, 2023, 23:48:35] Contacting 73.149.145.111:4201 via UDP
⏎[Sep 25, 2023, 23:48:35] EVENT: WAIT ⏎[Sep 25, 2023, 23:48:35] UnixCommandAgent: transmitting bypass route to /var/run/agent_ovpnconnect.sock
{
"host" : "73.149.145.111",
"ipv6" : false,
"pid" : 69636
}

⏎[Sep 25, 2023, 23:48:35] Connecting to [auto-bon.asuscomm.com]:4201 (73.149.145.111) via UDPv4
⏎[Sep 25, 2023, 23:48:35] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:36] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:37] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:38] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:39] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:40] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:41] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:42] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:43] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:44] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:45] Server poll timeout, trying next remote entry...
⏎[Sep 25, 2023, 23:48:45] EVENT: RECONNECTING ⏎[Sep 25, 2023, 23:48:45] EVENT: RESOLVE ⏎[Sep 25, 2023, 23:48:45] Contacting 73.149.145.111:4201 via UDP
⏎[Sep 25, 2023, 23:48:45] EVENT: WAIT ⏎[Sep 25, 2023, 23:48:45] UnixCommandAgent: transmitting bypass route to /var/run/agent_ovpnconnect.sock
{
"host" : "73.149.145.111",
"ipv6" : false,
"pid" : 69636
}

⏎[Sep 25, 2023, 23:48:45] Connecting to [auto-bon.asuscomm.com]:4201 (73.149.145.111) via UDPv4
⏎[Sep 25, 2023, 23:48:45] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:46] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:47] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:48] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:49] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:50] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:51] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:52] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:53] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:54] UDP send exception: send: Can't assign requested address
⏎[Sep 25, 2023, 23:48:55] EVENT: CONNECTION_TIMEOUT NETWORK_SEND_ERROR : 30
CONNECTION_TIMEOUT : 1
N_RECONNECT : 2
⏎[Sep 25, 2023, 23:48:55] EVENT: DISCONNECTED ⏎[Sep 26, 2023, 12:25:24] Raw stats on disconnect:
NETWORK_SEND_ERROR : 30
CONNECTION_TIMEOUT : 1
N_RECONNECT : 2

dick@manitookglass
OpenVpn Newbie
Posts: 2
Joined: Tue Sep 26, 2023 4:54 pm

Re: Errors writing to network socket

Post by dick@manitookglass » Wed Sep 27, 2023 2:43 am

Tried all manners of things today -- nothing worked. Then, my co-worker sent me an email thanking me for whatever I did, 'cuz now the VPN was working again. I went back and tried to connect and, sure enough, worked like it always had.

I have no idea what changed, but it all works now.

Post Reply