[GH-ISSUE #538] Can't get websockets to work on traefik despite the docs #343

Closed
opened 2026-03-03 01:28:11 +03:00 by kerem · 1 comment
Owner

Originally created by @ovizii on GitHub (Jul 18, 2019).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/538

Hi there,

I've read:
https://github.com/dani-garcia/bitwarden_rs/wiki/Enabling-WebSocket-notifications and
https://github.com/dani-garcia/bitwarden_rs/wiki/Proxy-examples

here is how I run bitwarden: https://pastebin.com/KmREkBbQ
config.properties contains some variables

The problem are lines 17, 18, 19 - the lines dealing with websockets. If I remove those 3 lines all is working perfectly fine. If I add those lines I can't get to the bitwarden isntallation I get server error.

Any hints what I am doing wrong here? I'm quite new at this.

Originally created by @ovizii on GitHub (Jul 18, 2019). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/538 Hi there, I've read: https://github.com/dani-garcia/bitwarden_rs/wiki/Enabling-WebSocket-notifications and https://github.com/dani-garcia/bitwarden_rs/wiki/Proxy-examples here is how I run bitwarden: https://pastebin.com/KmREkBbQ config.properties contains some variables The problem are lines 17, 18, 19 - the lines dealing with websockets. If I remove those 3 lines all is working perfectly fine. If I add those lines I can't get to the bitwarden isntallation I get server error. Any hints what I am doing wrong here? I'm quite new at this.
kerem closed this issue 2026-03-03 01:28:12 +03:00
Author
Owner

@ovizii commented on GitHub (Jul 19, 2019):

Found the solution and it was to remove "--label traefik.backend=$containername " - as I now have to backends namely web and hub so removing this label makes traefik automatically generate 2 backends named: backend-bitwarden-hub and backend-bitwarden-web

<!-- gh-comment-id:513153838 --> @ovizii commented on GitHub (Jul 19, 2019): Found the solution and it was to remove "--label traefik.backend=$containername \" - as I now have to backends namely web and hub so removing this label makes traefik automatically generate 2 backends named: backend-bitwarden-hub and backend-bitwarden-web
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#343
No description provided.