client constantly reconnecting

后端 未结 2 1842
逝去的感伤
逝去的感伤 2020-12-17 04:35

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

This problem only occurs on certain other corporate networks which makes me believe so

2条回答
  •  自闭症患者
    2020-12-17 04:56

    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.

提交回复
热议问题