Open GurdipS5 opened 1 year ago
Can you provide your settings / environment variables? The API URL must be reacheable from the browser.
Please use the below configurations in docker-compose.yml. If you want to use a local docker image. You can change the image URL.
name: "dependency-track"
services:
apiserver:
image: dependencytrack/apiserver:snapshot #if you want to use local image use local image name with tag.
ports:
- "127.0.0.1:8080:8080"
volumes:
- "apiserver-data:/data"
restart: unless-stopped
frontend:
image: dependencytrack/frontend:snapshot #if you want to use local image use local image name with tag.
environment:
API_BASE_URL: "http://localhost:8080"
ports:
- "127.0.0.1:8081:8080"
restart: unless-stopped
volumes:
apiserver-data: { }
Have a look at the browser dev-tools console. Some privacy browser plugins (e.g. ghostery) prevent access to /api/v1/metrics leading
to "Server error (0)".
Check the logs, you may find that you do not have sufficient RAM (4GB) available for Java.
Current Behavior
Hi, I am using the DTrack docker compose file on Ubuntu 22. I download it using the curl command and change the API server url from localhost to the IP of my server.
However, I can browse to the login ui but get server error (0).
I saw the other threads on this but still no luck.
Steps to Reproduce
Expected Behavior
Login should succeed.
Dependency-Track Version
4.7.x
Dependency-Track Distribution
Container Image
Database Server
H2
Database Server Version
No response
Browser
Mozilla Firefox
Checklist