Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
147 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
hi there,
I am using Azure SignalR on Asp.Net Core 3.1 and Angular8. I also user withAutomaticReconnect() option on client side. It connect with azure signalr successfully. But after some times it show this error message and connected to the WebSocket again.
Hi @MdNajrullslam-2962,
Make sure you double check that your KeepAliveInterval
option is double the serverTimeoutInMilliseconds
property. That property will ping the SignalR hub in order to have the connection remain open.
public void ConfigureServices(IServiceCollection services)
{
services.AddSignalR(hubOptions =>
{
hubOptions.EnableDetailedErrors = true;
hubOptions.KeepAliveInterval = TimeSpan.FromMinutes(1);
});
}