-
Notifications
You must be signed in to change notification settings - Fork 3.2k
External backend: UI actions fail with "Error: Failed to fetch" even though /config works #7692
Copy link
Copy link
Closed
Description
Summary
When Goose Desktop is configured to use an external backend, the connection appears successful, but UI actions (notably provider setup flows) fail with:
Error: Failed to fetch
The backend is reachable and returns valid responses for config/session/catalog endpoints.
Environment
- Goose Desktop: latest (as of 2026-03-06)
- goosed server:
goose-server 1.27.0 - External backend host: remote dev environment (not localhost)
- External backend URL used in Desktop settings:
http://dev.company.net:12604 - Secret key configured and valid
Reproduction
- Run
goosed agentremotely in a dev environment. - Expose it through a gateway/reverse proxy (no SSH tunnel), endpoint:
http://dev.company.net:12604
- In Goose Desktop:
- Enable Use external server
- Set URL to
http://dev.company.net:12604 - Set secret key
- Restart Desktop
- Open provider UI (welcome/provider setup / add provider modal).
Actual behavior
- UI shows
Error: Failed to fetchon provider-related actions. - But direct HTTP checks from client and server succeed.
Expected behavior
If external backend URL is accepted and reachable, Desktop UI should operate fully (provider catalog, config reads/writes, etc.), not fail with generic fetch errors.
Diagnostics
The external backend is healthy:
curl -s http://dev.company.net:12604/status -H "x-secret-key: test"
# okReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels