Troubleshooting¶
I can't open the console¶
- Use https:
https://<server>:9443. The first certificate is self-signed, so the browser warns. - Is the container running?
docker compose ps, thendocker compose logs corvus. - A firewall or Admin console allowed networks may block you. To recover, start once with
CORVUS_ADMIN_ALLOW_ANY=1and fix the list. - Lost the setup token?
docker compose logs corvus | grep setup_token(only shown until the first administrator exists).
I forgot the password or lost two-step verification¶
Another administrator can reset your password or Reset MFA under Users. If you are the only administrator, run this on the server:
It prints a new random password for the only active administrator, ends their sessions and deletes
the API tokens they created. Add --disable-mfa if you also lost your authenticator app and recovery
codes, and --email you@example.com if there are several administrators. Sign in, change the
password on the Account page and set up two-step verification again. The reset is recorded in
the audit log. It works while Corvus is running, with SQLite and PostgreSQL.
502 Bad Gateway¶
Corvus can't reach the forward target. The proxy host list marks such hosts with Upstream error; hover it for the reason. In the host's form, Check connection tries the target the way the gateway does and suggests the fix (see Check connection).
- Container name as target: Corvus must share a Docker network with it.
127.0.0.1/localhostas target means the Docker host. The service must listen on0.0.0.0(or the Docker bridge), not only127.0.0.1, and the host firewall must allow Docker networks. Services bound to127.0.0.1only need host networking.- Service on another server: use its IP address or full DNS name (not a short name that needs a search domain), allow the gateway server through that server's firewall, and check that the Docker network's range does not overlap your network. See The services run on other servers.
upstream sent too big header: very large cookies or headers from the app. Addproxy_buffer_size 32k;to the host's Advanced nginx config.- Host with several backends: a 502 means
every backend failed (All backends failing). When only one fails, the others answer and the
list shows Backend error. A
POSTthat already reached a backend is not repeated on another one, so requests in progress at the moment a backend stops can still get an error.
504 Gateway Timeout¶
The service took longer than the Upstream timeout (60 s by default). Raise it under Advanced for slow endpoints such as reports or exports.
413 Request Entity Too Large¶
The upload is larger than Max upload size (100 MB by default). Raise it under Advanced
(0 = unlimited). With the hardened install also mind the /tmp size.
Let's Encrypt fails¶
- HTTP-01: the domain must point at this server and port 80 must be reachable from the internet (not only 443).
- Wildcard domains need DNS-01.
- Use staging while testing.
For the errors below, the certificate's row shows a one-line hint with a link to this page (hover the status for the full error). The certificate issuance failed alert includes the same hint.
Rate limit reached¶
urn:ietf:params:acme:error:rateLimited. Let's Encrypt limits how often the same set of names is
issued (5 per week) and how many validations may fail per hour. Stop retrying, fix the cause, and
wait until the time given in the error. Test with staging, which has much higher limits.
Nameservers answer SERVFAIL or REFUSED¶
propagation: time limit exceeded … NS ns1.example.net. returned SERVFAIL for _acme-challenge….
The domain's authoritative nameservers answer the TXT query with an error. Usual causes: broken
DNSSEC (a DS record at the registrar that no longer matches the zone), NS records at the registrar
that point to a provider which does not host the zone, or a provider that refuses some networks.
Check with dig +dnssec _acme-challenge.example.com TXT @ns1.example.net or an online DNSSEC
checker, and fix the delegation at the registrar.
TXT record not visible in time¶
propagation: time limit exceeded, or unauthorized … Incorrect TXT record … _acme-challenge.
The record was created but the nameservers did not serve it within 10 minutes. Make sure the
domain's NS records point to the provider of the DNS credential (not a previous provider), then
Renew now. Some providers are slow; a retry usually works.
DNS provider refused the credential¶
error presenting token: … with 401, 403, unauthorized or zone could not be found. The API
token is wrong, expired or lacks permission. For Cloudflare, use an API token with
Zone → DNS → Edit (and Zone → Read) for this zone. Update it under
Certificates → DNS credentials.
Nameservers not found¶
could not find the start of authority, NS call failed, initial recursive nameserver. Corvus
could not look up the domain's nameservers: the domain is not registered or delegated yet, or the
Corvus server cannot reach a DNS resolver (check /etc/resolv.conf and outbound port 53).
CAA record forbids Let's Encrypt¶
urn:ietf:params:acme:error:caa. A CAA record on the domain (or a parent domain) allows other CAs
only. Add 0 issue "letsencrypt.org" (and issuewild for wildcards) or remove the CAA record.
Name not allowed¶
urn:ietf:params:acme:error:rejectedIdentifier. Let's Encrypt only issues for public domain names:
not IP addresses, localhost or internal names such as nas.lan. Use a public domain, or upload
your own certificate.
Account email rejected¶
urn:ietf:params:acme:error:invalidContact. The email's domain does not accept mail or is a
placeholder such as example.com. Use a real address.
Domain has no DNS records¶
urn:ietf:params:acme:error:dns, for example NXDOMAIN looking up A. Let's Encrypt could not
resolve the name. Check the spelling and that its A/AAAA record exists in public DNS, not only on
your LAN.
Port 80 not reachable¶
urn:ietf:params:acme:error:connection, Timeout during connect (likely firewall problem). Open
port 80 in the firewall and forward it to Corvus on the router; check that the A/AAAA records hold
your public address (an AAAA record pointing elsewhere is a common cause). Can't open port 80? Use
DNS-01.
HTTP-01 reached another server¶
urn:ietf:params:acme:error:unauthorized … Invalid response from http://…/.well-known/acme-challenge/….
The request arrived, but not at Corvus: the domain points to another server, another proxy answers
port 80, or a CDN (for example Cloudflare's proxy) redirects or caches the path. Point the domain at
Corvus or use DNS-01.
Let's Encrypt not reachable¶
get directory at 'https://acme-v02.api.letsencrypt.org/directory'. The Corvus server has no
outbound HTTPS access or cannot resolve names. Check DNS, the firewall and any outbound proxy.
A change is rejected¶
The gateway tests every change before applying it; a rejected change leaves the running configuration untouched. The error shows nginx's output, and Deployments keeps it.
Port already in use¶
The gateway kept the previous configuration (reload_rejected). The test passed, but nginx could
not apply the change, usually because a stream port (or 80/443) is already used by another program
on the server or by another container with host networking. Free the port or choose another;
docker compose logs corvus shows the exact bind() error.
Advanced configuration error¶
[emerg] unknown directive …, … is not allowed here or invalid number of arguments in
hosts/<id>.conf. A host's Advanced nginx config contains something nginx does not accept. The
number in the file name is the host's ID; fix or remove the snippet on that host.
The gateway is stopped¶
The header shows Gateway · stopped (hover or focus it for the reason, e.g.
bind() to 0.0.0.0:8443 failed (98: Address already in use)). The console keeps running so you can
fix it; Corvus does not restart the container in a loop.
- Corvus retries starting the gateway with increasing pauses (5 seconds up to 2 minutes) and logs
GATEWAY DOWNwith the reason. Saving any change retries immediately. - If the gateway stops again within 30 seconds of starting three times in a row, Corvus switches to the most recent earlier configuration that passes the test and records it as a rollback in Deployments. If that fails too, it starts a safe configuration with only the default server; the header then shows undeployed changes. Fix the cause (free the port, change the stream, remove the faulty advanced snippet) and save or redeploy to return to your configuration.
- Such automatic fallbacks are not kept across restarts: the next start of Corvus tries your stored settings again, and falls back again if the gateway still cannot start with them. A rollback you chose yourself in Deployments is kept. Deploying while the gateway is stopped always wins over a fallback that is in progress.
- The most common cause is a port that another program on the server took while Corvus was
stopped — often a stream port.
docker compose logs corvusshows the full error.
Outbound connections fail¶
List feeds, the country database, managed rules updates, alert channels, Cloudflare ranges, SSO discovery and the NPM import connect from the Corvus server. Their errors carry a hint:
| Error contains | Meaning and fix |
|---|---|
no such host, server misbehaving |
The name does not resolve: check the URL and the server's DNS. |
connection refused |
Nothing listens there: check host, port and that the service runs. |
i/o timeout, deadline exceeded |
No answer: check the outbound firewall or proxy. |
x509: |
Certificate not trusted: check the URL; use a certificate from a public CA. |
is not allowed, non-public address |
Corvus does not connect to loopback, link-local or (for list feeds) private addresses. |
HTTP 401, HTTP 403 |
Credentials refused: check the token, webhook URL or password. |
HTTP 404, 404 Not Found |
Wrong URL. For SSO, enter the issuer without /.well-known/openid-configuration. |
Error 1045 |
NPM import: MySQL user name or password is wrong. |
Error 1049 |
NPM import: the MySQL database does not exist (NPM's default is npm). |
did not match the issuer URL |
SSO: the issuer differs from the provider's issuer, often by a trailing slash. Copy it exactly. |
A visitor says they were blocked¶
The block page shows the visitor's IP and the time. Search for the IP in Traffic monitor → Request logs around that time; the row shows which rule or ban blocked them. Unban under IP bans, or add an Allow rule / exempt network.
API clients get 429 with "cookie-check"¶
The host has an access queue and the client didn't send the admission cookie. This is the queue asking it to wait, not an error. Protect only browser paths, or move the API to a host without a queue.
Streams don't answer¶
On a bridge network the port must also be published in docker-compose.yml. See
Streams.
sendfile() failed (9: Bad file descriptor) in the logs¶
Harmless: the backend answered before it read the whole upload. The request itself completed.
Where are the logs?¶
The console's Deployments page shows the output of a rejected configuration.
Still stuck? Open an issue with the Corvus version and the relevant log lines (remove domains and IPs you don't want to share).