Akka Version:
Akka Features:
HTTPS Server Support
Typesafe\'s ssl-config
When your HTTPS Server hangs for 1 minute and then produces the "Aborting tcp connection because of upstream failure: No elements passed in the last 1 minute." error, it might be your random number generator does not have sufficient entropy to produce enough random numbers in a reasonable time.
In my case I 'fixed' this by using a new SecureRandom
instead of SecureRandom.getInstanceString
when initializing the SSLContext
. That seems sufficiently random/secure to me, but of course you should decide for yourself.