ONCUE / GUIDE

Troubleshooting

Most problems in a new deployment trace back to one missing or mismatched setting.

Signing in

“Your account is not enabled on this OnCue.” Your Clerk user ID is not in the allowlist, or the database migrations have not been applied.

Every request is treated as signed out. The Clerk public key does not belong to the Clerk application whose publishable key was built in. Run pnpm clerk:jwt-key --write and deploy again.

GitHub

Connecting GitHub fails immediately. One of the GitHub App’s values or the keyring is missing, or the private key was not converted to PKCS#8.

GitHub sends you back with “wasn’t completed.” The App is not set to request user authorization during installation, or its callback URL is wrong.

Pushes and pull requests never show up in a session. The webhook URL or secret is wrong, or the App is not subscribed to push and pull request events.

Sessions and sandboxes

Connecting Modal says the controller is unavailable. The controller’s address or token is missing on the Worker, or the keyring is.

A session “runs” but nothing real happens. The controller values are missing, so it used the built-in fake sandbox. Or no model key is connected, so it used the scripted stand-in model.

A sandbox never gets past “Starting.” The controller was given the wrong Worker address (fix it, then redeploy the controller), the bridge bundle was not built before the controller was deployed, or the image is still building in that person’s Modal workspace.

Uploads and artifacts fail. The R2 bucket named in deployment.json does not exist.

Where to look

Worker logs are in the Cloudflare dashboard, under the Worker’s Observability tab. Every line carries the environment and the release. /api/health on your Worker reports the release that is live.