dsphper / phpwebsocket

Automatically exported from code.google.com/p/phpwebsocket
0 stars 0 forks source link

Failure using the webSocket functionality in Firefox 4 Beta 1 #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use client Firefox 4 Beta 1(Has socket support)
2. Handshake never completes, shows WebSocket - status 0
3. Opening client page in Chrome works ok. 

What is the expected output? What do you see instead?

A command yields "[Exception... "An attempt was made to use an object that is 
not, or is no longer, usable" code: "11" nsresult: "0x8053000b 
(NS_ERROR_DOM_INVALID_STATE_ERR)" location: 
"file:///C:/Users/Bt/Desktop/sock.html Line: 34"] 

What version of the product are you using? On what operating system?
Windows 7, Firefox 4 Beta 1

Please provide any additional information below.

Works on chrome. A little googling, is this related to Handhake Protocol 75 and 
76 and line terminators? As described here: 
http://webreflection.blogspot.com/2010/06/websocket-handshake-76-simplified.html

Original issue reported on code.google.com by breen.wh...@gmail.com on 11 Jul 2010 at 12:28

GoogleCodeExporter commented 9 years ago
I've made a slight fix:
http://code.google.com/p/phpwebsocket/issues/detail?id=16
It'll fix the handshaking, FireFox 4 thinks it's connected but the server is 
completely oblivious

Original comment by thekid.a...@gmail.com on 14 Aug 2010 at 10:02

GoogleCodeExporter commented 9 years ago

Original comment by roy.laur...@gmail.com on 24 Nov 2010 at 4:36