Skip to content

Dependency-Track: Troubleshooting

Logging in "Invalid username or password" (401)

2025-05-28 09:53:47,078 INFO [UserResource] Unauthorized login attempt / invalid credentials / username: admin / IP Address: 34.88.228.211 / User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36 [requestId=5fc9315c-6e07-4e3d-9f7a-d5049c8121d4, requestMethod=POST, requestUri=/v1/user/login]

If you didn't see an OpenID error, likely the password just is wrong. You can use the password-validator tool to determine if the password you are using is the correct one: Dependency-Track: Password validator tool (https://app.clickup.com/2496230/docs/2c5q6-69975/2c5q6-296675)

Failed to determine availability of OpenID Connect

Your configurations are likely wrong, if the frontend cannot reach the api-server, this usually happens. You can replicate this in dev deployment when OpenID (OIDC) is enabled by setting API_BASE_URL in the frontend's config.env to an incorrect URL, for example https//localhost:8081 instead of http.