Azure SignalR 服务尚未连接,请稍后重试

问题描述

我在 Asp.Net Core 3.1 上使用 Azure SignalR,我从 API 端的 azure 服务总线收到一些消息,并使用 azure signalr 将消息作为通知发送到 Angular 客户端。但是得到他的错误

解决方法

您的服务器未连接 SignalR 服务,请检查以下内容:

  • 连接字符串正确。
  • 服务模式,如果你使用的是Azure SignalR服务SDK,服务模式不能是Serverless
  • 例如,在诊断和解决问题中检查资源使用情况,确保您的消息数未达到限制。