10000 Strange problem with Firefox · Issue #189 · coder/websocket · GitHub
[go: up one dir, main page]

Skip to content
Strange problem with Firefox #189
Closed
Closed
@gandaldf

Description

@gandaldf

Hi I'm trying to build a simple demo with an HTML page that sends message to the server and it returns them back to the page, but I have a strange problem in Firefox (73).
When I try to connect to my page, Firefox immediately closes the connection, an error appears in the console like:
Firefox cannot establish a connection with the server "ws://localhost:7070/echo."
In my Golang debug window I get:
failed to accept WebSocket connection: WebSocket protocol violation: Connection header "keep-alive, Upgrade" does not contain Upgrade
I have no problem with Chrome; can you help me with this bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0