You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Environment
0.5.0rc4tokenProblem
When the gateway uses token authentication, running:
returns:
However, the gateway is healthy:
Calling the same
doctor.statusRPC with an authenticatedGatewayClientreturns:{ "status": "ready", "ready": true }Suspected cause
In
src/opensquilla/cli/doctor_cmd.py,_fetch_report()connects with:It does not pass the configured gateway token.
Other CLI gateway RPC paths resolve authentication using
default_gateway_token(config_path).Verified fix
I tested the following change locally:
I also propagated the
--configpath into_fetch_report()so token resolution uses the same config selected bydoctor.After rebuilding the Docker image, the normal command:
returns:
The full doctor report then correctly shows the gateway, provider, memory, channels, sandbox, router, embeddings, and search provider as ready.
This appears to be a CLI authentication bug rather than a gateway availability issue.
I can prepare a small PR with the fix and a regression test if useful.
All reactions