Skip to content

False "Program already running, exiting" Alert on App Startup #97

@AbdelrahmanBayoumi

Description

@AbdelrahmanBayoumi

Some users report seeing the alert "Program already running, exiting" when starting the app, even though no other instance is running. This alert comes from the SingleInstance.java class. It may be caused by the app failing to bind to the port (12347) due to race conditions, firewall issues, or the port being used by another process. As a result, the app exits unexpectedly.

Image

Steps to Reproduce:

  • Start the app normally.
  • Sometimes, the alert appears immediately on startup.

Expected Behavior:
The app should only show this alert if another instance is actually running.

Actual Behavior:
The alert appears even when no other instance is running.

Additional Info:

  • Users confirmed no other instance is running.
  • The issue may be related to port conflicts or network restrictions.

See SingleInstance.java for implementation details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    🚢 Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions