mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 09:46:00 +03:00
[GH-ISSUE #4493] Websocket connections not working with recommended apache2 proxy configuration #1898
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#1898
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 @SoraMakes on GitHub (Apr 11, 2024).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/4493
Subject of the issue
When deploying vaultwarden as docker container and using apache2 as reverseproxy with the configuration recommended here i get NS_ERROR_WEBSOCKET_CONNECTION_REFUSED on Firefox. It works fine when accessing it via ssh proxy and then using
http://localhost:50854.Deployment environment
Your environment (Generated via diagnostics page)
Config (Generated via diagnostics page)
Show Running Config
Environment settings which are overridden:
Clients used: web vault (Firefox)
Reverse proxy and version: apache2 (2.4.38-3+deb10u10)
the proxy modules ( proxy_module (shared), proxy_http_module (shared), proxy_wstunnel_module (shared)) are loaded
Steps to reproduce
Expected behaviour
Getting 101 as response on the wss:// requests
Actual behaviour
Getting 404 as response on the wss:// requests
Troubleshooting data
relevant vaultwarden log:
relevant apache2 log
Workaround
As a workaround i added the following lines to my apache VirtualHost conf