Skip to content

[Bug]: Can't connect to Remote Gateway via Tailscale for Hermes Desktop #38061

Description

@seguelaCedric

Bug Description

The test connection works, but the actual connection doesn't.

Steps to Reproduce

Use remote gateway for VPS using tailscale

Expected Behavior

Connect to remote gateway

Actual Behavior

Test connection works but the actual connection doesn't

Affected Component

Gateway (Telegram/Discord/Slack/WhatsApp)

Messaging Platform (if gateway-related)

No response

Debug Report

2026-06-03 10:15:33,458 WARNING tui_gateway.ws: ws send failed peer=127.0.0.1:50022 error=
2026-06-03 10:15:33,461 WARNING tui_gateway.ws: ws response send failed peer=127.0.0.1:50022 id=38 method=setup.runtime_check


and 


[hermes] [boot] Restarting desktop connection
[hermes] [boot] Resolving Hermes backend
[hermes] [boot] Connecting to remote Hermes backend at http://100.112.221.20:9119
[hermes] Hermes backend exited (SIGTERM)
[hermes] [boot] Remote Hermes backend is ready
[hermes] [boot] Resolving Hermes backend
[hermes] [boot] Connecting to remote Hermes backend at http://100.112.221.20:9119
[hermes] [boot] Remote Hermes backend is ready
[hermes] [bootstrap] reset requested by renderer; clearing latched failure
[hermes] [boot] Resolving Hermes backend
[hermes] [boot] Connecting to remote Hermes backend at http://100.112.221.20:9119
[hermes] [boot] Remote Hermes backend is ready
[hermes] [boot] Restarting desktop connection
[hermes] [boot] Resolving Hermes backend
[hermes] [boot] Finding an open local port
[hermes] [boot] Resolving Hermes runtime
[hermes] [boot] Hermes runtime is ready
[hermes] [boot] Starting Hermes backend via Hermes at /Users/cedricseguela/.hermes/hermes-agent (venv: /Users/cedricseguela/.hermes/hermes-agent/venv)
[hermes] Starting Hermes backend via Hermes at /Users/cedricseguela/.hermes/hermes-agent (venv: /Users/cedricseguela/.hermes/hermes-agent/venv)

Operating System

Ubuntu 24.04

Python Version

No response

Hermes Version

No response

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existscomp/desktopElectron desktop app (apps/desktop/*)comp/gatewayGateway runner, session dispatch, deliverysweeper:implemented-on-mainSweeper: behavior already present on current maintype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions