Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4077728
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T17:35:11+00:00 2026-05-20T17:35:11+00:00

basically it is a rehash of this question: Cannot connect using WebSockets, not changing

  • 0

basically it is a rehash of this question:
Cannot connect using WebSockets, not changing readyState

Which was not really answered.

I see on the server side:

[nlubin@localhost www]$ php -q /var/www/html/realTime/server/startDaemon.php
2011-03-15 13:49:30 System: Socket Resource id #7 created.
2011-03-15 13:49:30 System: Socket bound to localhost:7332.
2011-03-15 13:49:30 System: Start listening on Socket.

I am using the client and socket from this NetTuts: start using html5 websockets today
When i first go to the client it says in the box Socket Status: 0
and the server says:

2011-03-15 13:51:53 WebSocket: Resource id #8 CONNECTED!
2011-03-15 13:51:53 WebSocket: Requesting handshake...
2011-03-15 13:51:53 WebSocket: Handshaking...
2011-03-15 13:51:53 WebSocket: Done handshaking...

Then when i send anything it says: “Error: INVALID_STATE_ERR: DOM Exception 11”

If i click disconnect it disconnects..

Can anyone help?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T17:35:12+00:00Added an answer on May 20, 2026 at 5:35 pm

    make sure your server/browser implement the same version of the websocket draft specification.

    check http://en.wikipedia.org/wiki/WebSockets for the implementation status of your browser. If you are using chrome, your browser is most probably in draft-76.

    In the comment section of the tutorial you are using someone says the tutorial uses the draft-75.

    the comment mentions this other tutorial : http://bohuco.net/blog/2010/07/html5-websockets-example/ which is implementing draft-76

    I hope this will help you,

    Jerome Wagner

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically what I want to do it this: a pdb file contains a location
Basically, something better than this: <input type=file name=myfile size=50> First of all, the browse
Basically I have some code to check a specific directory to see if an
Basically I want to know how to set center alignment for a cell using
Basically, so far I've just got an add and minus button which will change
Basically, I have a matrix class like this (with a lot of operator overloads
Basically, I'd like to know if this code is okay, <body id=some_id <!--[if lt
Basically I'm going to go a bit broad here and ask a few questions
Basically, I would like a brief explanation of how I can access a SQL
Basically I am trying to restart a service from a php web page. Here

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.