Troubleshooting¶
Sign-in and console¶
| Problem | Solution |
|---|---|
| "Setup is closed." | On a server with a public address, the setup page closes 30 minutes after the start. Restart Cyproxy (docker compose restart) and create the owner account immediately. |
| "Open setup at another address." | The setup page opens only at localhost, at the IP address of the server, or at a name in CYPROXY_PUBLIC_HOSTS. This stops other web pages from reaching it. Use one of these addresses, or set CYPROXY_PUBLIC_HOSTS and start Cyproxy again. |
| The setup page does not show. | The owner account exists, or CYPROXY_ADMIN_PASSWORD is set. Sign in. |
| The password is incorrect. | Sign in with the email address from setup. You can also leave Email empty. If you set CYPROXY_ADMIN_PASSWORD, leave Email empty and use that value. If you forgot your password, see Reset the owner password. After 10 incorrect passwords from one address, wait 10 minutes. |
| Claude shows "Couldn't reach Cyproxy". | A custom connector in Claude connects from the servers of Anthropic, not from your computer. It cannot reach localhost, and it cannot pass a firewall that allows only your address. See Claude.ai and other cloud services. |
| The code from the authenticator app is incorrect. | Make sure that the time on your phone and on the server is correct. A code works one time. Use a recovery code, or reset the app. |
| "Too many incorrect codes." | Wait 15 minutes, or use a recovery code. If you did not enter the codes, change your password. |
localhost:8787 does not answer. |
Run docker compose ps. The cyproxy container must be healthy. Run docker compose logs cyproxy to see the cause. |
| The container restarts, and the log says that a file "is damaged". | Cyproxy does not overwrite a data file that it cannot read. Restore a backup, or move the file out of the volume. |
| The container restarts, and the log says that a file "was encrypted with a different key" or that "its key is not here". | The encryption key is not the key that encrypted the data. Set CYPROXY_ENCRYPTION_KEY to the correct key, or restore master-key from the same backup as the data. To change the key, see Change the encryption key. If the key is lost, see Restore without the encryption key. |
| The container restarts, and the log says that a file "is not encrypted, and this installation has an encryption key". | A plain file or value is in the place of an encrypted one. Cyproxy does not read it, because a different person possibly put it there. If you put it there (an update from a version without encryption, or an old backup), start Cyproxy one time with CYPROXY_CONVERT_PLAIN=1, then remove the setting. If you did not, restore the complete volume from a backup, or move the file out of the volume to start that file again. See When Cyproxy accepts a plain secret. |
The container restarts, and the log says that CYPROXY_ENCRYPTION_KEY "must be 32 random bytes". |
The value is not 32 bytes as base64 (44 characters) or hex (64 characters). Make a key with openssl rand -base64 32. |
AI clients¶
| Problem | Solution |
|---|---|
The AI client gets 401 from /mcp. |
The access token is revoked, expired or incorrect. Make a new token on the Connect page. |
| Claude Code asks you to authenticate. | The server was added without a token, or for one project only. Add it again with --scope user and the --header option. See Connect an AI client. |
| Claude Desktop does not show Cyproxy. | Make sure that the path to docker in the config is correct and that the container name is cyproxy. Quit Claude Desktop and open it again. |
| Claude.ai cannot connect. | Claude.ai connects from the internet. Cyproxy needs a public https address. See Run Cyproxy on a server with https. |
| The AI client finds no tools. | Turn on an integration. Make sure that its tools are approved in Governance → Tool review and that the switch of each tool is on. |
Tool calls¶
| Message | Meaning |
|---|---|
| "… hasn't been reviewed yet, so it's held." | The tool is new. Approve it in Governance → Tool review. |
| "… has changed since it was approved, so it's held." | The tool definition changed. Compare the versions and approve or block the tool. |
| "Not run yet: … the user has to approve this exact call." | The call waits in Governance → Approvals. Approve it, then make the same call again. |
| "Not sent: the arguments contain …" | A data protection rule blocked the call. |
| "All integrations are paused" | Resume integrations on the Integrations page. |
An error from the vendor (401, 403) |
The key is incorrect or expired, or the vendor plan does not include the tool. |
Integrations¶
| Problem | Solution |
|---|---|
| An integration shows Needs credentials. | Save its key, or sign in with the vendor. |
| "must resolve to a public internet address" | The server is on a private network. Add the network to CYPROXY_ALLOW_PRIVATE_URLS in .env. |
Vendor sign-in fails on localhost. |
The vendor needs an https address. Use an API key, or run Cyproxy with https. |
Get help¶
Open an issue on GitHub. Include the version from the sidebar and the output of docker compose logs cyproxy. Remove all keys and tokens first.
To report a security problem, see SECURITY.md. Do not open a public issue.
A vendor says "too many requests"¶
An AI client often asks for many look-ups at the same moment. Cyproxy sends the calls to one integration a few at a time, so that the vendor does not refuse them:
- Cyproxy starts 4 calls each second to one integration. More calls wait for their turn. Change the number with
CYPROXY_CALLS_PER_SECOND. See Configuration. - For a vendor with a published limit, Cyproxy uses that limit. For example, Modat Magnify accepts 3 requests in 3 seconds.
- If the vendor still answers "too many requests", Cyproxy waits and sends a read tool again, up to three more times. It also sends calls to that integration more slowly for one minute. Cyproxy never sends a write tool again.
- If the daily or monthly quota of your key is used up, Cyproxy does not try again. The AI client gets the answer of the vendor.