Troubleshoot xopc
Start with the failing surface, run the matching checks, and share only a redacted report if you need help.
Run the general check
xopc doctorUse xopc doctor --deep only when Session or database state may be involved. Use xopc doctor --security when diagnosing remote access or exposure settings.
The model does not reply
xopc providers list
xopc models status
xopc agent -m "Reply with OK"Common causes are an expired key, the wrong model name, insufficient provider quota, or blocked network access. Reconfigure the credential with xopc providers set-key <provider>.
The desktop or web console does not open
xopc gateway status
xopc gateway healthIf the Gateway is stopped, run xopc gateway. If the port is already occupied, stop the other process or change gateway.port. Do not expose the Gateway publicly just to work around a local connection problem.
A channel does not reply
- Confirm that local Chat can reach the model.
- Run
xopc channels listandxopc channels show <channel>. - Check the bot/app credential and the direct-message or group policy.
- Confirm that the Gateway is running continuously.
- Read the channel-specific guide under Channels.
The Chrome extension or browser tool does not work
xopc browser extension doctor
xopc browser doctorReload unpacked extension files from chrome://extensions after every extension update. If Chrome blocks a normal website, check the extension's site access for that origin and refresh the page. Chrome on another computer requires an opaque one-time invitation and owner approval; local automatic enrollment is limited to supported same-machine installations.
See Chrome extension for installation, version mismatch, DRIVER_UNAVAILABLE, and host-permission troubleshooting.
Validate configuration
xopc config path
xopc config validate
xopc config showconfig show masks recognized secrets. A validation error normally includes the field that must be corrected.
Read recent logs
xopc logs tail
xopc logs query --limit 50
xopc logs statsIn the desktop or web console, open Settings → Logs, filter by the time of the failure, and inspect the first error in the request rather than later follow-on errors.
Prepare a safe support report
Include:
- operating system and xopc version;
- the exact failing action or command;
xopc doctor --jsonoutput;- the smallest relevant set of log lines;
- whether the same model works in local Chat.
Remove API keys, OAuth tokens, Gateway tokens, bot tokens, user identifiers, private messages, and personal filesystem paths before sharing anything.