Skip to content

WebSocket example code doesn't work #1

@cardinal-II

Description

@cardinal-II

I can connect to the WebSocket server with clients in a terminal and with index.html in a browser. But I can't send or receive messages. In the terminal with the running Websocket server, every minute I see:
2023-10-14 18:22:40 | 4.194 MB | Agent 127.0.0.1:58920 idles

Nothing more.
In the browser:

Connect to ws://127.0.0.1:9001
WebSocket.onopen() called

How to make it work?

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