DependencyTrack / DependencyTrack/dependency-track
Cant access API for login POST http://localhost:8081/api/v1/user/login 404 (Not Found)
- Dominant language
- Java
- Stars
- 4.2k
- Forks
- 811
- Avg merge
- 8h 39m
- Merged PRs (30d)
- 237
Description
### Current Behavior
When I try to login I get a "POST http://localhost:8081/api/v1/user/login 404 (Not Found)" error.
The docker container starts up fine:

As far as I can see the frontend container also includes the correct API path:

When I try to ping the port 8081 it works:

I dont have this behavior, which is refused not 404: https://github.com/DependencyTrack/dependency-track/issues/1074
### Steps to Reproduce
Run these commands:
https://docs.dependencytrack.org/getting-started/deploy-docker/#quickstart-docker-compose
Run Chrome with flags to prevent CROS errors
--disable-web-security --user-data-dir=~/devChromeTemp --cookies-without-same-site-must-be-secure
### Expected Behavior
Being able to access the API
### Dependency-Track Version
4.6.1
### Dependency-Track Distribution
Container Image
### Database Server
N/A
### Database Server Version
_No response_
### Browser
Google Chrome
### Checklist
- [X] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [X] I have checked the [existing issues](https://github.com/DependencyTrack/dependency-track/issues) for whether this defect was already reported
Contributor guide
Assessment
This issue has not been assessed yet.