Skip to content

Lwt example fails with "Bad headers" when connecting from Firefox #119

@olleharstedt

Description

@olleharstedt

I compile the lwt example and run it with

./a.out -s -loglevel 3 http://127.0.0.1:8888

From the browser (Firefox) I run

var ws = new WebSocket("ws://127.0.0.1:8888");

The browser fails with

Firefox can’t establish a connection to the server at ws://127.0.0.1:8888/.

and the server with

Fatal error: exception Websocket.Protocol_error("Bad headers")

Any ideas what's wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions