Last post Mar 11, 2021 10:41 PM by edowns
Mar 11, 2021 10:41 PM|edowns|LINK
We are currently using the standard level Azure Signalr service and we are getting what seems like random disconnects. The service sends the client a close message with an error stating "Application server closed the connection". There doesn't seems
to be any rhyme or reason to it and I can't figure out what the cause is. The Azure Signalr service metrics do indicate an User Error, but I wasn't able to locate any information regarding what the error was from the diagnostic logs, only a repeat of the
error message, "Connection aborted. Reason: Application server closed the connection."
I was looking through the github code for Signalr and Azure-Signalr in hopes of narrowing down the cause, but I wasn't able to find any location where such a message would be returned. I am assuming the the code running in the Azure Signalr service
doesn't use any of the published code.
In the documentation it describes the "Application server closed the connection" error as "App server triggers the abortion. It can be considered as an expected abortion". That isn't too helpful.
Any help would be great. Some days this doesn't happen at all and other times our customers get disconnected within 10-15 minutes of starting our application. It is a huge headache.
Thanks for any help you can give.