Skip to content

Failed to upgrade to WebSocket error #357

Closed
@mwlang

Description

@mwlang

Just cloned the repo and got it working locally. When I fire up the app, I'm not seeing any errors per se, but this is constantly emitting to my console. Is this normal and expected?

17:23:13 rails.1               |
17:23:19 rails.1               | Started GET "/cable" for 127.0.0.1 at 2017-02-06 17:23:19 -0600
17:23:19 rails.1               | Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2017-02-06 17:23:19 -0600
17:23:19 rails.1               | Request origin not allowed: http://localhost:5000
17:23:19 rails.1               | Failed to upgrade to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
17:23:19 rails.1               | Finished "/cable/" [WebSocket] for 127.0.0.1 at 2017-02-06 17:23:19 -0600
17:23:22 rails.1               | Started GET "/cable" for 127.0.0.1 at 2017-02-06 17:23:22 -0600
17:23:22 rails.1               | Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2017-02-06 17:23:22 -0600
17:23:22 rails.1               | Request origin not allowed: http://localhost:5000
17:23:22 rails.1               | Failed to upgrade to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
17:23:22 rails.1               | Finished "/cable/" [WebSocket] for 127.0.0.1 at 2017-02-06 17:23:22 -0600
17:23:28 rails.1               | Started GET "/cable" for 127.0.0.1 at 2017-02-06 17:23:28 -0600
17:23:28 rails.1               | Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2017-02-06 17:23:28 -0600
17:23:28 rails.1               | Request origin not allowed: http://localhost:5000
17:23:28 rails.1               | Failed to upgrade to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
17:23:28 rails.1               | Finished "/cable/" [WebSocket] for 127.0.0.1 at 2017-02-06 17:23:28 -0600
17:23:35 rails.1               | Started GET "/cable" for 127.0.0.1 at 2017-02-06 17:23:35 -0600
17:23:35 rails.1               | Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2017-02-06 17:23:35 -0600
17:23:35 rails.1               | Request origin not allowed: http://localhost:5000
17:23:35 rails.1               | Failed to upgrade to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
17:23:35 rails.1               | Finished "/cable/" [WebSocket] for 127.0.0.1 at 2017-02-06 17:23:35 -0600
17:23:43 rails.1               | Started GET "/cable" for 127.0.0.1 at 2017-02-06 17:23:43 -0600
17:23:43 rails.1               | Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2017-02-06 17:23:43 -0600
17:23:43 rails.1               | Request origin not allowed: http://localhost:5000
17:23:43 rails.1               | Failed to upgrade to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)

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