My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 32: WebSocket: Invalid handshake: Unsupported websocket client version: 13
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  May 2012


 
Reported by aoo...@gmail.com, May 16, 2012
What steps will reproduce the problem?
1. installed successfully & execute the program as the setup guide
2. on server machine: get error: WebSocket: Invalid handshake: Unsupported websocket client version: 13
3. on client site: always see "Disconnected click to reload" 

Failed on 2 running ways below:

Server on ubuntu 11.10, nodejs 0.6.17, client with chrome "19.0.1084.46 m"
Server on ubuntu win 7, nodejs 0.6.17, client with chrome "19.0.1084.46 m"

Thanks for your help
May 16, 2012
Project Member #1 g...@chromium.org
Updated the websocket library. Seems to work now.
Try it again.
May 16, 2012
#2 aoo...@gmail.com
That's great!!! It worked :D But how to play? how to control/navigate the player ship?

May 16, 2012
Project Member #3 g...@chromium.org
From another computer

Run the server on one computer.
On another computer or the same computer go to 

http://ipAddressOfServer:8080/gameview.html

Then, on a 2nd, 3rd or 4th computer to go
http://ipAddressOfServer:8080/

Use the arrow keys to steer and Z to fire

Cell phones are sadly broken currently. The browsers have changed since it this was written.
Status: Fixed
May 21, 2012
#4 aoo...@gmail.com
It is not working now.

I got these errors:

serveraddress:8080/gameview.html
canvas is not defined
tdl.webgl.setupCanvas_(canvas);

clientaddress:8080/
WebSocket is not defined
if (g_socket.readyState == WebSocket.CONNECTING) {


Thanks for your help.

Powered by Google Project Hosting