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 connection failed with 404 response code #21

Open
imeoer opened this issue Dec 28, 2016 · 2 comments
Open

Websocket connection failed with 404 response code #21

imeoer opened this issue Dec 28, 2016 · 2 comments

Comments

@imeoer
Copy link

imeoer commented Dec 28, 2016

I'm using https with nginx, show the error once open the page:

WebSocket connection to 'wss://example.com/cable' failed: Error during WebSocket handshake: Unexpected response code: 404

The related log /var/www/log/homeland-error.log:

2016/12/28 05:59:21 [error] 5#5: *6 connect() failed (111: Connection refused) while connecting to upstream, client: x.x.x.x, server: example.com, request: "GET /cable HTTP/1.1", upstream: "http://192.168.0.6:7000/cable", host: "example.com"

Hope to get help for this.

@huacnlee
Copy link
Member

@imeoer
Copy link
Author

imeoer commented Dec 28, 2016

@huacnlee domain and https fields were configured. :(
Can I use make install_ssl to reconfigure the workflow for https?

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