Runir Docs
Troubleshooting

Troubleshoot Gateway

Separate local authorization, policy decisions, and upstream provider errors.

On this page

The client cannot reach Gateway

Open Companion → Status → Connected AI apps and confirm the connection address for the current user. Verify the client honors its base-URL setting. If it uses a fixed provider endpoint, changing a local profile alone will not route its requests through Runir.

A profile is disabled or unavailable

Run python3 scripts/gateway.py list and python3 scripts/gateway.py status from the Gateway helper directory. Check the exact profile ID, enabled state, configured origin, model allowlist, and presence of referenced credentials. After first initializing a catalog, restart the installed background service. Inspect the active configuration again before testing.

Locate the failure

Observation Next check
Local authentication fails Regenerate client settings for the named profile and signed-in user. Use the dedicated Gateway credential for the local request.
Runir holds a request before forwarding Check the local policy and assessment reason. Restore sign-in or policy sync if required, or revise the input according to the policy.
The upstream rejects a model or credential Confirm the upstream provider account, model ID, supported operation, and billing with the provider administrator.
The models endpoint returns an empty list It shows the profile’s configured allowlist. Check the profile configuration and the provider account separately.
The app works directly but no Gateway event appears Verify the effective base URL in the running client. Restart the client after changing process-scoped settings.

Escalate with a minimal record

Send the profile ID, protocol, requested operation, response status, approximate time, and local Runir outcome through your approved support channel. Remove authorization headers, tokens, keys, and request bodies.