Operations

Troubleshooting

What a symptom means and how to fix it.

What you seeLikely causeFix
The app has prices but no vault numbers; badge No engine dataVercel has no DATABASE_URLAdd the pooled string and redeploy
Badge Engine offlineThe engine is not running, or writes to a different databaseCheck Render's logs and /health. Both DATABASE_URLs must point at the same Neon database
Badge Engine not startedThe database is connected but the engine never ran against itDeploy the engine
The engine exits with Engine configuration is invalidA variable is missing or malformedThe log lists which one. Usually DATABASE_URL, or an empty line like HL_ACCOUNT= copied from the example file
The engine exits with EXECUTION_MODE=live needs …Live mode without its keysSet EXECUTION_MODE=paper, or supply the keys it lists
The engine works for a while, then stops quotingA free Render instance went to sleepUse a paid instance
Admin calls answer 403 ADMIN_DISABLEDADMIN_TOKEN unset on Vercel, or shorter than 24 charactersSet it and redeploy
Admin calls answer 401 UNAUTHORIZEDWrong tokenCheck the Authorization: Bearer … header
Badge HaltedThe kill switch is on (an operator, or the drawdown limit)Release it with {"on": false}. If NAV is still 10 % under its 24 h peak, it re-engages
Connection errors from Vercel to the databaseVercel uses the direct stringUse the pooled one (host contains -pooler)
Vault endpoints answer 503 DATABASE_NOT_CONFIGUREDNo database on the API's sideSame fix as No engine data
502 UPSTREAM_ERRORThe database, the RPC or an upstream API did not answerRetry; check Neon and the Elysium RPC
Market making shows waiting for a fresh bookHyperliquid's feed paused for more than 15 sNothing to do: quotes resume when the book is fresh
Harvest is blockedNo MOTION_TOKEN (and no stand-in), or the FeeSplitter has no pool yetSet MOTION_TOKEN; the admin calls setPoolId once
Arbitrage is idleMOTION has no HyperCore marketSet ARB_HL_COIN when it lists

Where to look

  • /api/v1/status: database, heartbeat age, mode, kill switch, feed health.
  • /api/v1/ledger?kind=risk: every halt, drawdown and stale-data event.
  • The engine's /health and /status on its own address.
  • Render's logs (one JSON line per event with LOG_FORMAT=json).