Signalr 信号集线器:未处理的异常
我在我的SignalR服务器的事件查看器中发现了以下错误,我无法理解可能的原因。有小费吗Signalr 信号集线器:未处理的异常,signalr,signalr-hub,Signalr,Signalr Hub,我在我的SignalR服务器的事件查看器中发现了以下错误,我无法理解可能的原因。有小费吗 An unhandled exception occurred and the process was terminated. Exception: System.NullReferenceException Message: Object reference not set to an instance of an object. StackTrace: at Microsoft.AspNet
An unhandled exception occurred and the process was terminated.
Exception: System.NullReferenceException
Message: Object reference not set to an instance of an object.
StackTrace: at Microsoft.AspNet.SignalR.Client.Transports.ServerSentEventsTransport.OnStartFailed()
at System.Action.Invoke()
at Microsoft.AspNet.SignalR.Client.Infrastructure.TransportInitializationHandler.<>c__DisplayClasse.<CompleteFail>b__d()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
发生未处理的异常,进程终止。
异常:System.NullReferenceException
消息:对象引用未设置为对象的实例。
StackTrace:位于Microsoft.AspNet.signal.Client.Transports.ServerSentEventsTransport.OnStartFailed()上
在System.Action.Invoke()处
在Microsoft.AspNet.signal.Client.Infrastructure.TransportInitializationHandler.c_uDisplayClasse.b_ud()中
位于System.Threading.ExecutionContext.RunInternal(ExecutionContext ExecutionContext、ContextCallback回调、对象状态、布尔值preserveSyncCtx)
在System.Threading.ExecutionContext.Run(ExecutionContext ExecutionContext,ContextCallback回调,对象状态,布尔保存SyncCTX)
位于System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()处
在System.Threading.ThreadPoolWorkQueue.Dispatch()中
根据堆栈跟踪判断,在onstartfiled()方法中,我猜它是一些线程问题\signer内部的争用条件。你能做的最好的事情就是在SignalR Github报告 这是一个错误。更多细节。当前指定在2.2.1中固定。什么版本的信号机。网络版?信号器2.2.0@MichalLevý