Summary
Hermes Desktop on Windows fails to start because the backend never announces its port before the desktop timeout.
Main error:
Desktop boot failed: Timed out waiting for Hermes backend port announcement (45000ms)
This looks related to, but not fully covered by:
I also see a renderer-side error:
RangeError: Maximum call stack size exceeded
That may be separate from the backend startup timeout.
Environment
- Hermes version:
0.18.0
- OS: Windows
10.0.26200
- Install layout: Hermes executable located under the local app data Hermes agent virtualenv Scripts directory
- Startup modes attempted: Desktop and
serve
Troubleshooting already attempted
- Restarted Hermes.
- Restarted the machine.
- Cleared session data by renaming session/state stores.
- Ran the agent directly using
hermes serve.
- Performed a provider-isolated boot test by disabling failing/depleted/invalid providers.
- Restored original config after testing.
- Reproduced with an empty workspace.
Provider-isolated boot test result
- Provider-isolated boot test: attempted
- Result: FAIL
- Backend port announcement: not observed / not programmatically verifiable
- Agent connection: unavailable
This suggests the failure is not only provider billing/auth noise.
Expected behavior
Hermes Desktop should start, the backend should announce its port, and the desktop should connect to the backend without timing out.
Actual behavior
The desktop waits for the backend port announcement and times out after 45 seconds. The agent is not reachable afterward.
Questions
- What is the official diagnostic path for backend port announcement timeouts on Windows?
- Which backend log should contain the port announcement event?
- Could this be caused by a stale packaged
app.asar still using the old 45-second timeout path?
- Should
HERMES_DESKTOP_PORT_ANNOUNCE_TIMEOUT_MS be used as a workaround, and where should it be set for Windows Desktop?
- Can Windows Defender / cold Python import scanning cause this timeout even after provider isolation?
- Which cache/state folders are safe to clear after backup?
- Is there a minimal safe startup mode with all providers disabled?
- Which ports must be free for gateway/backend startup?
- Is the current local app data virtualenv install layout expected for desktop mode?
- Can
RangeError: Maximum call stack size exceeded persist after clearing session data, and could it block the desktop from recovering?
Sanitization note
No API keys, tokens, provider credentials, local config contents, or service-account files are included in this report.
Summary
Hermes Desktop on Windows fails to start because the backend never announces its port before the desktop timeout.
Main error:
This looks related to, but not fully covered by:
app.asarkeeping old 45s backend timeoutI also see a renderer-side error:
That may be separate from the backend startup timeout.
Environment
0.18.010.0.26200serveTroubleshooting already attempted
hermes serve.Provider-isolated boot test result
This suggests the failure is not only provider billing/auth noise.
Expected behavior
Hermes Desktop should start, the backend should announce its port, and the desktop should connect to the backend without timing out.
Actual behavior
The desktop waits for the backend port announcement and times out after 45 seconds. The agent is not reachable afterward.
Questions
app.asarstill using the old 45-second timeout path?HERMES_DESKTOP_PORT_ANNOUNCE_TIMEOUT_MSbe used as a workaround, and where should it be set for Windows Desktop?RangeError: Maximum call stack size exceededpersist after clearing session data, and could it block the desktop from recovering?Sanitization note
No API keys, tokens, provider credentials, local config contents, or service-account files are included in this report.