homeland-docker icon indicating copy to clipboard operation
homeland-docker copied to clipboard

Websocket connection failed with 404 response code

Open imeoer opened this issue 9 years ago • 2 comments

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.

imeoer avatar Dec 28 '16 06:12 imeoer

domain 未配置

http://gethomeland.com/docs/configuration/config-file/

huacnlee avatar Dec 28 '16 07:12 huacnlee

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

imeoer avatar Dec 28 '16 08:12 imeoer