Umar Farooq
Umar Farooq
Right. What I did is try catch for couple of auth types. If one fails ,use different auth type. It seems working well that way. The OR on auth types...
The CPU has been below 18% and Memory Usage has been stable at 450 MB.
Sure, will send you dump files, thanks
1. There was not any older version used. It is a new application. 2. Application task failed.","Exception":"Microsoft.Azure.SignalR.Common.AzureSignalRException: Cancelled running application task, probably caused by time out.\r\n at Microsoft.Azure.SignalR.ServiceConnection.ProcessIncomingMessageAsync(ClientConnectionContext connection)
Sent dump files over the email. Thank you
While debugging CPU dump file in VS. There are some "Blocked" threads, not sure what it means. 
I have noticed, when our app restarts and azure signalr connection is dropped, until azure signalr is reconnected, the application is in hang state. Can the follow cause the app...
After Application has started => "Timestamp":"2021-05-31T22:31:43.7944090+00:00","Level":"Information","MessageTemplate":"### Application has started."} {"Timestamp":"2021-05-31T22:32:55.6969746+00:00","Level":"Error","MessageTemplate":"Error receiving handshake response. Id: {ServiceConnectionId}","Exception":"System.InvalidOperationException: Service disconnected before sending a handshake response.\r\n at Microsoft.Azure.SignalR.ServiceConnectionBase.ReceiveHandshakeResponseAsync(PipeReader input, CancellationToken token)\r\n at Microsoft.Azure.SignalR.ServiceConnectionBase.HandshakeAsync(ConnectionContext context)","Properties":{"ServiceConnectionId":"78b01fc3-c7d8-4674-b3d1-11720b4b2556","EventId":{"Id":23,"Name":"ErrorReceivingHandshakeResponse"},"SourceContext":"Microsoft.Azure.SignalR.ServiceConnection"}}...
That's correct. The applications starts and does alot of initialization it needs to do before hostbuilder.run(starting the app) is called. Then it seems until the azure service is not connected...
I just tested a scenario. If the application is down for maintenance or restarted, if the shut down and start happens within a minute, then the application does not hang...