Invalid flashsocket key
warn - Invalid flashsocket key: "3Er 2 19: 808 7# I2 Z nGET /socket.io/1/flashsocket/10881944861361526543 HTTP/1.1". warn - Invalid flashsocket key: "y <4 079 GET /socket.io/1/flashsocket/1592394659267099423 HTTP/1.1".
We are getting such errors for some clients. What can cause that?
Looks like the flashsocket answers the server incorrectly.
So it's client's Flash fault, yep? No fix / workaround for that?
I think so, but I have nothing to back up that claim as I'm unable to reproduce it.
On Jul 18, 2011, at 4:15 PM, nookiepl wrote:
So it's client's Flash fault, yep? No fix / workaround for that?
Reply to this email directly or view it on GitHub: https://github.com/LearnBoost/socket.io/issues/393#issuecomment-1595526
I must admit that in our case that was total catastrophe. We have tested our Node.js + Socket.io solution, migrating from APE. Everything worked with small amount of users. No problems at all... and then we've decided to go full scale, production. ~1000 users online, Up to 5 messages / seconds and CPU usage at 40%, 200 MB in one minute in memory usage.
And thousands of warns:
warn - client not handshaken client should reconnect
And sometimes these errors with flashsocket.
Those client not handshaken errors are unrelated to this issue. It sounds to me that you are running multiple processes, or either restarted the socket.io server just before you got those errors.
On Jul 18, 2011, at 4:50 PM, nookiepl wrote:
I must admit that in our case that was total catastrophe. We have tested our Node.js + Socket.io solution, migrating from APE. Everything worked with small amount of users. No problems at all... and then we've decided to go full scale, production. ~1000 users online, Up to 5 messages / seconds and CPU usage at 40%, 200 MB in one minute in memory usage.
And thousands of warns:
warn - client not handshaken client should reconnect
And sometimes these errors with flashsocket.
Reply to this email directly or view it on GitHub: https://github.com/LearnBoost/socket.io/issues/393#issuecomment-1595841
And there was fatal error (Node.js stopped working with exception) but kill me, I have no traceback. I know that there was "data is undefined" error. But that's different issues, I think.
I'm gonna test (thanks God we are using SVN, so we can recover production version to APE one) it with more users and if I find something I'll be back! :)
Ok, it's repeatable.
warn - flashsocket connection invalid warn - flashsocket connection invalid warn - flashsocket connection invalid warn - Invalid flashsocket key: "3 GET /socket.io/1/flashsocket/1502835963333093923 HTTP/1.1".
But if there is problem with Flash socket, client automatically is redirected to long polling, yes?
And btw. we've talked yesterday on IRC. Maybe these error are related to these with "websocket connection invalid" and "bad closing Handshake" on Python worker side?
Yes it could be, as you are also generating the same types of errors for regular websocket connections. On Jul 19, 2011, at 6:25 AM, nookiepl wrote:
Ok, it's repeatable.
warn - flashsocket connection invalid warn - flashsocket connection invalid warn - flashsocket connection invalid warn - Invalid flashsocket key: "3 GET /socket.io/1/flashsocket/1502835963333093923 HTTP/1.1".
But if there is problem with Flash socket, client automatically is redirected to long polling, yes?
And btw. we've talked yesterday on IRC. Maybe these error are related to these with "websocket connection invalid" and "bad closing Handshake" on Python worker side?
Reply to this email directly or view it on GitHub: https://github.com/LearnBoost/socket.io/issues/393#issuecomment-1604496
I'm debugging today connection on Python side. I've modified code to return what it gets on this error:
bad closing Handshake (1)
So it gets "1" on close(). I can paste my python code if it's needed. And btw. I have feeling that this error appears after few hundreds of worker requests. After worker (Python) restart everything is fine, and after some time error starts to appear.
So it gets "1" on close(). I can paste my python code if it's needed. And btw. I have feeling that this error appears after few hundreds of worker requests. After worker (Python) restart everything is fine, and after some time error starts to appear.
It sounds to me that the issues are caused by your workers