Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome Dev (14.0.835.8): "WebSocket is closed before the connection is established." #439

Closed
ruimarinho opened this issue Aug 1, 2011 · 5 comments
Labels
bug Something isn't working

Comments

@ruimarinho
Copy link

Hi all,

Using the Chrome Dev (osx) channel I noticed that websockets are not working anymore with socket.io 0.6.18. I'm not sure if the 0.6 branch is still maintained and if this problem still exists on the 0.7 branch.

I cannot confirm if this is related to this Chrome update, but according to the SVN revision log, the implementation of the newer hybi-10 protocol is mentioned:

Enable hybi WebSocket protocol by default.

This CL enables the new WebSocket protocol by overriding the value of WebCore::Settings::useHixie76WebSocketProtocol() to false.

It is known that WebSocket instances initialized in worker context use the old hixie76 protocol even after this change is applied (see https://bugs.webkit.org/show_bug.cgi?id=64852). I'm going to take care of it after this CL is committed.

On the Chrome inspector, this error is logged:

WebSocket is closed before the connection is established.

On node.js console, the following message appears:

WebSocket connection invalid or Origin not verified

On Chrome Stable (12.0.742.122), presumably using hybi-09, everything is working fine.

If it's confirmed that the problem relies on the lack of support for hybi-10, can we expect it to be supported later on and backported to the 0.6 branch?

Update: Just noticed issue #429 mentions this issue too, although some of the questions rised on this ticket are still pertinent (regarding 0.6 backport, at least).

Thanks!

@perezd
Copy link

perezd commented Aug 12, 2011

I am experiencing the same issue. We will definitely need this to be backported.

@tisba
Copy link

tisba commented Aug 23, 2011

same problem with 15.0.854.0 dev :-/

@theturtle32
Copy link

Duplicate of Issue #429

@3rd-Eden
Copy link
Contributor

Fixed in socket.io 0.8

@thekiur
Copy link
Contributor

thekiur commented Nov 1, 2011

Fixed? Windows 7 + Chrome 14 & Chrome 15 wont establish a WebSocket connection with 0.8.x, it this known?

darrachequesne pushed a commit that referenced this issue Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants