locked
HubConnection Start Timeout? RRS feed

  • Question

  • User-1458609217 posted

    Hello.  I have noticed when I am awaiting a call to HubConnection.Start() with a URL that is not running a SignalR server, the await call never seems to timeout.

    I am seeing it trying to await this call indefinitely.  Is there a way to configure this to timeout?

    Wednesday, May 28, 2014 12:21 PM

All replies

  • User-1364750345 posted

    If you're using the latest (2.2), try calling HubConnection.Start().Wait().  Do not use the await keyword.  This should work for you.

    Wednesday, September 2, 2015 3:23 PM