Hi,
await messageWebSocket.ConnectAsync(new Uri(URL));
I am getting this error while connecting websocket in my uwp app. This problem occurs when the internet reconnects and the application is in a suspended state. Internet speed is fine and it also connects after exiting the application but does not automatically reconnect after resuming app.
On another system I get this error - The text associated with this error code could not be found. A connection with the server could not be established.
and if I run an API to check either internet is available or not it still give response.StatusCode=0
for example- https://s3.amazonaws.com