openhuman icon indicating copy to clipboard operation
openhuman copied to clipboard

Another process is using the network port OpenHuman needs

Open Ciiiiing opened this issue 6 months ago • 1 comments

Couldn't Start the App Engine Another process is using the network port OpenHuman needs. We'll try to fix this automatically.

I tried “Fix Automatically” and “Try again” still not work

Environment:Windows 11

Ciiiiing avatar Jun 04 '26 03:06 Ciiiiing

Status / parity check — recovery exists but doesn't cover this case (~50%)

There is already a port-conflict recovery flow on main: BootCheckGate detects the conflict and shows "Fix Automatically", which calls recover_port_conflict.

The gap: that recovery only reaps stale OpenHuman processes still holding the port. It does nothing when the port (7788) is held by a foreign, non-OpenHuman process, or by a stale instance it can't terminate on Windows — which is exactly the reported case where both "Fix Automatically" and "Try again" fail.

What's remaining:

  1. Identify the actual process owning the port on Windows (not just OpenHuman's own PIDs).
  2. Offer consent-gated termination of the foreign holder, or guidance to free it.
  3. Improve the message to name the owning process so the user can act manually.

Keeping open until the foreign-owner path is handled.

oxoxDev avatar Jun 05 '26 12:06 oxoxDev