I’ve posted this before but didn’t get any replies. I’m trying to understand why the server is shutting down. The only indication I get is the following:
13111 INFO play.core.server.AkkaHttpServer - Stopping server…
I suspect this is due to input being entered shortly after the command is executed to start the play application because I can re-create this by just hitting Enter when I run the play application in the sbt shell.
This play app is running in a docker container in AWS and because of this immediate shutdown the health check continuously fails and eventually the deployment will fail. Interestingly though, if done enough times eventually it ‘may’ not shut down and the deployment will pass. I can’t seem to figure out what other purpose would cause this. There is no error happening only the INFO message indicating the server is shutting down.