Azure SignalR超时问题

时间:2019-01-02 15:42:33

标签: azure-signalr

我在使用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 Web应用程序与Azure SignalR服务之间进行协商时,速度也很慢。

感谢您的帮助...

0 个答案:

没有答案