You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 29, 2021. It is now read-only.
Failures:
test/Servant/Auth/ClientSpec.hs:68:3:
1) Servant.Auth.Client, The JWT combinator, HasClient, fails when token is expired
uncaught exception: IOException of type ResourceExhausted
/dev/urandom: openFd: resource exhausted (Too many open files)
(after 47 tests)
To rerun use: --match "/Servant.Auth.Client/The JWT combinator/HasClient/fails when token is expired/"
Randomized with seed 1188103930
Seems like entropy source is not closed correctly.
The text was updated successfully, but these errors were encountered:
domenkozar
changed the title
servant-auth-client test failure on macos
servant-auth-client test failure on macOS
Jul 25, 2018
I was experimenting with something in this library and while trying to run the tests, I hit this same bug on OSX 10.15.5 (Catalina). After hunting around for awhile, I followed the same path, signing JWTs invokes cryptonite which opens /dev/urandom... (I landed here because it's the only googleable result that matches.)
Ultimately, I got around this by running ulimit -n 2048 in the same shell where I was running tests because OSX has a file descriptor limit of 256 for shell processes, but I'm still puzzled. If anyone comes here from the future, that's what I did... 🤷♀️
https://nix-cache.s3.amazonaws.com/log/7liljvzs9fbj1844y4iw0agnqlbmwfcd-servant-auth-client-0.3.3.0.drv
Seems like entropy source is not closed correctly.
The text was updated successfully, but these errors were encountered: