-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get websockets to work #518
Comments
Your answer is here: #500 (comment) |
Can you share relevant parts of nginx config? It seems like there is some issue routing |
@tanst I'm not so sure that's my answer (I had said upfront that I knew mobile was out of scope) @mprasil Here you go. I've truncated out all 80 to 443 forwarding and SSL Let's Encrypt stuff. That's pretty standard. If you want to see it I can add it.
One thing I've noticed is that I need the trailing slash on the Does the order of the locations matter within the proxy config? EDIT: For giggles I moved the location for |
I think you have extra slash at the end in the |
That was the fix. I could have sworn I tried it without that trailing slash. A bunch of my other proxy Anyways, thanks for the sanity check. Initial tests are working. |
I'm using the latest version of bitwarden_rs (Version: 1.9.1-3fb63bbe) and my vault is working but I've noticed the instant sync from browser to browser is not working. I know mobile is not in scope.
I've followed the Wiki entry for enabling websockets. I've followed the Wiki entry for the Proxy examples (my use case is nginx). I have the proxy headers in place:
In my Synology Docker instance I have port 3012 mapped, and
WEBSOCKET_ENABLED
set totrue
.All the endpoints within the reverse proxy are working except
/notifications/hub
. This returns an NGINX error502 Bad Gateway
, which is coming from my proxy.So perhaps it's not listening to HTTP requests, which led me to check my Chrome console and I get these errors.
If I GET that HTTP location,
/notifications/hub/negotiate
I see something although the image doesn't load. I think this tells me that my proxy rules for this endpoint are working.I'm not quite sure where to go from here. Thoughts?
The text was updated successfully, but these errors were encountered: