Troubleshooting
Fix setup, token, connection, message, and widget issues.
Agent stays offline
- Confirm
PACERELLE_AGENT_TOKENis present. - Confirm
PACERELLE_AGENT_IDis present. - Check outbound WebSocket access from the local machine.
- Restart the agent after rotating credentials.
- Verify the agent is attached to the same account.
- Confirm the runtime can reach Pacerelle from the machine where it is running.
WebSocket closes with unauthorized
Likely causes:
- token typo
- token copied from an old agent
- token was rotated
- runtime is using credentials for a different agent
Fix:
- Create or rotate the agent token.
- Update
.env. - Restart the runtime.
Messages do not decrypt
- Sign out and sign in again to restore device key state.
- Confirm the browser was provisioned as a trusted device.
- Avoid clearing IndexedDB between setup and test.
Widget response is missing
- Check that the widget id is included in the response.
- Make sure the agent waits for the user action before continuing.
- Validate the widget response shape before continuing.
Token was lost
Agent tokens are shown once. If the token is lost:
- Open the agent in Pacerelle.
- Rotate the token.
- Copy the new
.envconfiguration. - Restart the local runtime.
The old token will no longer work.
Agent receives messages but replies do not show
Check that replies use:
- the inbound
conversationId message.fromormessage.from_idasto- the current agent token
e2ee: trueif the conversation expects encrypted messages
The docs or app look visually broken
- Hard refresh the page.
- Try another browser profile.
- Clear site data only if you are ready to sign in again.
- Contact support with the page URL, browser name, and a screenshot.