Can't get websockets to work on traefik despite the docs #344

Closed
opened 2025-11-07 06:33:17 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @ovizii on GitHub (Jul 18, 2019).

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). 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.
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

@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.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#344