mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-11 09:13:02 +03:00
Websockets doesn't appear to be working #2099
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 @rcdailey on GitHub.
I have websockets enabled. To verify if websockets is working, I perform these steps:
If I go to settings and manually sync on the Android Bitwarden app, and then perform the search for the item in the vault I created, I do see it. However, a manual sync should not be required, correct?
Here is my reverse proxy configuration. Note I am using NGINX:
Contents of
/config/nginx/ssl.conf:Contents of
/config/nginx/proxy.conf:To ensure websockets works across all applications supported by my reverse proxy, I have the following in my
httpblock in NGINX:The map above correlates to the
proxy.conffile above.My
docker-compose.ymlis as follows (for security reasons, some parts are redacted):I do believe that my nginx configuration is correct here. Is there a bug causing websockets to not work, or is my configuration wrong?
@rcdailey commented on GitHub:
Thanks for explaining. Looks like the issue is that the mobile applications hard code the push notification server URL and you're not able to inject into that system. Do you recommend adding suggestions for solutions to this problem on #246? I'll go ahead and close this one out.
@dani-garcia commented on GitHub:
Websockets doesn't apply to the mobile clients, those require push notification support (look at #126 for reasons as why it isn't implemented).
To check that websocket support works, you'll need to use either the web vault, the desktop client or the browser extensions.