mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-23 00:25:37 -05:00
Can't get websockets to work on traefik despite the docs #344
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 @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.
@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