You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i use the command:crank /NumClients:1 /Connections:1000 /Url:http://127.0.0.1:8088/signalr .it is ok.
but when i use the command:crank /NumClients:100 /Connections:1000 /Url:http://127.0.0.1:8088/signalr .it is System.AggregateException: ---> System.NullReferenceException: Microsoft.AspNet.SignalR.Client.HubConnection.GetUrl(String url, Boolean useDefaultUrl)
SignalR-dev\src\Microsoft.AspNet.SignalR.Client\HubConnection.cs: 216
Microsoft.AspNet.SignalR.Client.HubConnection..ctor(String url, Boolean useDefaultUrl) SignalR-dev\src\Microsoft.AspNet.SignalR.Client\HubConnection.cs: 38Microsoft.AspNet.SignalR.Client.HubConnection..ctor(String url)
The text was updated successfully, but these errors were encountered:
This is because when you have more than 1 client the ControllerUrl should be passed. The code does not check this and passes null when creating the hub (
when i use the command:crank /NumClients:1 /Connections:1000 /Url:http://127.0.0.1:8088/signalr .it is ok.
but when i use the command:crank /NumClients:100 /Connections:1000 /Url:http://127.0.0.1:8088/signalr .it is System.AggregateException: ---> System.NullReferenceException: Microsoft.AspNet.SignalR.Client.HubConnection.GetUrl(String url, Boolean useDefaultUrl)
SignalR-dev\src\Microsoft.AspNet.SignalR.Client\HubConnection.cs: 216
Microsoft.AspNet.SignalR.Client.HubConnection..ctor(String url, Boolean useDefaultUrl) SignalR-dev\src\Microsoft.AspNet.SignalR.Client\HubConnection.cs: 38Microsoft.AspNet.SignalR.Client.HubConnection..ctor(String url)
The text was updated successfully, but these errors were encountered: