mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #524] Code panic - DNS resolution error not catched #331
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#331
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 @Pandry on GitHub (Jul 4, 2019).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/524
Hello,
I am installing bitwarden_rs and I had this issue while installing it:
thread '<unnamed>' panicked at 'calledResult::unwrap()on anErrvalue: Io(Custom { kind: Other, error: "failed to lookup address information: Temporary failure in name resolution" })', src/libcore/result.rs:999:5This issue was faced when inviting a user to the bitwarden_rs server via mail address, and I believe that bitwarden_rs cannot resolve the mail server address...
The issue was due to an issue in my docker installation but I believe that the issue should be catched from the application, instead of prompting and
Unknown error.Tomorrow (or in the weekend in case) if I'll find some time I'll try to solve the issue by myself.
Best regards,
Andrea
@dani-garcia commented on GitHub (Jul 5, 2019):
Is there more to that error message? You can set
RUST_BACKTRACE=1before starting the server and you might get a more specific error.@Pandry commented on GitHub (Jul 10, 2019):
I'll try to reproduce the issue later on making sure that the environment variable will be setted
@darcato commented on GitHub (Sep 20, 2019):
I have the same error, here is the full backtrace:
I hope this helps to better handle the error!
Moreover, @Pandry how did you fix the problem?
@dani-garcia commented on GitHub (Sep 23, 2019):
It seems like bitwarden_rs can't resolve the SMTP server for some reason, does the server respond correctly if you ping it?
@darcato commented on GitHub (Sep 23, 2019):
Yes, there was a problem with the network created by docker-compose, the DNS was not working properly as I could ping
8.8.8.8but notgoogle.comfrom any container attached to that network. Recreating it solved the issue.Still, displaying a meaningful error to the user would be a good idea.
Thanks for the great project!
@Pandry commented on GitHub (Sep 29, 2019):
If I remember correctly, I just inserted the correct address in the field.
This issue is about catching the DNS resolve query and throw an error like "impossible to resolve the DNS address, check the name and the DNS".
About the possible solutions, there are quite
I will walk you briefly by the steps:
In the definion of the service, add the IP of your mail server
/etc/docker/daemon.json(or, more probably, create it).Then add the DNS servers in a JSON-encoded manner; This should be how the file should look if you created it:
Also, sorry about the delay, unfortunately, lately, I don't open github anymore that ofter
I'll look to fix the issue by myself of I manage to find time today
Best regards,
@Pandry
@dani-garcia commented on GitHub (May 13, 2020):
Closed due to inactivity.