nicolasff / webdis

A Redis HTTP interface with JSON output
https://webd.is
BSD 2-Clause "Simplified" License
2.82k stars 305 forks source link

Google Chrome 19/20 websocket #50

Closed PhE closed 12 years ago

PhE commented 12 years ago

Running the last webdis version, I get this error message from a Google Chrome 20 client : Error during WebSocket handshake: Sec-WebSocket-Protocol mismatch and no error from a Google Chrome 19 client. Is there any change in websocket from Chrome 19/20 ?

Google Chrome Version 20.0.1132.47 on Ubuntu 10.04 64 bits Google Chrome Version 20.0.1132.47 on Ubuntu 10.04 64 bits

nicolasff commented 12 years ago

Hello Philippe,

Thanks for reporting this; I'm closing it as a duplicate of #49, let's keep the conversation there.

Regards,

Nicolas

PhE commented 12 years ago

Ok, I Will try the websocket test on my Google Chrome 19/20 context to see if I can reproduced it.

PhE commented 12 years ago

Get the same error from Google 21 Version 21.0.1180.15 dev

To sum up :

Don't see yet how it is related to #49 :-/

nicolasff commented 12 years ago

I think the websockets code and test are both out of date. Thanks for testing on different versions! I'll pull out the latest standard and update webdis accordingly.

PhE commented 12 years ago

Other strange cases :

For those cases, every thing works if I use the webdis HTTP interface. I plan to use webdis for a small realtime intranet application but fail to get a stable environment :-/