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

[Info] Error during WebSocket handshake: Invalid status line #855

Open
Rob-pw opened this issue Oct 29, 2016 · 0 comments
Open

[Info] Error during WebSocket handshake: Invalid status line #855

Rob-pw opened this issue Oct 29, 2016 · 0 comments

Comments

@Rob-pw
Copy link

Rob-pw commented Oct 29, 2016

Hi:

I am new to horizon and have been trying to establish a connection from my front-end. For a while I was receiving this cryptic error, thrown on horizon.connect() which could not be caught using a try/catch. I googled and could not find anything horizon specific on this.

Turns out, I was connecting based on this message:
Connecting to RethinkDB: admin @ localhost:28015

When I should've been connecting to the port served by hapi/express/hz serve, in my case :8181.

It is a small mistake, but one which caused me much frustration. Just in-case someone else encounters this, believing they're supposed to be connecting to the rethinkdb port, please could we add a note in the documentation?

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

1 participant