Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebSocket is already in CLOSING or CLOSED state. #2

Closed
mishbah opened this issue Nov 10, 2013 · 1 comment
Closed

WebSocket is already in CLOSING or CLOSED state. #2

mishbah opened this issue Nov 10, 2013 · 1 comment

Comments

@mishbah
Copy link

mishbah commented Nov 10, 2013

I try your source at http://l4ember.eu1.frbit.net/
and error (console) "WebSocket is already in CLOSING or CLOSED state."
Can you help me with that ?

@assertchris
Copy link
Owner

I would prefer you asking this on the blog post, or on the book's comments section (https://leanpub.com/laravel4cookbook/feedback).

I think the problem is that you are starting the web socket on this line: new WebSocket("ws://127.0.0.1:7778/");

That IP address needs to be relative to the client, not the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants