When we are trying to connect the Azure SignalR (serverless mode) from the Docker we are getting the below error -
"Failed to connect to will retry after the back off period. Error detail: Unable to connect to the remote server. The remote certificate is invalid because of errors in the certificate chain"
We have used the below code snippet in startup.cs
services.AddSignalR(options =>
{
options.EnableDetailedErrors= true;
}).AddAzureSignalR(options =>
{
options.ConnectionString = AppSettings.SignalREndPoint;
});
app.UseEndpoints(endpoints =>
{
endpoints.MapControllers();
endpoints.MapHub<NotificationHub>("/notify");
});
Please help with the solution if anyone has faced the same problem. It's been a blocker for some time now
Azure SignalR should be connected and accessible via Docker.