read UDPv4: Connection reset by peer (WSAECONNRESET) - but only every second time -

This forum is for admins who are looking to build or expand their OpenVPN setup.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
snugger
OpenVpn Newbie
Posts: 4
Joined: Wed Jun 15, 2016 3:39 pm

read UDPv4: Connection reset by peer (WSAECONNRESET) - but only every second time -

Post by snugger » Sun Sep 08, 2019 4:59 pm

Hi,

I set up a OpenVPN server 2.3.11 and generally it works.

The strange thing is that every SECOND time the VPN connection is also established and PING from client to server is also possible.
But during the windows RDP-logon process the login hangs and the connection freezes.
The client log shows the following error

read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)

and ping from client to server is no more possible. The client has to connect again and then it works, this time the windows RDP login is very fast and the VPN-connection is stable. But the third VPN connection attempt will fail again :D

Any suggestions?

Thanks
;)
Last edited by snugger on Sun Sep 08, 2019 7:02 pm, edited 1 time in total.

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 5920
Joined: Fri Jun 03, 2016 1:17 pm

Re: read UDPv4: Connection reset by peer (WSAECONNRESET) - but only every second time -

Post by TinCanTech » Sun Sep 08, 2019 5:14 pm

See your log files.

snugger
OpenVpn Newbie
Posts: 4
Joined: Wed Jun 15, 2016 3:39 pm

Re: read UDPv4: Connection reset by peer (WSAECONNRESET) - but only every second time -

Post by snugger » Sun Sep 08, 2019 6:59 pm

Problem solved! Was my own fault using a bad startup script. :D

Please mark it as solved. Thanks

Post Reply