andreacfm / WebSocket-Gateway-Extension

Railo Websocket Gateway Extension
11 stars 9 forks source link

Outdated Server Response for Chrome #6

Open krakken232 opened 12 years ago

krakken232 commented 12 years ago

The new version of Chrome errors out with "Unexpected Code 200" -- apparently the latest update now requires a protocol transfer code "101 Switching Protocols" instead of "200 OK" to be sent in the response or else Chrome will reject the websocket connection.

I've been searching through the CFC but I'm beginning to fear that the handshake is in the JAR somewhere (although I will be the first to tell you I know very little about how this all works, I'm probably totally off base). Any suggestions?

andreacfm commented 12 years ago

What Chrome version are you testing it on? The cfc just manage the gateway start stop and listeners. The socket server is in java.

krakken232 commented 12 years ago

Chrome 19.0.1084 is returning the "Unexpected Code 200" error. I am on Railo 3.3.1, running behind Tomcat 7 and Apache 2.2 on an Ubuntu box, if any of that helps. As a member of the development community I can't express how appreciative I am of all the hard work you've put into this extension!

andreacfm commented 12 years ago

I have updated Chrome to the same version. Please may you try to remove ans reinstall. Please confirm that after uninstall the jar are removed from the lib folder. (WEB-INF/railo/lib). May you also post here the client code you are using to connect please.