-
-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/dev/random timeout (lack of entropy) causes misleading FailedConnectionException #348
Comments
I'm seeing the same issue here. Fixed after adding more entropy to the pool, but the error message wasn't very helpful. |
Aura uses |
Could one of you who has seen this happen raise the issue with wreq and ask for a better error? |
Thanks guys. |
I was puzzled for a short while tonight when trying to install any package resulted in a long wait followed by a
FailedConnectionException
:An
strace
invocation later I found that the problem was actually a timeout on/dev/random
, notaur4.archlinux.org
. Adding entropy to the system pool fixed the issue.A less misleading error message would be appreciated. Although a better solution overall would be to rely on
/dev/urandom
or preferablygetrandom(2)
instead of/dev/random
.This might be a library problem, in which case I apologize for not looking into it enough to determine which library is at fault...
The text was updated successfully, but these errors were encountered: