Skip to content

Websocket connection failed with 404 response code #21

@imeoer

Description

@imeoer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions