Skip to content

Troubleshooting ​

Package installs ​

SymptomLikely causeWhat to do
401 UnauthorizedThe client sends no token, a wrong one, or an expired one.Copy a fresh snippet from the Registry page. For CI, mint a new CI token.
403 Package blockedA policy, the malware list or namespace protection blocked the version.Read the reason in the message. Open Package check for an allowed version, or request a waiver.
404 for an internal packageNamespace protection allows only internal remotes, and none of them has the package; or the client uses a repository without your internal remote.Use the repository that includes your internal registry (often all). Check that the package is published internally.
502 Upstream … is unavailableThe upstream registry timed out or refused the connection. DepGate does not fall back to the next remote.Check the remote with Test connection under Settings → Repositories, and the outbound proxy settings.
503 Upstream … is unavailable: circuit breaker openThe remote failed repeatedly, so DepGate stops calling it for a short time (CIRCUIT_BREAKER_RESET_MS, 10 seconds by default). Retry-After says when it tries again.Retry after that time. If it keeps happening, check the remote as for a 502.
Certificate errors (UNABLE_TO_VERIFY_LEAF_SIGNATURE, SSL: CERTIFICATE_VERIFY_FAILED, PKIX path building failed)The client does not trust your CA.See Trusting your CA in package clients.
Go refuses the proxy URLgo sends credentials only over HTTPS.Put DepGate behind TLS.
A new release is not availableA release age policy (cool-down) blocks it.It becomes available automatically. Package check shows when.

Signing in ​

SymptomWhat to do
Forgot passwordUse Forgot password? on the sign-in page. The link works once, for 60 minutes.
No invitation or reset email arrivesCheck Settings → Email and send a test email. See Email troubleshooting.
The invitation link says Link not validIt was already used or has expired. Ask a Security user to resend it.
Everyone was signed out and registry tokens stopped workingJWT_SECRET changed. Restore the previous value, or have everyone sign in again and copy new snippets.
Single sign-on refuses someoneThe sign-in page says why. The Sign in entries in the Audit Log have the details, and Test sign-in on the provider shows what DepGate receives.
An identity provider is saved but turned offDepGate could not reach it, or no sign-in domain is allowed. The reason is shown on the provider; fix it and turn the provider on.

Installation ​

SymptomWhat to do
docker compose up stops with Set … in .envA required setting is missing. See Configuration → Required.
The container never becomes healthyRun docker compose logs app. Most often the database or Redis is unreachable from the container; with the bundled stack, use host.docker.internal as the host.
/readyz reports an eviction policy other than noevictionSet maxmemory-policy noeviction on Redis, or use a separate QUEUE_REDIS_URL.
HTTPS does not startCheck that certs/tls.crt and certs/tls.key exist, match, and are readable by user ID 1000.
Client IP addresses in the ledger are all the proxy'sSet TRUST_PROXY to the number of proxies in front of DepGate.
A log streaming destination shows Auth failed or RetryingThe row shows the destination's last answer. Fix the token or URL, then send a test event. Events are kept meanwhile.

Data feeds ​

SymptomWhat to do
A banner says EPSS data is staleOpen Settings → Jobs, check the last run of EPSS scores sync, then choose Run now on that row. Check outbound access to the EPSS feed.
The malware list is empty or oldCheck the Malicious feed sync schedule under Settings → Jobs, and outbound access to github.com.
Package check shows vulnerability data unavailableDepGate could not reach OSV. Check outbound access to api.osv.dev.

Getting help ​

When you report a problem, include the DepGate version, the relevant log lines (docker compose logs app), and for a blocked or failed install, the full error message and the time it happened, so the matching Decision Ledger entry can be found.

Released under the MIT License.