Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

intiface-desktop gets confused after pressing "Start Server" if a server is already running from the CLI on the same port #82

Open
notsafeforbread opened this issue Sep 8, 2020 · 0 comments

Comments

@notsafeforbread
Copy link

I can confuse Intiface-desktop if I press "Start server" while I'm already running the server from the CLI on the same port - The server process run from intiface-desktop closes instantly but "Stop Server" doesn't go away and does nothing when clicked.

To reproduce:

  1. Open a terminal window at IntifaceCLI's directory
  2. Run ./IntifaceCLI --wsinsecureport 12345
  3. Attempt to "Start Server" via intiface-desktop on the same port. This server will immediately exit
  4. Attempt to "Stop Server" and notice the button does nothing

Expected behavior:

Since the server never started, the button should return to "Start Server" or perhaps display a message indicating what happened.

Output from running intiface-desktop via terminal:

/home/matthew/.config/Intiface/engine/IntifaceCLI
{"logType":"backend","location":"d","message":"Running /home/my_username/.config/Intiface/engine/IntifaceCLI with arguments --servername,Intiface Server,--frontendpipe,--stayopen,--wsallinterfaces,--wsinsecureport,12345,--log,Trace","level":"info","timestamp":"2020-09-08T06:30:37.924Z"}
{"logType":"backend","location":"d","message":"Server process sent first message, continuing.","level":"debug","timestamp":"2020-09-08T06:30:37.932Z"}
{"logType":"backend","location":"d","message":"Server process exited.","level":"debug","timestamp":"2020-09-08T06:30:37.935Z"}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant