2

我在使用 Azure SignalR 服务时遇到问题......通常(几个小时)它很慢,有时甚至会超时......

02 Jan 2019 11:37:47.1172019-01-02 14:37:47.0436 | ERROR | WebPortal | Error 

while trying to send message.  ConnectionState: Disconnected Channel: Document eventName: DocumentAccess message: Core.DTOs.Documents.RealTime.DocumentRealTimeViewModel - Exception: System.TimeoutException: Server timeout (10000.00ms) elapsed without receiving a message from the server.
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.SignalR.Client.HubConnection.<InvokeCoreAsyncCore>d__51.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.SignalR.Client.HubConnection.<InvokeCoreAsync>d__45.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at RealTimeServices.Services.RealTimeService.<SendMessageAsync>d__9.MoveNext() in D:\home\site\repository\Dms\Services\RealTimeServices\Services\RealTimeService.cs:line 80; LogSource: RealTimeService

即使在 SignalR webapp 和 Azure SignalR 服务之间进行协商时,它的速度也很慢。

任何帮助表示赞赏...

4

0 回答 0