mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-25 17:25:57 +03:00
[GH-ISSUE #1884] Nginx Proxy Pass WSS Fails #1095
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#1095
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @StarScream159 on GitHub (Aug 5, 2021).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/1884
Nginx Proxy Pass WSS Fails
I have vaultwarden setup with a standard nginx install and am proxying the connection to docker. Everything works except I get an wss error in my browser and nginx log for the websocket. From what I can tell everything is correct. I see the parity_ws process listening on 0.0.0.0:3012 in the vaultwarden log and I see from docker ps that port 2013/tcp is there. I'm pretty sure my nginx config is correct with the upgrade headers. But I still get errors. Any help would be appreciated.
Deployment environment (Generated via diagnostics page)
Config (Generated via diagnostics page)
Show Running Config
Environment settings which are overridden:
What Happens
In my browser after logging in I see my vault. If I open my console I get the following:
In my nginx logs I see the following:
In the vaultwarden log I see that it is opening conncetions:
And when I try to load/hit the socket URL from within the container I get the expected result, so it is listening:
Troubleshooting data
My nginx config:
I'm starting the docker install with: