Open jefferya opened 4 years ago
I had to mount urandom to random when running tomcat on the SHARCNET cloud. docker run -v /dev/urandom:/dev/random -it --rm -p 8080:8080 tomcat:9.0
I believe Tomcat waits for sufficient randomness to run https, and cloud images can be lacking randomness.
Intermittently, the nerve docker container requires lengthy startup times. If continues, investigate the following.
The log contains the following:
Reference:
https://stackoverflow.com/questions/58853372/what-exactly-does-djava-security-egd-file-dev-urandom-do-when-containerizi
https://stackoverflow.com/questions/28201794/slow-startup-on-tomcat-7-0-57-because-of-securerandom