Open AraHaan opened 2 years ago
"Aborted" means the connection was closed for some external reason (network blip, serverside crash, gremlins, cosmic rays etc.). It is an unavoidable fact of network communication and not something Remora nor Polly can fix.
Summary: Currently when using Discord Bots sometimes the sockets get into an invalid state, however it is most of the time frequently in about every few hours.
Expected behavior:
For the socket to not go into invalid state ('Aborted') and instead go into CloseSent so that way WebSocketException is not thrown.
Actual behaviour:
Steps / Code to reproduce the problem:
I sadly personally never used WaitAndRetry myself but I think Asking @Nihlus for example code that can reproduce it can help narrow down the cause.