I am trying to deploy my server on heroku. I got this error:
Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
<
It's possible that you are making request without wait the server finish run, so it break because cannot finish building before 90 seconds.
It's a guess that are happening here.
This problem occurs when Heroku can not find the port specified in Procfile.
A simple solution to this problem is doing a port setting dynamically by Procfile.
Add in Procfile ->
web: java -Dserver.port=$PORT $JAVA_OPTS -jar target/nome_do_meu_app.jar
Remember that the Maven packaging should be JAR.