mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
Websocket connection errors #1418
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 @super-ben on GitHub (Dec 3, 2022).
Subject of the issue
Can't seem to make the reverse proxy serve websocket connections, no matter the seemingly correct parameters.
Deployment environment
Your environment (Generated via diagnostics page)
Config (Generated via diagnostics page)
Show Running Config
Environment settings which are overridden: DOMAIN, SIGNUPS_ALLOWED, ADMIN_TOKEN, SMTP_HOST, SMTP_SECURITY, SMTP_PORT, SMTP_FROM, SMTP_USERNAME, SMTP_PASSWORD
Install method: docker-compose
Clients used:
Reverse proxy and version: nginx/1.18.0
MySQL/MariaDB or PostgreSQL version:
Other relevant details: the relevant parts of my current reverse proxy configuration (only the certs and log sections are missing)(also, I'm using one of the example from the wiki)
My docker-compose.yml:
My .env file:
Steps to reproduce
I simply started using Vaultwarden today and noticed the errors in the logs (will provide examples later)
Expected behaviour
Working websocket connections. :)
Actual behaviour
I see 502 errors in every logs, for example, the nginx error log:
In the access log:
Docker logs:
Also, when I look up https://warden.domain.tld/notifications/hub in my browser, I get a 502 error right away.
If I check inside the container, I get this:
Troubleshooting data
I tried multiple different websocket configs (from the examples in the wiki, from my previous configs, etc), with no prevail.
I would be grateful for any pointers.