Troubleshooting¶
Find your symptom, then follow the fix. Error messages are quoted exactly as Nexus or CCP shows them, so you can search this page for them (Ctrl+F). Still stuck? See Getting Help.
First, always: check the server log for WARN/ERROR lines, and open Admin → System Health
if you can sign in.
Server won't start¶
The process exits right away and the last line starts with Error:.
DATABASE_URL environment variable is required / VAULT_MASTER_KEYS environment variable is required¶
Nexus didn't find the setting. Either .env isn't in the folder Nexus starts from (check
WorkingDirectory in the service), or the line is misspelled. A correct start logs
Loaded environment from .env first.
VAULT_MASTER_KEYS is missing or malformed¶
The value must be <version>:<64 hex characters>, for example 1:3fa9… (66 characters in all for
one key). Common causes: missing 1:, a copied space or quote, a key that's too short, or the same
version number used twice. Generate a fresh key (Installation, step 4),
unless pilots already have tokens stored: in that case restore the original key from your backup.
error communicating with database / Connection refused / password authentication failed¶
- Is PostgreSQL running? (
docker ps, orsystemctl status postgresql) - Do the host and port in
DATABASE_URLmatch? The Docker example publishes port5432on127.0.0.1. - A password containing
@,:,/or#must be URL-encoded inDATABASE_URL(@becomes%40). The simplest fix is a password made of letters and digits only.
migration … was previously applied but has been modified¶
A file in migrations/ differs from the copy already applied, often only in line endings
(Windows checkouts converting LF to CRLF). Restore the original files:
git checkout -- migrations/
git config core.autocrlf false
Rebuild and start again. Never "fix" this by editing the _sqlx_migrations table.
Address already in use (Linux) / Only one usage of each socket address (Windows)¶
Something else is using the port, often a second copy of Nexus. Stop it, or change BIND_ADDR
(and your proxy target to match).
jsonwebtoken has no crypto backend¶
The binary was built with modified dependencies. Build from an unmodified checkout.
The site only says "EVE Nexus Core API is running. Build web/dist…"¶
The web interface wasn't built before the server. Run npm run build in web/, then rebuild core-api.
Sign-in problems¶
CCP's page says the redirect/callback is invalid¶
The callback registered on developers.eveonline.com must equal PUBLIC_URL + /sso/callback
exactly: same http/https, same host, same port, no trailing slash. System Health shows the
callback Nexus is using.
EVE SSO rejected the sign-in¶
CCP refused the login code. Usually the wrong EVE_CLIENT_ID or EVE_CLIENT_SECRET, or the
secret was regenerated on CCP's site without updating .env. Copy both again, restart, retry.
Client credentials should only be provided once¶
Fixed in current versions. Upgrade.
EVE SSO token was issued to a different application¶
EVE_CLIENT_ID doesn't match the application that issued the login. Check for a second EVE
application with a similar name.
Sign-in session expired; please try again¶
The browser came back from CCP without the short-lived sign-in cookie, or with one Nexus can no
longer read. Causes, most common first:
- You started on http://127.0.0.1:8080 but PUBLIC_URL is http://localhost:8080 (or the
reverse), so CCP sent you back to a different site. Always use exactly the PUBLIC_URL address.
- More than 10 minutes passed between clicking sign-in and returning from CCP.
- VAULT_MASTER_KEYS changed, or Nexus restarted with a different key, mid-sign-in.
- The browser blocks cookies for the site.
Sign-in session invalid; please try again¶
The sign-in cookie was readable but corrupted. Rare. Clear the site's cookies and try again.
SSO state mismatch (CSRF check failed)¶
Two sign-ins were started in different tabs, or a link was reused. Close the extra tabs and start again from the Nexus page.
The page shows ?sso_error=cancelled¶
The pilot pressed cancel on CCP's page, or CCP's login had a problem. Try again. If it repeats, check https://status.eveonline.com.
Could not reach EVE SSO¶
The server can't reach login.eveonline.com. Check outbound HTTPS, DNS and firewall rules
(Requirements → Network).
Character is already linked to another account¶
That character belongs to a different Nexus account. This is deliberate: one character can't be claimed twice. It only appears when linking (the + Link Alt Character button); a plain Sign in with that character switches to its own account instead. The pilot should sign in with that character's original account and link from there. If the owner really changed (a character sale), an admin must move or remove it in the database.
You were signed out during alt linking; please sign in and try again¶
The session ended while linking an alt (sign-out in another tab, or it expired). Sign in with the main character, then link the alt again.
Sign-in from this address only accepts publicData¶
Someone opened an old sign-in link that asks for mail, wallet, assets or contracts directly. Sign in with the button on the Nexus front page (or Link Alt Character): it shows what is shared and records the pilot's agreement first.
EVE's sign-in page says the scope is invalid¶
The EVE application doesn't allow a scope Nexus asks for. Open Admin → Organisation → What Nexus asks pilots for → Show the scopes…, and add every one of them to the application on developers.eveonline.com (or untick the categories you don't want).
What Nexus asks for has changed; please review it again and continue¶
CONSENT_POLICY_VERSION changed while the disclosure screen was open. Close it and sign in again.
Signed in, but…¶
I'm sent back to the sign-in page right after logging in¶
The session cookie isn't being kept:
- PUBLIC_URL starts with https:// but you're browsing over plain http://. Secure cookies are
dropped over HTTP. Browse via HTTPS, or fix PUBLIC_URL for local testing.
- A proxy strips the Set-Cookie header, or serves a different host name than PUBLIC_URL.
Cross-origin request rejected when signing out or granting consent¶
The browser's address doesn't match PUBLIC_URL (different scheme, host or port). Common cases:
the dev server on port 5173, or reaching the server by IP. Use the PUBLIC_URL address, or for
the Vite dev server set PUBLIC_URL=http://localhost:5173.
The consent policy has changed; please review the current version and try again¶
An admin raised CONSENT_POLICY_VERSION while the consent screen was open. Reload the page and
grant again.
I don't see the Admin menu¶
The account isn't a superadmin and has no admin permissions. See Installation, step 6.
Missing required permission¶
The page or API needs a permission the account doesn't have. Expected for normal pilots.
Names and data¶
Items, systems or regions show as numbers (#30000142)¶
CCP's static data hasn't been imported. System Health shows "not imported yet". Check the log:
- SDE import committed means it worked; reload the page.
- SDE sync failed; will retry at the next interval means the server can't reach sde.evetech.net,
or the database refused the import. The error text says which. It retries every 6 hours, or at
the next restart.
Corporation or alliance shows as a number, or as "syncing…"¶
- Number: ESI was unreachable when the page loaded. It's retried on the next page load.
- "syncing…": the corporation lookup failed at sign-in and the retry worker isn't running yet (known limitation). Signing in again with that character fixes it.
Player structures (citadels, Fortizars…) have no names¶
Structure names need esi-universe.read_structures.v1 on that character, and the character
has to be allowed to dock. Sign in with the character again and grant it when the page says
so. A structure the character cannot dock at is shown as the solar system name plus
"structure". NPC stations are named from ESI without that permission.
ESI /universe/names failed; showing raw IDs in the log¶
ESI was down or rate-limited for a moment. Pages fall back to IDs and retry later. If it
persists, check https://status.eveonline.com and outbound access to esi.evetech.net.
System Health warnings¶
"PUBLIC_URL uses HTTPS but no trusted proxy reported X-Forwarded-Proto: https…"¶
Nexus can't confirm the connection is HTTPS. Either the proxy doesn't send X-Forwarded-Proto
(add proxy_set_header X-Forwarded-Proto $scheme; in nginx), or the proxy's IP isn't in
TRUSTED_PROXIES. Compare "Connecting peer" on the System Health page with TRUSTED_PROXIES.
"Cloudflare traffic detected (CF-Ray present) while TRUST_CLOUDFLARE_IPS=false…"¶
Traffic comes through Cloudflare, but Nexus records Cloudflare's IP instead of the pilot's. Set
TRUST_CLOUDFLARE_IPS=true and restart.
"X-Forwarded-For was sent by an untrusted peer and ignored…"¶
Something in front of Nexus sends forwarding headers, but its address isn't in TRUSTED_PROXIES.
If it's your proxy, add its IP (shown as "Connecting peer"). If you don't have a proxy, someone is
trying to spoof their IP, and Nexus correctly ignored it.
"EVE_CLIENT_ID is not set; EVE SSO login will fail."¶
Add EVE_CLIENT_ID to .env and restart.