Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

client constantly reconnecting

My .net application which connects to signalr hub is constantly reconnecting.

This problem only occurs on certain other corporate networks which makes me believe something is being blocked. I've tried to use the jabbr.net website from the same network and this doesn't work either (in chrome).

How can i trace/fix this issue?

enter image description here

like image 442
UnreliableWitness Avatar asked Feb 21 '13 13:02

UnreliableWitness


1 Answers

I think you're experiencing this issue https://github.com/SignalR/SignalR/pull/1553. We're working on a fix for it. The issue happens when the server sent events request times out but the actual http requests is still going. What then happens is that the longpolling transport and server sent events http requests fight for the connection.

To workaround this you can specify the LongPollingTransport specifically. We'll look at fixing this for the next release.

like image 191
davidfowl Avatar answered Sep 30 '22 07:09

davidfowl