mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #708] Cannot get notifications / websockets work on apache #478
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#478
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 @totti4ever on GitHub (Nov 5, 2019).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/708
I am getting a 404 when opening https://bw.domain.tld/notifications/hub/negotiate in my browser and an error message when I open https://bw.domain.tld/notifications/hub:
{"ErrorModel":{"Message":"'/notifications/hub' should be proxied to the websocket server or notifications won't work. Go to the README for more info.","Object":"error"},"Message":"","Object":"error","ValidationErrors":{"":["'/notifications/hub' should be proxied to the websocket server or notifications won't work. Go to the README for more info."]},"error":"","error_description":""}Any ideas on what I did wrong? Rest is working smoothly and perfectly! Am I just testing wrongly? Should I do something else than open the URLs in browser?
P.S.: I am using docker-compose and have enabled websockets and declared port 3012
@BlackDex commented on GitHub (Nov 7, 2019):
@totti4ever Do you have SSL Enabled on the container?
If so, you probably need to change ws://127.0.0.1:3012 to wss://127.0.0.1:3012.
Note the extra "s" for "Secure".
@cybis commented on GitHub (Nov 8, 2019):
Although websockets are working fine for me (docker container behind reverse proxy with SSL up to the proxy) I get a 404 error for https://bw.domain.tld/notifications/hub/negotiate and for https://bw.domain.tld/notifications/hub the error message
WebSocket Protocol Error: Unable to parse WebSocket key.Am I dealing with a misconfiguration?@totti4ever commented on GitHub (Nov 10, 2019):
Thanks for the advice, but still nothing changed?
@mprasil commented on GitHub (Nov 11, 2019):
Did you try adding the extra setting as in #527? Maybe that will do the trick.
@dani-garcia commented on GitHub (May 13, 2020):
Closed due to inactivity.