mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-11 01:10:09 +03:00
API register route doesn't seems to work - Docker Swarm && Traefik #1009
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @babson4 on GitHub.
Subject of the issue
We are using Vaultwarden in university project. The following docker-compose file is running on a docker swarm stack composed by 3 nodes : public, admin and prod.
I'm writing this issue because we have a problem with the stack. In fact, we are not able to create account, when the api is requested on register, the request does not succeed. But the login API route does.
Deployment environment
docker with swarm mode
behind treaefik reverse proxy
Server Server Installed : 1.26.0
Server Latest : 1.26.0
Web Installed : 2022.10.0
Database : SQLite: 3.35.4
Clients used: web vault, desktop, Android
Reverse proxy and version: Traefik latest
docker-compose.yml for docker stack
Steps to reproduce
Expected behaviour / Actual behaviour
We cannot create account, the api seems to not work on the register route.
We tried:
api.domain.fr) in traefik for the service --> changed nothingIf we tried requesting the API route
bw.domain.fr/api/accounts/registerwith Postman we got 400 (malformed request) with no payload and NO response with a payload.Troubleshooting data
Trace of the bitwarden service from the swarm cluster in case of connection
@babson4 commented on GitHub:
See the following schema of our infrastructure, may help