James Bailey
James Bailey

Reputation: 308

SignalR client error windows app

I am getting this error on my windows client. The client actually waits for a bit and then calls back to the hub with a routine on the hub. Everything runs ok after I click "ok" on the pop up. Is there a property somewhere to change?

A possible deadlock detected. A callback registered with "HubProxy.On" or "Connection.Received" has been executing for at least 10 seconds.

Upvotes: 0

Views: 1724

Answers (1)

James Bailey
James Bailey

Reputation: 308

Figured it out. Added this to the client when it creates the connection with the hub.

_hubConnection.DeadlockErrorTimeout = TimeSpan.FromSeconds(120);  //default is 10 seconds

Upvotes: 2

Related Questions