mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-17 01:12:27 -05:00
[GH-ISSUE #722] docker image behind apache ReverseProxy - an unexpected error has occurred (not logged) #37612
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 @ngoonee on GitHub (Nov 13, 2019).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/722
I'm running bitwarden_rs with the following line:-
Accessing ip_address:54321 no longer works once I add the ROCKET_TLS options (without it, I can access my site at ip_address:54321). This is unexpected behaviour, but is not the main issue I'm raising, I'm just including it in case it is relevant.
My full setup is an apache proxy (also hosts nextcloud). The relevant part of the apache configuration is:-
I can access the bitwarden web vault at mysite.noip.me/bitwarden/ appropriately. However trying to login or create account gives me the pop-up red error messagebox saying "An error has occurred. An unexpected error as occurred."
Running 'docker logs -f bitwarden' doesn't show any errors (only the normal keepalives).
Apache logs show the following error:-
Googling for that shows that its a MultiViews related error, and I can remove it just be removing the appropriate ErrorDocument lines in my apache config. I'm likely just masking the error though. What else can I check?
EDIT: It seems the problem may be that I can't use a subfolder as mentioned in https://github.com/dani-garcia/bitwarden_rs/issues/241 ?