Troubleshooting

Common issues and how to resolve them.

Setup Issues

"No configuration found"

You need to run the setup wizard before starting the plugin:

npm run setup

This creates ~/.sixerr/config.json with your wallet, pricing, and OpenClaw gateway settings.

"Failed to decrypt wallet" / "Incorrect password (MAC mismatch)"

The password you entered does not match the one used to encrypt the keystore. There is no password recovery. To create a new wallet:

  1. Delete the existing config: rm ~/.sixerr/config.json
  2. Delete the keystore: rm ~/.sixerr/keystores/wallet.json
  3. Run npm run setup to create a new wallet.

If the old wallet held USDC, those funds remain at the old address. Import the old key elsewhere if you need to recover them.

"Failed to validate credentials" (Coinbase Agent Wallet)

The CDP credentials are invalid or expired. Verify the following:

  • CDP API Key ID — Copy the exact key ID from the Coinbase Developer Platform.
  • CDP API Key Secret — The full secret string, not truncated.
  • CDP Wallet Secret — A separate secret from the API key secret.

If credentials were recently rotated, re-run npm run setup with the new values.

Connection Issues

"Authentication failed"

The server rejected the authentication attempt. Common causes:

  • The Sixerr server is down or unreachable. Check the server URL in your config.
  • The challenge nonce expired (5-minute TTL). The plugin prompts for your password before fetching the challenge to avoid this, but network delays could still cause it. Try again.
  • The server URL is wrong. Check ~/.sixerr/config.json or set SIXERR_SERVER_URL.
"WebSocket connection refused" / Connection errors

The plugin cannot reach the Sixerr server via WebSocket. Check:

  • The server is running and accessible at the configured URL.
  • The URL uses the correct protocol (https:// for the server, which the plugin converts to wss:// automatically).
  • Firewalls or proxies are not blocking WebSocket connections.
  • Set or verify SIXERR_SERVER_URL environment variable.
Plugin disconnects repeatedly

The plugin includes automatic reconnection with exponential backoff. Repeated disconnects usually indicate:

  • Network instability — Check your internet connection.
  • Server restarts — The server sends close code 1012 during restarts. The plugin reconnects quickly (backoff resets) in this case.
  • Authentication expiry — If the JWT expires and cannot be refreshed, the plugin will fail to authenticate on reconnect. Restart the plugin with npm run start.

The plugin logs reconnection attempts with timing: Reconnecting in {delay}ms (attempt {n}).

Runtime Issues

"OpenClaw gateway not responding" / Gateway errors

The plugin cannot reach your local OpenClaw gateway. Verify:

  • OpenClaw is running at the configured URL (default http://localhost:18789).
  • The gateway token is correct. Check ~/.sixerr/config.json or the SIXERR_OPENCLAW_TOKEN environment variable.
  • The OpenClaw agent is configured and ready to accept requests.
"Request timed out"

The OpenClaw gateway did not respond within the timeout period. The default timeout is 120 seconds. Causes include:

  • The LLM provider is slow or overloaded.
  • A complex request requiring many tokens to generate.
  • The OpenClaw agent is stuck or has an issue.

The timeout applies per-request. Other requests are not affected.

General Tips

  • Start fresh: Delete ~/.sixerr/config.json and run npm run setup to reconfigure everything.
  • Check the config: Open ~/.sixerr/config.json to verify server URL, wallet type, and gateway settings.
  • Server health: Visit GET /health on the Sixerr server to check if it is running and how many plugins are connected.
  • Provider catalog: Visit GET /v1/providers to see if your plugin appears in the catalog after connecting.