corpat
corpat
CDCloudflare Developers
Created by corpat on 12/14/2024 in #general-help
Random SocketException
We are using cloudflare (business) and we have a problem with connections being closed randomly. The error that we see is "System.Net.Sockets.SocketException (10054): An existing connection was forcibly closed by the remote host". The issue is quite rare. I have setup several computers that "ping" an endpoint using httpclient. The computers send a ping every 500ms. There might be 1-2 errors per day. The reason why I suspect there is a problem with cloudflare is that I have on the exact same computers setup the same ping but directly to the server behind cloudflare DNS and these ping have no errors at all for 10 days, while requests that go through cloudflare have 0-3 socket errors each day. Anyone had a similar error or suggestions on where to start looking?
3 replies