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?