3

On my site I am using wss:// protocol for chat etc.

When I connect to my site through Chrome, everything works just fine. But if I use Firefox, it disconnects after few minutes. Client code for both browsers is the same, so why is Firefox behaving that way?

Giacomo1968
  • 25,759
  • 11
  • 71
  • 103
ojek
  • 9,680
  • 21
  • 71
  • 110
  • Can you provide any output from the browser console? Does `onclose` or `onerror` provide any insight into the problem? What versions of the browsers are you using? – leggetter Sep 21 '13 at 20:28

1 Answers1

2

The Firefox defaults are:

  • network.websocket.max-connections: 200
  • network.websocket.timeout.close: 20
  • network.websocket.timeout.open: 20
  • network.websocket.timeout.ping.request: 10
  • network.websocket.timeout.ping.response: 10

The Chromium defaults are listed in the following Chrome URL:

chrome://net-internals/#sockets

References

Paul Sweatte
  • 24,148
  • 7
  • 127
  • 265