As a beginner with those tools, i followed tuto i found on the web to help me starting my app.
Here are the exacts commands i runned on ubuntu to deploy the todos example app from meteor and testthe whole thing.
meteor create --example todos
cd todos
git init
git add .
git commit -m "my first commit"
heroku create test2-push --stack cedar --buildpack https://github.com/AdmitHub/meteor-buildpack-horse.git
heroku config:set BUILDPACK_URL=https://github.com/AdmitHub/meteor-buildpack-horse.git
heroku addons:add mongolab
git remote -v (vérification validité repo)
git push heroku master
But I'm having some trouble,as you can see here : http://test2-push.herokuapp.com
When i look at the logs, this is what kind of report i see :
2015-04-01T14:29:25.298089+00:00 heroku[web.1]: Starting process with command `.meteor/heroku_build/bin/node .meteor/heroku_build/app/main.js`
2015-04-01T14:29:28.779222+00:00 app[web.1]:
2015-04-01T14:29:28.780112+00:00 app[web.1]: ^
2015-04-01T14:29:28.785982+00:00 app[web.1]: ReferenceError: Router is not defined
2015-04-01T14:29:28.785988+00:00 app[web.1]: at /app/.meteor/heroku_build/app/programs/server/boot.js:222:10
2015-04-01T14:29:28.785992+00:00 app[web.1]: at Function._.each._.forEach (/app/.meteor/heroku_build/app/programs/server/node_modules/underscore/underscore.js:79:11)
2015-04-01T14:29:28.780101+00:00 app[web.1]: throw(ex);
2015-04-01T14:29:28.785993+00:00 app[web.1]: at /app/.meteor/heroku_build/app/programs/server/boot.js:117:5
2015-04-01T14:29:28.785987+00:00 app[web.1]: at app/lib/router.js:65:3
2015-04-01T14:29:28.785990+00:00 app[web.1]: at Array.forEach (native)
2015-04-01T14:29:28.785985+00:00 app[web.1]: at app/lib/router.js:1:36
2015-04-01T14:29:28.779799+00:00 app[web.1]: /app/.meteor/heroku_build/app/programs/server/node_modules/fibers/future.js:245
2015-04-01T14:29:29.744095+00:00 heroku[web.1]: Process exited with status 8
2015-04-01T14:29:29.766467+00:00 heroku[web.1]: State changed from starting to crashed
2015-04-01T14:34:38.939853+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=test2-push.herokuapp.com request_id=4fb9c97d-b6f4-4056-b2d8-bae03d2db625 fwd="195.68.112.65" dyno= connect= service= status=503 bytes=
2015-04-01T14:34:40.423408+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=test2-push.herokuapp.com request_id=9656f317-a5ca-41ba-86f5-1baf492aaae8 fwd="195.68.112.65" dyno= connect= service= status=503 bytes=
2015-04-01T14:46:09.239587+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=test2-push.herokuapp.com request_id=76bfeefc-8632-4e92-835d-76b923e130fe fwd="195.68.112.65" dyno= connect= service= status=503 bytes=
2015-04-01T14:46:07.628681+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=test2-push.herokuapp.com request_id=24e7d69c-5392-479e-88c1-517a14e49674 fwd="195.68.112.65" dyno= connect= service= status=503 bytes=
2015-04-01T15:09:43.185071+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=test2-push.herokuapp.com request_id=e3e2e1e3-a1bb-43f9-93b8-b9bbfc4e36e2 fwd="195.68.112.65" dyno= connect= service= status=503 bytes=
2015-04-01T15:09:44.651505+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=test2-push.herokuapp.com request_id=c4db7ce2-5cb6-4bf8-b742-d282743f9c83 fwd="195.68.112.65" dyno= connect= service= status=503 bytes=
2015-04-01T15:24:01.764681+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=test2-push.herokuapp.com request_id=eb8e20f8-fd89-40ec-b3c1-663bb4df3d19 fwd="195.68.112.65" dyno= connect= service= status=503 bytes=
2015-04-01T15:24:03.176506+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=test2-push.herokuapp.com request_id=1f89a73e-31ff-4c64-aad2-d17c0ac1122a fwd="195.68.112.65" dyno= connect= service= status=503 bytes=
2015-04-01T15:28:06.635282+00:00 heroku[web.1]: State changed from crashed to starting
2015-04-01T15:28:10.577708+00:00 heroku[web.1]: Starting process with command `.meteor/heroku_build/bin/node .meteor/heroku_build/app/main.js`
2015-04-01T15:28:13.357353+00:00 app[web.1]: /app/.meteor/heroku_build/app/programs/server/node_modules/fibers/future.js:245
2015-04-01T15:28:13.356958+00:00 app[web.1]:
2015-04-01T15:28:13.362147+00:00 app[web.1]: at app/lib/router.js:65:3
2015-04-01T15:28:13.362149+00:00 app[web.1]: at /app/.meteor/heroku_build/app/programs/server/boot.js:222:10
2015-04-01T15:28:13.362152+00:00 app[web.1]: at Function._.each._.forEach (/app/.meteor/heroku_build/app/programs/server/node_modules/underscore/underscore.js:79:11)
2015-04-01T15:28:13.362153+00:00 app[web.1]: at /app/.meteor/heroku_build/app/programs/server/boot.js:117:5
2015-04-01T15:28:13.362142+00:00 app[web.1]: ReferenceError: Router is not defined
2015-04-01T15:28:13.362150+00:00 app[web.1]: at Array.forEach (native)
2015-04-01T15:28:13.362146+00:00 app[web.1]: at app/lib/router.js:1:36
2015-04-01T15:28:13.357583+00:00 app[web.1]: ^
2015-04-01T15:28:13.357581+00:00 app[web.1]: throw(ex);
2015-04-01T15:28:14.241298+00:00 heroku[web.1]: Process exited with status 8
2015-04-01T15:28:14.261373+00:00 heroku[web.1]: State changed from starting to crashed
2015-04-01T16:55:38.180103+00:00 heroku[web.1]: State changed from crashed to starting
2015-04-01T16:55:41.740295+00:00 heroku[web.1]: Starting process with command `.meteor/heroku_build/bin/node .meteor/heroku_build/app/main.js`
2015-04-01T16:55:45.494145+00:00 app[web.1]: /app/.meteor/heroku_build/app/programs/server/node_modules/fibers/future.js:245
2015-04-01T16:55:45.493712+00:00 app[web.1]:
2015-04-01T16:55:45.494389+00:00 app[web.1]: ^
2015-04-01T16:55:45.500227+00:00 app[web.1]: at Array.forEach (native)
2015-04-01T16:55:45.500223+00:00 app[web.1]: at app/lib/router.js:65:3
2015-04-01T16:55:45.500228+00:00 app[web.1]: at Function._.each._.forEach (/app/.meteor/heroku_build/app/programs/server/node_modules/underscore/underscore.js:79:11)
2015-04-01T16:55:45.494367+00:00 app[web.1]: throw(ex);
2015-04-01T16:55:45.500218+00:00 app[web.1]: ReferenceError: Router is not defined
2015-04-01T16:55:45.500222+00:00 app[web.1]: at app/lib/router.js:1:36
2015-04-01T16:55:45.500225+00:00 app[web.1]: at /app/.meteor/heroku_build/app/programs/server/boot.js:222:10
2015-04-01T16:55:45.500230+00:00 app[web.1]: at /app/.meteor/heroku_build/app/programs/server/boot.js:117:5
2015-04-01T16:55:46.333405+00:00 heroku[web.1]: State changed from starting to crashed
2015-04-01T16:55:46.323223+00:00 heroku[web.1]: Process exited with status 8
2015-04-01T18:03:57.467111+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=test2-push.herokuapp.com request_id=d3c85c9b-f228-4d24-b429-cef66b57061f fwd="82.234.60.18" dyno= connect= service= status=503 bytes=
2015-04-01T18:04:00.465222+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=test2-push.herokuapp.com request_id=8d8bbe21-dffc-4a96-a566-bb4b536c0527 fwd="82.234.60.18" dyno= connect= service= status=503 bytes=
2015-04-01T18:23:57.920020+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=test2-push.herokuapp.com request_id=5f6edcfa-a39f-43b1-8c29-86abfcccc0d0 fwd="82.234.60.18" dyno= connect= service= status=503 bytes=
2015-04-01T18:23:58.666355+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=test2-push.herokuapp.com request_id=e9a4dd11-8a38-4fbb-a291-1c483651d476 fwd="82.234.60.18" dyno= connect= service= status=503 bytes=
2015-04-01T18:23:58.976873+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=test2-push.herokuapp.com request_id=b1dd5f1c-3fdc-4a56-b887-46037596c9df fwd="82.234.60.18" dyno= connect= service= status=503 bytes=
2015-04-01T18:27:20.460565+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=test2-push.herokuapp.com request_id=0ff2c2d0-c964-4215-837c-94c4ee13c668 fwd="82.234.60.18" dyno= connect= service= status=503 bytes=
2015-04-01T18:27:21.520543+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=test2-push.herokuapp.com request_id=544b0710-dbb2-4869-bd67-4e3262a72f4c fwd="82.234.60.18" dyno= connect= service= status=503 bytes=
2015-04-01T18:27:23.130196+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=test2-push.herokuapp.com request_id=b43c1cd2-e735-4043-bc25-8eaf46dd4874 fwd="82.234.60.18" dyno= connect= service= status=503 bytes=
2015-04-01T18:53:02.827733+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=test2-push.herokuapp.com request_id=9d81d4e8-cb68-4690-961e-d55876d60eab fwd="82.234.60.18" dyno= connect= service= status=503 bytes=
2015-04-01T18:53:04.616451+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=test2-push.herokuapp.com request_id=07b3e91c-3699-41bb-8998-e42b8e25b5af fwd="82.234.60.18" dyno= connect= service= status=503 bytes=
2015-04-01T18:53:05.814028+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=test2-push.herokuapp.com request_id=c53fe109-d3d3-4b04-b6b6-2e8da78dbdb1 fwd="82.234.60.18" dyno= connect= service= status=503 bytes=
2015-04-01T19:20:25.110777+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=test2-push.herokuapp.com request_id=5c6f7a16-a522-4626-8d27-d9a9a64d3627 fwd="82.234.60.18" dyno= connect= service= status=503 bytes=
2015-04-01T19:20:25.954811+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=test2-push.herokuapp.com request_id=92731058-5a9f-429a-8092-a14e0c74316f fwd="82.234.60.18" dyno= connect= service= status=503 bytes=
2015-04-01T19:27:30.010755+00:00 heroku[api]: Set ROOT_URL config vars by davidpanart#gmail.com
2015-04-01T19:27:30.010755+00:00 heroku[api]: Release v7 created by davidpanart#gmail.com
2015-04-01T19:27:30.282881+00:00 heroku[web.1]: State changed from crashed to starting
2015-04-01T19:27:32.734761+00:00 heroku[web.1]: Starting process with command `.meteor/heroku_build/bin/node .meteor/heroku_build/app/main.js`
2015-04-01T19:27:35.454118+00:00 app[web.1]: /app/.meteor/heroku_build/app/programs/server/node_modules/fibers/future.js:245
2015-04-01T19:27:35.453619+00:00 app[web.1]:
2015-04-01T19:27:35.473776+00:00 app[web.1]: at app/lib/router.js:1:36
2015-04-01T19:27:35.454360+00:00 app[web.1]: ^
2015-04-01T19:27:35.473769+00:00 app[web.1]: ReferenceError: Router is not defined
2015-04-01T19:27:35.473783+00:00 app[web.1]: at /app/.meteor/heroku_build/app/programs/server/boot.js:117:5
2015-04-01T19:27:35.473779+00:00 app[web.1]: at /app/.meteor/heroku_build/app/programs/server/boot.js:222:10
2015-04-01T19:27:35.473780+00:00 app[web.1]: at Array.forEach (native)
2015-04-01T19:27:35.454321+00:00 app[web.1]: throw(ex);
2015-04-01T19:27:35.473782+00:00 app[web.1]: at Function._.each._.forEach (/app/.meteor/heroku_build/app/programs/server/node_modules/underscore/underscore.js:79:11)
2015-04-01T19:27:35.473777+00:00 app[web.1]: at app/lib/router.js:65:3
2015-04-01T19:27:36.303841+00:00 heroku[web.1]: Process exited with status 8
2015-04-01T19:27:36.350695+00:00 heroku[web.1]: State changed from starting to crashed
2015-04-01T19:27:36.351363+00:00 heroku[web.1]: State changed from crashed to starting
2015-04-01T19:27:40.078073+00:00 heroku[web.1]: Starting process with command `.meteor/heroku_build/bin/node .meteor/heroku_build/app/main.js`
2015-04-01T19:27:42.795297+00:00 app[web.1]: /app/.meteor/heroku_build/app/programs/server/node_modules/fibers/future.js:245
2015-04-01T19:27:42.801101+00:00 app[web.1]: at Array.forEach (native)
2015-04-01T19:27:42.801098+00:00 app[web.1]: at app/lib/router.js:65:3
2015-04-01T19:27:42.801103+00:00 app[web.1]: at Function._.each._.forEach (/app/.meteor/heroku_build/app/programs/server/node_modules/underscore/underscore.js:79:11)
2015-04-01T19:27:42.794734+00:00 app[web.1]:
2015-04-01T19:27:42.795670+00:00 app[web.1]: throw(ex);
2015-04-01T19:27:42.801093+00:00 app[web.1]: ReferenceError: Router is not defined
2015-04-01T19:27:42.795908+00:00 app[web.1]: ^
2015-04-01T19:27:42.801096+00:00 app[web.1]: at app/lib/router.js:1:36
2015-04-01T19:27:42.801099+00:00 app[web.1]: at /app/.meteor/heroku_build/app/programs/server/boot.js:222:10
2015-04-01T19:27:42.801104+00:00 app[web.1]: at /app/.meteor/heroku_build/app/programs/server/boot.js:117:5
2015-04-01T19:27:43.610749+00:00 heroku[web.1]: Process exited with status 8
2015-04-01T19:27:43.621555+00:00 heroku[web.1]: State changed from starting to crashed
2015-04-01T19:28:07.734024+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=test2-push.herokuapp.com request_id=8dd496d4-7f43-4e42-a332-89b4c8ab7f23 fwd="88.142.102.169" dyno= connect= service= status=503 bytes=
2015-04-01T19:28:08.550440+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=test2-push.herokuapp.com request_id=b3815840-92d9-4bf3-9717-86c79bad5ef4 fwd="88.142.102.169" dyno= connect= service= status=503 bytes=
2015-04-01T19:28:11.358782+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=test2-push.herokuapp.com request_id=3e796eea-53e1-4cc0-b439-9a4a07c4d639 fwd="88.142.102.169" dyno= connect= service= status=503 bytes=
2015-04-01T19:28:12.506991+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=test2-push.herokuapp.com request_id=1fecde7f-27ba-460f-b5da-387eac86e13f fwd="88.142.102.169" dyno= connect= service= status=503 bytes=
It seems that i got several problem with fibers and router, often getting the exit status 8, but i do not understand a lot about that logs, and haven't found yet any explanation on the web.
Would someone have an explanation for me ?
Thanks you.
I had possibly the same issue. I completely fixed mine by setting the buildpack differently:
heroku buildpack:set https://github.com/AdmitHub/meteor-buildpack-horse.git -a YOUR_APPNAME
Related
i have created a rails app and using actioncable but while i push it heroku it gives me H10 application errror.
my logs
`block in ensure_listener_running'
2022-01-17T11:54:48.467823+00:00 heroku[web.1]: Process exited with status 1
2022-01-17T11:54:48.344709+00:00 heroku[router]: at=info method=GET path="/cable" host=rumichatapp.herokuapp.com request_id=f91c8ddd-605a-4db6-b9fb-db4efd2aeb44 fwd="157.40.141.184" dyno=web.1 connect=0ms service=441ms status=101 bytes=174 protocol=https
2022-01-17T11:54:48.660590+00:00 heroku[web.1]: State changed from up to crashed
2022-01-17T11:54:57.899598+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=rumichatapp.herokuapp.com request_id=9a98e57d-ae1c-46c2-9e11-9bbe19e6a1e3 fwd="157.40.141.184" dyno= connect= service= status=503 bytes= protocol=https
2022-01-17T11:55:01.094359+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=rumichatapp.herokuapp.com request_id=2c98011d-7e30-4a7a-bb03-2edd4b75c1d2 fwd="157.40.141.184" dyno= connect= service= status=503 bytes= protocol=https
2022-01-17T11:55:06.468878+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=rumichatapp.herokuapp.com request_id=bc2c369e-e74b-407c-ad0a-06f5a6509907 fwd="157.40.141.184" dyno= connect= service= status=503 bytes= protocol=https
2022-01-17T11:55:11.172160+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=POST path="/users" host=rumichatapp.herokuapp.com request_id=425add70-3ff1-43b5-aecd-2167dfe1a8ba fwd="157.40.141.184" dyno= connect= service= status=503 bytes= protocol=https
2022-01-17T11:55:11.972897+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=POST path="/users" host=rumichatapp.herokuapp.com request_id=8bcb3d19-6247-4689-932b-6b201f41b12d fwd="157.40.141.184" dyno= connect= service= status=503 bytes= protocol=https
2022-01-17T11:55:14.014700+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/cable" host=rumichatapp.herokuapp.com request_id=904c5ce0-917c-4ac5-89f9-f3f33559e5b9 fwd="157.40.141.184" dyno= connect= service= status=503 bytes= protocol=https
2022-01-17T11:55:14.414472+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=POST path="/users" host=rumichatapp.herokuapp.com request_id=58631226-c0f0-4a2c-bd64-4fd814f88cf4 fwd="157.40.141.184" dyno= connect= service= status=503 bytes= protocol=https
2022-01-17T11:55:17.291697+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=rumichatapp.herokuapp.com request_id=a835ca62-798d-438a-be5c-249a3791e001 fwd="157.40.141.184" dyno= connect= service= status=503 bytes= protocol=https
i added my wss urls into enviroments/production.rb file
config.action_cable.url = 'wss://rumichatapp.herokuapp.com/cable'
config.action_cable.allowed_request_origins = [ 'https://rumichatapp.herokuapp.com/', /https:\/\/rumichatapp.herokuapp.*/ ]
and i also executed heroku run rails db:migrate command.
the production group gems of my Gemfile
group :production do
gem 'pg'
gem 'redis', '~> 4.0'
end
what i am doing wrong ? please help !
For me it was not setting the aws credential. I forgot to do it when I created a new app that was cloned and modified from an already working project. I found this by opening the rails console and doing a heroku restart.
I have deployed my first app on Heroku. The app was working. I did some css styling, added a gem and added a widget. After pushing to Heroku I started getting this error.
Application error,
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details.
I deleted all changes and deleted the gem and I'm still getting the same error.
Can someone please help.
This is what my logs says.
Application Logs
2016-12-19T07:39:21.070388+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-2.0.1/lib/rack/server.rb:282:in `start'
2016-12-19T07:39:21.070390+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-5.0.0.1/lib/rails/commands/server.rb:79:in `start'
2016-12-19T07:39:21.070392+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:90:in `block in server'
2016-12-19T07:39:21.070394+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:85:in `tap'
2016-12-19T07:39:21.070398+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:49:in `run_command!'
2016-12-19T07:39:21.070396+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:85:in `server'
2016-12-19T07:39:21.070400+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-5.0.0.1/lib/rails/commands.rb:18:in `<top (required)>'
2016-12-19T07:39:21.070402+00:00 app[web.1]: from bin/rails:4:in `require'
2016-12-19T07:39:21.070421+00:00 app[web.1]: from bin/rails:4:in `<main>'
2016-12-19T12:18:12.445785+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=bark-sj.herokuapp.com request_id=b19b4989-195e-4dd9-b9d4-be040f005567 fwd="71.75.222.70" dyno= connect= service= status=503 bytes=
2016-12-19T12:18:12.883504+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=bark-sj.herokuapp.com request_id=da691f65-a247-4486-be41-5e40a24bf73d fwd="71.75.222.70" dyno= connect= service= status=503 bytes=
2016-12-19T12:19:06.946508+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=bark-sj.herokuapp.com request_id=2742ae66-fc1a-41f3-a7a1-34f19d80be2c fwd="71.75.222.70" dyno= connect= service= status=503 bytes=
2016-12-19T12:19:07.336515+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=bark-sj.herokuapp.com request_id=b0fb1a59-64b3-4b94-a5d4-cf620e3522b1 fwd="71.75.222.70" dyno= connect= service= status=503 bytes=
2016-12-19T12:19:35.432525+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=bark-sj.herokuapp.com request_id=2ec59492-b01c-48bc-85b1-d8cb836429ce fwd="71.75.222.70" dyno= connect= service= status=503 bytes=
2016-12-19T12:19:35.816449+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=bark-sj.herokuapp.com request_id=d80af4e9-e11d-4117-a2f0-c03e5a5df940 fwd="71.75.222.70" dyno= connect= service= status=503 bytes=
2016-12-19T12:19:44.824487+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=bark-sj.herokuapp.com request_id=ec97a999-1805-4755-b975-fc497ca7f4dc fwd="71.75.222.70" dyno= connect= service= status=503 bytes=
2016-12-19T12:19:45.234548+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=bark-sj.herokuapp.com request_id=a5501bea-0322-4053-8b80-9fd4a62e49ac fwd="71.75.222.70" dyno= connect= service= status=503 bytes=
I have coded the very simple app titled "Hello_App" from Hartl's Ruby on Rails. I followed all Hartl's instructions very closely. Everything worked fine locally. But when I attempted to deploy the app using Heroku, it crashed. I am stumped and don't know where to start.
Part of the Heroku log with H10 errors appears below. At your request, I have added more from Heroku log.
2015-08-14T19:55:56.904410+00:00 heroku[web.1]: State changed from starting to crashed
2015-08-14T19:55:56.889764+00:00 heroku[web.1]: Process exited with status 1
2015-08-14T20:05:25.919515+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=limitless-scrubland-1831.herokuapp.com request_id=1beaad1e-a07e-4d0c-9529-e4a9989b7fd5 fwd="67.244.72.196" dyno= connect= service= status=503 bytes=
2015-08-14T20:05:26.640952+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=limitless-scrubland-1831.herokuapp.com request_id=7f9b2df4-a493-4187-ac15-45d4ff35b61a fwd="67.244.72.196" dyno= connect= service= status=503 bytes=
2015-08-14T20:05:27.086774+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=limitless-scrubland-1831.herokuapp.com request_id=33c8f879-dfd8-4f7c-85f6-2172a7c08b78 fwd="67.244.72.196" dyno= connect= service= status=503 bytes=
2015-08-14T20:05:38.952685+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=limitless-scrubland-1831.herokuapp.com request_id=ce43f182-4fff-4165-ad3b-23cb5a68ac13 fwd="67.244.72.196" dyno= connect= service= status=503 bytes=
2015-08-14T20:05:39.279391+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=limitless-scrubland-1831.herokuapp.com request_id=96e37351-3ac1-45f0-89ee-54adc829f53e fwd="67.244.72.196" dyno= connect= service= status=503 bytes=
2015-08-14T20:05:39.676755+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=limitless-scrubland-1831.herokuapp.com request_id=4024e8b2-a27d-4fe3-aa49-3e7b128cf0da fwd="67.244.72.196" dyno= connect= service= status=503 bytes=
2015-08-14T20:05:41.312964+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=limitless-scrubland-1831.herokuapp.com request_id=92c17cfa-506d-4c18-a663-b3a04ab83c99 fwd="67.244.72.196" dyno= connect= service= status=503 bytes=
2015-08-14T20:05:41.657395+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=limitless-scrubland-1831.herokuapp.com request_id=a7c6d25a-50cb-4a35-9073-4fddd9d575a4 fwd="67.244.72.196" dyno= connect= service= status=503 bytes=
2015-08-14T20:05:41.968456+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=limitless-scrubland-1831.herokuapp.com request_id=1728d5eb-61f2-4467-837d-06d82170269c fwd="67.244.72.196" dyno= connect= service= status=503 bytes=
2015-08-14T20:06:19.817216+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=limitless-scrubland-1831.herokuapp.com request_id=924bc3af-a0a6-4f65-b98a-8218e0cea25b fwd="67.244.72.196" dyno= connect= service= status=503 bytes=
2015-08-14T20:07:04.947791+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=limitless-scrubland-1831.herokuapp.com request_id=0eb2022f-767e-4f09-a051-58918ccfaf78 fwd="67.244.72.196" dyno= connect= service= status=503 bytes=
2015-08-14T20:07:05.409107+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=limitless-scrubland-1831.herokuapp.com request_id=23d3549c-4f28-4acf-9292-2121140258c1 fwd="67.244.72.196" dyno= connect= service= status=503 bytes=
2015-08-14T20:07:05.364009+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=limitless-scrubland-1831.herokuapp.com request_id=f3ed4b18-f7a8-4bc3-9db6-4891a99f8841 fwd="67.244.72.196" dyno= connect= service= status=503 bytes=
2015-08-14T20:20:37.715136+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=limitless-scrubland-1831.herokuapp.com request_id=92983800-f1ad-49a7-b62b-ce72ce8f98cf fwd="67.244.72.196" dyno= connect= service= status=503 bytes=
2015-08-14T20:20:47.198875+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=limitless-scrubland-1831.herokuapp.com request_id=a04cd8ef-b431-4017-8f35-cb6a628c8edd fwd="67.244.72.196" dyno= connect= service= status=503 bytes=
2015-08-14T20:20:57.600588+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=limitless-scrubland-1831.herokuapp.com request_id=feb42ed2-d19a-49e0-a5b3-9e7e1929a1c4 fwd="67.244.72.196" dyno= connect= service= status=503 bytes=
2015-08-14T20:20:58.091505+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=limitless-scrubland-1831.herokuapp.com request_id=1a7f818c-3de5-4c59-9455-52eef5462f19 fwd="67.244.72.196" dyno= connect= service= status=503 bytes=
2015-08-14T20:20:58.349130+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=limitless-scrubland-1831.herokuapp.com request_id=b573207f-0313-4f91-833e-72a28295aa9a fwd="67.244.72.196" dyno= connect= service= status=503 bytes=
2015-08-14T20:21:01.210478+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=limitless-scrubland-1831.herokuapp.com request_id=b025e36f-2001-4b24-a6aa-1ff66095ba42 fwd="67.244.72.196" dyno= connect= service= status=503 bytes=
2015-08-14T20:21:01.650946+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=limitless-scrubland-1831.herokuapp.com request_id=805b2fde-00f7-41df-b080-61aa2127121c fwd="67.244.72.196" dyno= connect= service= status=503 bytes=
2015-08-14T20:21:01.943160+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=limitless-scrubland-1831.herokuapp.com request_id=5e6e6d4f-836e-43fa-813d-8f09f7627f10 fwd="67.244.72.196" dyno= connect= service= status=503 bytes=
Also, when I keyed "$ git push heroku master" prior to deployment, I got the following the following warnings, though I'm not sure they are relevant to the crash.
remote: ###### WARNING:
remote: Include 'rails_12factor' gem to enable all platform features
remote:
remote: ###### WARNING:
remote: You have not declared a Ruby version in your Gemfile.
remote: To set your Ruby version add this line to your Gemfile:
remote: ruby '2.0.0'
remote:
remote: ###### WARNING:
remote: No Procfile detected, using the default web server (webrick)
Can anyone give me some basic suggestions? Please remember in any replies that I am very new to all of this.
Puts this in you Gemfile
group :production do
gem 'pg' #sqlite3 gem is not supported on Heroku.
gem 'rails_12factor'
end
run bundle commit the changes and try to push to heroku again git push heroku master
My Ruby on Rails app works fine in development but when I pushed the latest version to Heroku I get a h10 (app crash error). Can someone help me figure out how to fix this?
2014-11-01T18:28:34.715261+00:00 heroku[router]: at=error code=H20 desc="App boot timeout" method=GET path="/" host=dineapp.herokuapp.com request_id=886390a9-545c-4241-aa6e-f520bead8829 fwd="74.141.109.22" dyno= connect= service= status=503 bytes=
2014-11-01T18:29:18.317867+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2014-11-01T18:29:18.318060+00:00 heroku[web.1]: Stopping process with SIGKILL
2014-11-01T18:29:19.486593+00:00 heroku[web.1]: Process exited with status 137
2014-11-01T18:29:19.516985+00:00 heroku[web.1]: State changed from starting to crashed
2014-11-01T18:29:21.838385+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=dineapp.herokuapp.com request_id=2b786958-7516-4828-a08b-8c8ae571143c fwd="74.141.109.22" dyno= connect= service= status=503 bytes=
2014-11-01T18:29:55.921023+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=dineapp.herokuapp.com request_id=91fd085d-f1fc-417c-9134-e0c4ea05cddd fwd="74.141.109.22" dyno= connect= service= status=503 bytes=
2014-11-01T18:29:56.395060+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=dineapp.herokuapp.com request_id=a969e27b-7723-4ce0-8459-c568f7ac6eab fwd="74.141.109.22" dyno= connect= service= status=503 bytes=
2014-11-01T18:29:57.190074+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=dineapp.herokuapp.com request_id=c8e0f31a-fc53-462b-b32b-a6526d007408 fwd="74.141.109.22" dyno= connect= service= status=503 bytes=
2014-11-01T18:29:57.441240+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=dineapp.herokuapp.com request_id=ddb2731b-b47f-4699-8bbf-50fd6fcc2229 fwd="74.141.109.22" dyno= connect= service= status=503 bytes=
2014-11-01T18:30:39.921818+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=dineapp.herokuapp.com request_id=8047c2a4-d4de-464c-a97a-74af40142338 fwd="74.141.109.22" dyno= connect= service= status=503 bytes=
2014-11-01T18:30:40.139866+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=dineapp.herokuapp.com request_id=5d2e429d-36de-414c-94ea-85a94e97d868 fwd="74.141.109.22" dyno= connect= service= status=503 bytes=
2014-11-01T18:31:49.564643+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=dineapp.herokuapp.com request_id=320ac9a2-e04c-4a94-a498-7f5e97ec033d fwd="74.141.109.22" dyno= connect= service= status=503 bytes=
2014-11-01T18:31:49.716703+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=dineapp.herokuapp.com request_id=9b4ec9b0-5c43-4911-8ea7-e0e86aafcfc1 fwd="74.141.109.22" dyno= connect= service= status=503 bytes=
Hi i have been trying to get to my heroku app but it keeps giving me application error.
Attached is my heroku logs.
2014-07-30T05:52:12.995412+00:00 heroku[web.1]: State changed from starting to crashed
2014-07-30T05:52:13.734720+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=vast-fortress-4470.herokuapp.com request_id=43cec375-c96a-46c2-adcf-c0a37fb3801e fwd="192.122.131.10" dyno= connect= service= status=503 bytes=
2014-07-30T05:52:14.507679+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=vast-fortress-4470.herokuapp.com request_id=86ff6b8e-61f0-4ea8-b0e2-022989592a32 fwd="192.122.131.10" dyno= connect= service= status=503 bytes=
2014-07-30T05:52:14.584623+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=vast-fortress-4470.herokuapp.com request_id=ac5f2cb0-a1f7-4015-8990-6725b82c4f05 fwd="192.122.131.10" dyno= connect= service= status=503 bytes=
2014-07-30T05:52:21.245102+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/homr" host=vast-fortress-4470.herokuapp.com request_id=52c4c51f-2f3d-4254-8f9a-675988896758 fwd="192.122.131.10" dyno= connect= service= status=503 bytes=
2014-07-30T05:52:21.843978+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=vast-fortress-4470.herokuapp.com request_id=431135aa-9731-4d1d-81d3-cb254e269ae0 fwd="192.122.131.10" dyno= connect= service= status=503 bytes=
2014-07-30T05:52:23.903377+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/home" host=vast-fortress-4470.herokuapp.com request_id=bfcc489f-1fab-4c3d-ad7a-1b367755dfc7 fwd="192.122.131.10" dyno= connect= service= status=503 bytes=
2014-07-30T05:52:24.521571+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=vast-fortress-4470.herokuapp.com request_id=3c145744-7509-4356-850c-5b5002cad995 fwd="192.122.131.10" dyno= connect= service= status=503 bytes=
2014-07-30T05:53:29.438004+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/home" host=vast-fortress-4470.herokuapp.com request_id=52240698-37ae-4b3f-9ded-90f7f382304c fwd="192.122.131.10" dyno= connect= service= status=503 bytes=
2014-07-30T05:53:30.303500+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=vast-fortress-4470.herokuapp.com request_id=2d436bbf-3384-4820-ba28-259f15185294 fwd="192.122.131.10" dyno= connect= service= status=503 bytes=
And this is my heroku run rails console:
Running `rails console` attached to terminal... up, run.2353
/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.8/lib/active_record/dynamic_matchers.rb:22:in `method_missing': undefined method `dump_schema_after_migration=' for #<Class:0x007f1af45e9f00> (NoMethodError)
from /app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.8/lib/active_record/railtie.rb:166:in `block (3 levels) in <class:Railtie>'
from /app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.8/lib/active_record/railtie.rb:165:in `each'
from /app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.8/lib/active_record/railtie.rb:165:in `block (2 levels) in <class:Railtie>'
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.8/lib/active_support/lazy_load_hooks.rb:38:in `instance_eval'
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.8/lib/active_support/lazy_load_hooks.rb:38:in `execute_hook'
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.8/lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.8/lib/active_support/lazy_load_hooks.rb:44:in `each'
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.8/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
from /app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.8/lib/active_record/base.rb:322:in `<module:ActiveRecord>'
from /app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.8/lib/active_record/base.rb:22:in `<top (required)>'
from /app/app/models/documents.rb:1:in `<top (required)>'
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:229:in `require'
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:229:in `block in require'
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:214:in `load_dependency'
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:229:in `require'
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:330:in `require_or_load'
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:289:in `depend_on'
from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:207:in `require_dependency'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.8/lib/rails/engine.rb:465:in `block (2 levels) in eager_load!'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.8/lib/rails/engine.rb:464:in `each'
Can anyone shed some light on this?