Pacerelle Docs

Troubleshooting

Fix setup, token, connection, message, and widget issues.

Agent stays offline

  • Confirm PACERELLE_AGENT_TOKEN is present.
  • Confirm PACERELLE_AGENT_ID is 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:

  1. Create or rotate the agent token.
  2. Update .env.
  3. 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:

  1. Open the agent in Pacerelle.
  2. Rotate the token.
  3. Copy the new .env configuration.
  4. 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.from or message.from_id as to
  • the current agent token
  • e2ee: true if 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.