mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #1104] Freezing when unable to resolve DNS #782
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
pull-request
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#782
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 @sfkpmr on GitHub (Aug 17, 2020).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/1104
I'm having an odd issue on my Docker host that makes containers unable to resolve DNS, but as my containers don't need internet access, they generally work fine, with the exception of Bitwarden_rs.
Subject of the issue
Sometimes when using the web UI to add/remove/change entries the page loads for several minutes, and reloading the page doesn't work either. After a few minutes it continues to work normally.
Your environment
Steps to reproduce
Docker start bitwarden
Expected behaviour
Entries are updated immediately. Display DNS error in log and stop updating for some amount of time.
Actual behaviour
Load icon spins around for several minutes.
Relevant logs
It seems like updating entries triggers an update of favicons like this:
@mqus commented on GitHub (Aug 18, 2020):
You can disable the icon loading in the configuration/via an environment variable
github.com/dani-garcia/bitwarden_rs@eba22c2d94/.env.template (L85-L89)This should be the only external request that needs DNS (apart from maybe sending email, depending on your configuration).
@sfkpmr commented on GitHub (Aug 18, 2020):
Thanks, that might have done it! Should probably wait a bit to make sure though.
Ideally though you shouldn't need to disable the icon download though. The UI shouldn't freeze up if the DNS is temporarily down for example.
@BlackDex commented on GitHub (Sep 1, 2020):
That will partially be fixed when we can go to async http server. But still it would slow down since the icons are fetched by the web-vault unless you disable it.
There is also an option to disable this in your account within the web-vault, this should prevent calls to the server it self at all. Same goes for the mobile clients.