Troubleshooting
Login succeeds and immediately returns to the login page
Section titled “Login succeeds and immediately returns to the login page”The browser dropped the cookie.
COOKIE_SECURE=trueon an HTTP site. Use HTTPS, or setCOOKIE_SECURE=falseonly on a machine you alone can reach.- You opened the UI over plain HTTP by LAN IP or hostname. With
COOKIE_SECURE=trueonly HTTPS andhttp://localhostkeep the cookie. COOKIE_DOMAINis not the host in the address bar. Leave it empty, or set the real host.
CORS_ORIGINS does not cause this. The UI and the API share one origin through the bundled nginx. CORS_ORIGINS only matters for browser pages on other origins, such as an MCP client.
Everyone is locked out of login
Section titled “Everyone is locked out of login”TRUST_PROXY is too low, so every request shares the proxy IP, or it is false. Set it to the number of proxies you run. See Rate limiting. The lock is in memory and lasts RATE_LIMIT_LOCK_DURATION_MS (15 minutes). A restart clears it. TRUST_PROXY=true refuses to start.
The container exits before it listens
Section titled “The container exits before it listens”JWT_SECRET,DATABASE_PASSWORD, orPOSTGRES_PASSWORDis empty. Compose stops with an error and creates no containers at all.- The pre-migration backup failed, usually because Postgres was not ready.
BACKUP_MANDATORYdefaults to on, andrestart: unless-stoppedtries again. Logs say whetherpg_dumpwas the cause. SMTP_ENCRYPTION_KEYis missing and you removed the Compose fallback. The process throws.TOTP_ENCRYPTION_KEYwas set once and is now missing or different. Put the original key back. See Secrets.TOTP_ENCRYPTION_KEYis shorter than 32 characters or equal toJWT_SECRET.MCP_RATE_LIMIT_PER_MINorAPI_TOKEN_MAX_TTL_DAYSis outside its allowed range while MCP is on.
SAML settings will not save
Section titled “SAML settings will not save”SAML_ENTITY_ID and SAML_ACS_URL are empty inside the container. The stock Compose file comments them out. See SAML.
Invites point at localhost:4200
Section titled “Invites point at localhost:4200”FRONTEND_URL is unset, and Compose does not pass it. Set it to the public origin and uncomment the line.
IMAP connects and imports nothing
Section titled “IMAP connects and imports nothing”- The mailbox has no unseen messages with a
.xml,.gz, or.zipattachment. Other mail is left unread. - Outlook.com or Microsoft 365: password IMAP is rejected. Use another mailbox.
- Gmail without an app password fails authentication.
IMAP_TLS_REJECT_UNAUTHORIZED=trueand the certificate is not publicly trusted.
Addresses stay empty when the provider is iplocate
Section titled “Addresses stay empty when the provider is iplocate”The app still starts, but iplocate lookups fail until IPLOCATE_API_KEY is set. Configured fallbacks can still fill some addresses. Switch to ip-api or geoip-lite if you do not have a key. A placeholder key is worse than none: the provider is then called with it and fails for every address. See IP lookup.
A report from email was stored as unverified under enforce
Section titled “A report from email was stored as unverified under enforce”IMAP_PROCESS_INLINE or GMAIL_PROCESS_INLINE is false, so the file watcher imported it without the message. enforce does not apply on that path. The startup log says so.
Where the screens are
Section titled “Where the screens are”| Path | Who | What |
|---|---|---|
/dashboard |
signed in | Summary, map, charts |
/explore |
signed in | One row per record |
/reports |
signed in | One row per aggregate report |
/domains |
signed in | Managed and unknown domains |
/upload |
administrator | Report files |
/settings |
administrator | Third-party senders, reprocessing, utilities, report senders, SAML, SMTP, and API tokens when MCP is on |
/users |
administrator | Invites |
/profile |
signed in | Password, 2FA, MCP tokens |