gustavo-armenta / CookieAuthenticationSample

Protected SignalR endpoint webhosted or selfhosted can be accessed by authenticated C# and/or JS client
56 stars 19 forks source link

Transport fallback causes client to never receive method invocation. #12

Open JeremyJalpha opened 9 years ago

JeremyJalpha commented 9 years ago

In your Selfhost and CsharpClient projects in your CookieAuthenticationSample when the client attempts to create a new connection to the hub using Server Sent events if the connection times out and falls back to LongPolling the hubReceived method in the hub's onConnected method is executed on the server but never received by the client.

If the client successfully connects using Server Sent events or Long Polling hubReceived is executed on the client fine.

JeremyJalpha commented 9 years ago

Duplicated to SignalR repository for surety Transport fallback causes client to never receive method invocation. #3555