mustang2247 / jquery-websocket

Automatically exported from code.google.com/p/jquery-websocket
0 stars 0 forks source link

Uncaught Error: INVALID_STATE_ERR: DOM Exception 11 (Line 39) #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Running the example

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

See the example.

What version of the product are you using? On what operating system?

v0.0.1 in Chromium v5.0.308.0 on MacOS

Please provide any additional information below.

I get the error text and code in Chromium Developer Tools.

Original issue reported on code.google.com by andre.uh...@gmail.com on 31 Jan 2010 at 12:11

GoogleCodeExporter commented 8 years ago
same thing every WebSocket.send("") call (Ubuntu Chrome Daily Build)

Original comment by Christop...@googlemail.com on 23 May 2010 at 9:42

GoogleCodeExporter commented 8 years ago
Same thing with every WebSocket.send("") - Arch Linux, Chromium 5, typhoonae 
web sockets server (it was OK with pywebsockets server)

Original comment by iwuvjh...@gmail.com on 22 Jun 2010 at 4:11

GoogleCodeExporter commented 8 years ago
same.

Original comment by miguelwm...@gmail.com on 14 Dec 2010 at 2:52

GoogleCodeExporter commented 8 years ago
same

Original comment by jonathan...@gmail.com on 7 Apr 2011 at 4:31

GoogleCodeExporter commented 8 years ago
Same here, Google Chrome 11 on windows 7.

Original comment by martin.l...@gmail.com on 28 May 2011 at 6:49

GoogleCodeExporter commented 8 years ago
The sample code needs you to install a websocket server on localhost.

Replace the WebSocket url by this one : "wss://echo.websocket.org/", and it 
would work.

var ws = $.websocket("wss://echo.websocket.org/", {
        events: {
                message: function(e) { $('#content').append(e.data + '<br>') }
        }
});

Your problem is that your WebSocket is not connected and the error message is 
not explicit.

Original comment by puig.ced...@gmail.com on 27 Feb 2012 at 2:50