mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-10 17:23:04 +03:00
docker image behind apache ReverseProxy - an unexpected error has occurred (not logged) #1927
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.
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 ?
@dani-garcia commented on GitHub:
Closed due to inactivity. Running at a suburl is possible now. https://github.com/dani-garcia/bitwarden_rs/wiki/Using-an-alternate-base-dir
@ngoonee commented on GitHub:
So it doesn't seem this is possible due to #241
My 'workaround' is to use the following (nextcloud is already Alias at /nextcloud/)
This works, login and creation seem okay.