I'm new to putting projects on the server Heroku, I saw in the videos lessons I got on the internet and the step by step was going ok, the heroku commands that everything, when I did the project deployment on heroku immediately typed the URL to see if it worked, when least expect an error, I typed the command in heroku to see the log messages to see what was going on, and I returned error code H10 as you can see below; >
2017-06-16T13:11:20.179943+00:00 heroku[web.1]: Process exited with status 1
2017-06-16T13:11:20.199776+00:00 heroku[web.1]: State changed from starting to crashed
2017-06-16T13:14:48.671863+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/home" host=wb-arm-wladimir.herokuapp.com
request_id=8d98b1e0-f357-469c-a4a3-a44853b744bd fwd="177.223.27.239" dyno= connect= service= status=503 bytes= protocol=http
2017-06-16T13:14:49.793531+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=wb-arm-wladimir.herokua
pp.com request_id=55dd4647-dc26-4a2a-8902-c424d4135237 fwd="177.223.27.239" dyno= connect= service= status=503 bytes= protocol=http
2017-06-16T13:14:57.646730+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=wb-arm-wladimir.herokuapp.com requ
est_id=03aae088-c67c-421c-9963-e4fca4efb42a fwd="177.223.27.239" dyno= connect= service= status=503 bytes= protocol=http
2017-06-16T13:14:57.829488+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=wb-arm-wladimir.herokua
pp.com request_id=9a369bd9-3318-41dc-9c79-6629c4d40b38 fwd="177.223.27.239" dyno= connect= service= status=503 bytes= protocol=http
2017-06-16T13:15:11.725485+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/login" host=wb-arm-wladimir.herokuapp.com
request_id=929713b6-181a-41d6-801c-066a726dfaf7 fwd="177.223.27.239" dyno= connect= service= status=503 bytes= protocol=http
2017-06-16T13:15:11.902088+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=wb-arm-wladimir.herokua
pp.com request_id=84a93f65-7892-4207-8f4b-233a8a19fb04 fwd="177.223.27.239" dyno= connect= service= status=503 bytes= protocol=http
2017-06-16T13:17:21.077246+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/home" host=wb-arm-wladimir.herokuapp.com
request_id=05a13753-4a19-418f-8cd7-7afc1f9cd726 fwd="177.223.27.239" dyno= connect= service= status=503 bytes= protocol=http
2017-06-16T13:17:21.258993+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=wb-arm-wladimir.herokua
pp.com request_id=9b275540-fb81-4680-bcbd-36b5e459dc88 fwd="177.223.27.239" dyno= connect= service= status=503 bytes= protocol=http
I can not understand what is wrong, I believe the problem is not the project, because my Spring Boot project works perfectly on your local server, but when it runs on the Heroku server it gives this error.
I researched a lot, found links like this CLICK HERE
But the solutions given in the links did not solve my problem, I gave a heroku restart , heroku run rake db: migrate and nothing.
Someone has had some problem similar to mine, I need a lot of help to solve this problem.
Click here to access my project in the GitHub repository
At the request of @Sidon
I've run all these commands;
- heroku keys: add
- heroku apps: create wb-arm-wladimir
- git init
- git add.
- heroku git: remote -a wb-arm-wladimir
- heroku addons: create heroku-postgresql: hobby-dev
- git commit -am "wladimir project"
- git push heroku master
And presented the same problem, and this is the log
[INFO] Installing /tmp/build_85e5d5182621018e85ec0dd8ddf4c326/arm/target/arm-1.0.0-SNAPSHOT.jar to /app/tmp/cache/.m2/repository/br/com/arm/arm/1.0.0-SNAPSHOT/arm-1.0.0-SNAPSHOT.jar
[INFO] Installing /tmp/build_85e5d5182621018e85ec0dd8ddf4c326/arm/pom.xml to /app/tmp/cache/.m2/repository/br/com/arm/arm/1.0.0-SNAPSHOT/arm-1.0.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.801 s
[INFO] Finished at: 2017-06-16T16:15:29Z
[INFO] Final Memory: 41M/328M
[INFO] ------------------------------------------------------------------------
-----> Discovering process types
Procfile declares types -> (none)
Default types for buildpack -> web
-----> Compressing...
Done: 85.6M
-----> Launching...
Released v4
https://wb-arm-wladimir.herokuapp.com/ deployed to Heroku
I need to point out that it gave the same problem, and I did it all over again, but it did not work.