You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was happening when I was trying to deploy OWASP Dependency Track on Google CLoud Run in GCP. Even though we deploy frontend & API using two separate services, they wont be directly able to connect to each other. This is DEPLOYMENT issue not the Dependency Track issue.
Current Behavior
Using the Docker Container Approach, I have deployed
Frontend
andAPIserver
container on Google Cloud Platform Cloud Run service.Both the services are running fine and both of them use container port as 8080.
When I login to the Dependency Track using Frontend URL and enter the credentials, I'l getting an error saying
401 HTTP Request Error
.Randomly, It showed me error 401 and took me to the dashboard page but as soon as I refreshed it, It again took me to the Login page.
Upon checking the logs, looks like the frontend service
/api/v1/user/self
and used JWT token to authenticate to the user.I got stuck at this issue and not sure what's missing in the configuration.
Any help would be appreacited.
Steps to Reproduce
API_BASE_URL
env variable in configured in the frontend service.Expected Behavior
Upon log in to the system, it should allow me to interact with all the admin console and the dashboard.
Dependency-Track Version
4.7.x
Dependency-Track Distribution
Container Image
Database Server
PostgreSQL
Database Server Version
15
Browser
Google Chrome
Checklist
The text was updated successfully, but these errors were encountered: