Read UDPv4 [ECONNREFUSED]: Connection refused (code=111)

Server version: v1.32.3552.76 f154ee
Pritunl client version: v1.3.3484.2

Behavior:
Clients will attempt to connect to the server. Clients will auth, an IP will be provided, user goes green on the dashboard, and after 60 seconds (the ping timeout) the client will error out and retry to connect. After a few attempts the client will be able to connect.

Serverlog:
Inactivity timeout (–ping-restart), restarting
User disconnected user_id=
read UDPv4 [ECONNREFUSED]: Connection refused (code=111)"

I have tried to correct this issue a few times now and it just keeps happening. Any assistance would be greatly appreciated.

This is typically an issue with the OpenVPN server build. The RHEL Connection Fix documentation has information on installing the newer pritunl-openvpn package. This requires a RHEL based distribution configured with the Oracle Linux 7 or Oracle Linux 8 Pritunl repository.

This can be tested by running the server on TCP which will also fix the issue.

1 Like

That did the trick!
Much appreciated.

Hi i have the same problem but for UDPv6 on Ubuntu 22.04, but it only seems to be for some users and only for my VPN node1 not VPN node2?

So:

  • User_A → Node1 (Normally not working)
  • User_A → Node2 (Normally working)
  • User_B → Node1 (Normally working)
  • User_B → Node2 (Normally working)

Server version: v1.32.3805.95
Client version: v1.3.3883.60

Sample log:

[Node1] 2024-06-20 06:37:00 <user_id>/<user_ipv4>:63904 MULTI_sva: pool returned IPv4=198.18.12.2, IPv6=fd00:c612:c00::1000
[Node1] 2024-06-20 06:37:00 User connected user_id=<user_id>
[Node1] 2024-06-20 06:37:00 <user_id>/<user_ipv4>:63904 MULTI_sva: push_ifconfig_ipv6 fd00:c612:c00:0:198:18:12:6/64
[Node1] 2024-06-20 06:37:32 read UDPv6 [NO-INFO]: Connection refused (code=111)
[Node1] 2024-06-20 06:37:42 read UDPv6 [NO-INFO]: Connection refused (code=111)
[Node1] 2024-06-20 06:37:52 read UDPv6 [NO-INFO]: Connection refused (code=111)
[Node1] 2024-06-20 06:38:02 NOTE: --mute triggered...
[Node1] 2024-06-20 06:38:19 <user_id>/<user_ipv4>:63904 3 variation(s) on previous 3 message(s) suppressed by --mute
[Node1] 2024-06-20 06:38:19 User disconnected user_id=<user_id>
[Node1] 2024-06-20 06:38:19 <user_id>/<user_ipv4>:63904 [<user_id>] Inactivity timeout (--ping-restart), restarting