socket.io icon indicating copy to clipboard operation
socket.io copied to clipboard

last version is unstable

Open Gorokhov opened this issue 15 years ago • 2 comments

when transports are configured like [ws, flashsocket,htmlfile,xhr....] chrome(14.0.835.163 m) on win7 doesn't cacth flashsocket falls back to xhr-polling, the connection is terribly long and after couple of seconds it looses connection. when ws disabled chrome connects faster and even works for a while, but on linux(ubuntu 11.04, chrome 13.0.782.220) page never loads if i click stop button i stop receiving new messages. in case i restart server (not sure about this but looks like the same behaviour is if internet connection is lost for a while) when trying to reconnect, it never works correctly, and get a js error

keep getting log: (node) Hit max file limit. Increase "ulimit - n" finally node crashes

and i remind you about antivirus probs, and some clients even not using antivirus keep getting errors and disconnects

this is terrible it's completly not usable , i had to revert it from production.

Gorokhov avatar Sep 18 '11 20:09 Gorokhov

After disabling websockets, I too noticed that Chrome 14 skips over flashsocket and uses xhr-polling. I don't have issues with memory limits or losing connection afaik since we've only been in production with websockets off for a couple days (on the weekend where we don't get much traffic).

So +1 on why Chrome 14 skips over flashsocket.

databyte avatar Sep 25 '11 15:09 databyte

Flashsocket is a fallback / polyfill for WebSockets, so if native Websockets are detected it's not loaded.

As for @gorokhov you probably want to increase in your ulimit -n to increase file descriptors then, it's not something that socket.io can do for you.

3rd-Eden avatar Oct 10 '11 19:10 3rd-Eden