Troubleshoot your Hermetiq connection
Resolve the most common setup, authentication, profile-ingestion, MCP, remote-cache, and Buildbarn integration problems.
No builds appear
- Confirm you are viewing the same Hermetiq project configured in Bazel.
- If the flags use
build:hermetiq, confirm the command includes--config=hermetiq. - Verify the BEP instance name and endpoint match the current Quickstart output.
- Confirm the credential helper exists at the configured workspace path and is executable, and that
tools/hermetiq-credential-helper get >/dev/nullfinishes without an error. - Run a new build and check Build History again.
Authentication errors
For Hermetiq Cloud, run tools/hermetiq-credential-helper get >/dev/null from the workspace root, so the token isn’t printed. Bazel shows the same message when the helper fails:
- no hermetiq/<project-id> credentials in env, Keychain or pass: run
tools/hermetiq-credential-helper store, or setHERMETIQ_M2M_CLIENT_IDandHERMETIQ_M2M_CLIENT_SECRET. - the Keychain entry … isn’t JSON with client_id and client_secret: the item was added by hand and cut off at 128 characters. Run
storeto replace it. - can’t read … from the Keychain: the Keychain is locked, which is common over SSH. Run
security unlock-keychainor use the environment variables. - pass can’t decrypt …: run
pass show hermetiq/<project-id>in a terminal so gpg-agent caches your passphrase. - Hermetiq token request failed: … unauthorized_client: the credentials were revoked or mistyped. Issue new ones in Quickstart and store them again.
Bazel reuses a token for 30 minutes. After you change your credentials, run bazel shutdown to use them right away.
For a customer-managed deployment, obtain a replacement helper from the deployment administrator. The project encoded in the machine credential must match the project/instance value used by the build. Also check file permissions, workspace-relative paths, host mappings, and whether the CI environment has the same helper and configuration as local development.
If a project admin reset a member’s M2M OAuth client or mTLS certificate, or the member issued new credentials, the old secret stops working everywhere. Store the new credentials on each machine and in CI before retrying.
Profile analytics are missing
- Confirm the recommended JSON trace-profile flags are active for the invocation.
- Confirm Project Settings has read access to the CAS containing the profile artifact.
- Verify the build completed far enough to publish the profile output.
MCP cannot connect
- For Hermetiq Cloud, sign in to dashboard.hermetiq.io before starting the authentication flow. For customer-managed deployments, sign in to that deployment’s dashboard instead.
- For Claude Code, run
/mcpand re-authenticate. - For Codex, run
codex mcp login hermetiq. - Confirm the client points to
https://mcp.cloud-usc1.hermetiq.ioor the correct customer-managed MCP endpoint.
Cache or RBE data is missing
BEP alone does not guarantee that cache, completed-action, Buildbarn infrastructure, or cost views will be populated. Confirm the corresponding cache, action-log, metrics, logs, traces, or cost integration is enabled for the project and deployment.
Detailed error guides
Use these symptom-specific references when the initial checks above do not isolate the failure:
Get support
Email support@hermetiq.com with the project name, affected build or invocation ID, approximate time, command type, and the setup step that failed. Do not send private credentials or tokens.