mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-02 22:57:18 -05:00
docker image behind apache ReverseProxy - an unexpected error has occurred (not logged) #488
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#488
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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).
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 ?
@ngoonee commented on GitHub (Nov 13, 2019):
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.
@dani-garcia commented on GitHub (May 13, 2020):
Closed due to inactivity. Running at a suburl is possible now. https://github.com/dani-garcia/bitwarden_rs/wiki/Using-an-alternate-base-dir