neutralinojs / neutralinojs

Portable and lightweight cross-platform desktop application development framework

Home Page:https://neutralino.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Websocket error on handshake

ChevalMonsieur opened this issue · comments

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:

  1. on a terminal, do this command neu create myapp --template codezri/neutralinojs-react then cd myapp
  2. still on the terminal, do neu run -- --window-enable-inspector
  3. 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

Screenshots/Screen recordings
image
image

Specifications

  • OS: Ubuntu 22.04.4
  • Neutralinojs version: v5.1.0
  • Neutralinojs client library version: ?
  • Neutralinojs CLI version: 11.0.1