Error: Connection disconnected with error 'Error: Server requested a response, which is not supported in this version of the client.'.
这是因为
"@aspnet/signalr": "^1.0.27",
已经被废弃了,不分api已经不支持了。现在的包是
"@microsoft/signalr": "^8.0.0",
更新使用新的包之后,因为服务端调用客户端出现的错误就会消失。