Websocket error on handshake
ChevalMonsieur opened this issue · comments
Justin Hurson commented
Describe the bug
With the react template mentionned on the Neutralino website : "codezri/neutralinojs-react", the websocket fail to connect when launching the webapp.
To Reproduce
Steps to reproduce the behavior:
- on a terminal, do this command
neu create myapp --template codezri/neutralinojs-react
thencd myapp
- still on the terminal, do
neu run -- --window-enable-inspector
- on the window inspector, check that you have an error either like "WebSocket connection to 'ws://localhost:XXXXX/' failed: The server did not accept the WebSocket handshake." or like "Invalid url for WebSocket ws://localhost:undefined"
Expected behavior
The app should launch without error and the websocket connection should be ok
Specifications
- OS: Ubuntu 22.04.4
- Neutralinojs version: v5.1.0
- Neutralinojs client library version: ?
- Neutralinojs CLI version: 11.0.1