Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
could you please suggest me on this.
When I try accessing the app link. Following error appears on the page:
An error occurred in the application and your page could not be served. Please try again in a few moments.
If you are the application owner, check your logs for details.
I created Procfile. Still cannot get rid of this error No web processes running
Heroku log
heroku logs --app propertybooking
2014-03-04T00:52:43.027134+00:00 heroku[api]: Enable Logplex by radsrinivasan#gmail.com
2014-03-04T00:52:43.027229+00:00 heroku[api]: Release v2 created by radsrinivasan#gmail.com
2014-03-04T00:56:11+00:00 heroku[slug-compiler]: Slug compilation started
2014-03-04T00:57:09.578060+00:00 heroku[api]: Attach HEROKU_POSTGRESQL_ORANGE resource by radsrinivasan#gmail.com
2014-03-04T00:57:09.578139+00:00 heroku[api]: Release v3 created by radsrinivasan#gmail.com
2014-03-04T00:57:09.783103+00:00 heroku[api]: Added DATABASE_URL config vars. by radsrinivasan#gmail.com
2014-03-04T00:57:09.783179+00:00 heroku[api]: Release v4 created by radsrinivasan#gmail.com
2014-03-04T00:57:10.017963+00:00 heroku[api]: Release v5 created by radsrinivasan#gmail.com
2014-03-04T00:57:10.017860+00:00 heroku[api]: Deploy 655bdae by radsrinivasan#gmail.com
2014-03-04T00:57:10+00:00 heroku[slug-compiler]: Slug compilation finished
2014-03-04T00:58:51.300641+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/ host=propertybooking.herokuapp.com request_id=6b14a96e-064d-4e03-8d1c-a30117bc3db3 fwd="116.255.8.253" dyno= connect= service= status=503 bytes=
2014-03-04T00:58:52.238012+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/favicon.ico host=propertybooking.herokuapp.com request_id=5b9be8ef-7ae4-4a97-b991-1ed424c63061 fwd="116.255.8.253" dyno= connect= service= status=503 bytes=
2014-03-04T01:00:32+00:00 heroku[slug-compiler]: Slug compilation started
2014-03-04T01:00:58.966318+00:00 heroku[api]: Deploy 37555ec by radsrinivasan#gmail.com
2014-03-04T01:00:58.966395+00:00 heroku[api]: Release v6 created by radsrinivasan#gmail.com
2014-03-04T01:00:59+00:00 heroku[slug-compiler]: Slug compilation finished
2014-03-04T01:05:40.315893+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/ host=propertybooking.herokuapp.com request_id=85b971b4-77d1-4a99-9f3a-15ead3884ad6 fwd="116.255.8.253" dyno= connect= service= status=503 bytes=
2014-03-04T05:46:25.664525+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/favicon.ico host=propertybooking.herokuapp.com request_id=1e311ff2-14ee-419c-9352-14494ab48019 fwd="116.255.8.253" dyno= connect= service= status=503 bytes=
2014-03-04T06:04:07.023185+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/favicon.ico host=propertybooking.herokuapp.com request_id=00de0d3a-b7c6-4cd7-a515-2fb15b7eea6c fwd="116.255.8.253" dyno= connect= service= status=503 bytes=
2014-03-04T06:04:06.303166+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/ host=propertybooking.herokuapp.com request_id=cfbdeb7c-f1fa-4190-b2c3-b5ed4ae1e79b fwd="116.255.8.253" dyno= connect= service= status=503 bytes=
2014-03-04T06:05:43.220478+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/favicon.ico host=propertybooking.herokuapp.com request_id=44e32a61-1d2e-4211-947f-887dfe488a91 fwd="116.255.8.253"
dyno= connect= service= status=503 bytes=
2014-03-04T06:05:42.943163+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/ host=propertybooking.herokuapp.com request_id=577db4cd-6476-4581-8d8e-5531051a6a3d fwd="116.255.8.253" dyno= connect= service= status=503 bytes=
2014-03-04T08:39:43+00:00 heroku[slug-compiler]: Slug compilation started
2014-03-04T08:40:03.817169+00:00 heroku[api]: Deploy 2a90b3e by radsrinivasan#gmail.com
2014-03-04T08:40:03.817169+00:00 heroku[api]: Release v7 created by radsrinivasan#gmail.com
2014-03-04T08:40:03+00:00 heroku[slug-compiler]: Slug compilation finished
2014-03-04T08:45:07.050460+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/ host=propertybooking.herokuapp.com request_id=2653335f-e7d8-4ad3-98b2-12331b824c61 fwd="116.255.8.253" dyno= connect= service= status=503 bytes=
2014-03-04T08:45:08.025340+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/favicon.ico host=propertybooking.herokuapp.com request_id=c09bd3e6-ad75-4ad7-b5c5-673e3e890ac0 fwd="116.255.8.253" dyno= connect= service= status=503 bytes=
2014-03-04T08:45:23.510432+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/ host=propertybooking.herokuapp.com request_id=fa120175-7006-471c-8bc2-891a9af4169c fwd="116.255.8.253" dyno= connect= service= status=503 bytes=
2014-03-04T08:45:23.848913+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/favicon.ico host=propertybooking.herokuapp.com request_id=24463d40-e36f-42b1-b73d-755bae86baef fwd="116.255.8.253" dyno= connect= service= status=503 bytes=
2014-03-04T08:47:02.732135+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/ host=propertybooking.herokuapp.com request_id=54bc1ec5-d206-45c3-9bf8-c382cd7cf6bf fwd="116.255.8.253" dyno= connect= service= status=503 bytes=
2014-03-04T08:47:03.018363+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/favicon.ico host=propertybooking.herokuapp.com request_id=2be64be9-2f1f-426f-8505-e5898bb107c9 fwd="116.255.8.253" dyno= connect= service= status=503 bytes=
2014-03-04T11:34:18.439139+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/ host=propertybooking.herokuapp.com request_id=5d559f8c-abc2-4dcf-a61b-c1c256b4e0b5 fwd="116.255.8.253" dyno= connect= service= status=503 bytes=
2014-03-04T11:34:18.803386+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/favicon.ico host=propertybooking.herokuapp.com request_id=610dbb40-289a-4c9c-9f1a-2810c0e4270b fwd="116.255.8.253" dyno= connect= service= status=503 bytes=
2014-03-04T13:06:35.850439+00:00 heroku[api]: Release v8 created by radsrinivasan#gmail.com
2014-03-04T13:06:35.850348+00:00 heroku[api]: Add PATH config by radsrinivasan#gmail.com
2014-03-04T13:12:26+00:00 heroku[slug-compiler]: Slug compilation started
2014-03-04T13:12:50.405315+00:00 heroku[api]: Deploy 23054d0 by radsrinivasan#gmail.com
2014-03-04T13:12:50.405444+00:00 heroku[api]: Release v9 created by radsrinivasan#gmail.com
2014-03-04T13:12:50+00:00 heroku[slug-compiler]: Slug compilation finished
2014-03-04T13:13:03.007493+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/ host=propertybooking.herokuapp.com request_id=2ffa8c80-2f69-4dac-818a-29d142d0bf8b fwd="116.255.8.253" dyno= connect= service= status=503 bytes=
2014-03-04T13:13:03.383880+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/favicon.ico host=propertybooking.herokuapp.com request_id=e5abe123-4dc2-40f0-8b05-66283a8229b8 fwd="116.255.8.253" dyno= connect= service= status=503 bytes=
2014-03-04T13:17:10.478449+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/ host=propertybooking.herokuapp.com request_id=e2bd5a2a-d0db-4400-8f10-2f8f9df2c701 fwd="116.255.8.253" dyno= connect= service= status=503 bytes=
2014-03-04T13:17:10.776299+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path=/favicon.ico host=propertybooking.herokuapp.com request_id=5eef4e4e-c127-4ff9-8ed6-1453a14b4e7f fwd="116.255.8.253" dyno= connect= service= status=503 bytes=
Thank you for your time.
heroku ps:scale web=1
You need to have 'web' entry in your procfile - that is the only one Heroku will autostart.
Related
here is the error message
2020-08-20T19:13:43.542139+00:00 app[web.1]: from bin/rails:9:in `<main>'
2020-08-20T19:13:43.603854+00:00 heroku[web.1]: Process exited with status 1
2020-08-20T19:13:43.651479+00:00 heroku[web.1]: State changed from starting to crashed
2020-08-20T19:14:36.154142+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=boiling-beach-80054.herokuapp.com request_id=30b35563-7447-4305-a243-8bce2664ee6a fwd="64.234.7.83" dyno= connect= service= status=503 bytes= protocol=https
2020-08-20T19:14:36.732461+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=boiling-beach-80054.herokuapp.com request_id=59040236-bc19-4415-beb3-437f6c3dd7e1 fwd="64.234.7.83" dyno= connect= service= status=503 bytes= protocol=https
2020-08-20T19:17:01.054363+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=boiling-beach-80054.herokuapp.com request_id=eee2212d-d741-46bb-81d7-3cdf6c4b5f76 fwd="64.234.7.83" dyno= connect= service= status=503 bytes= protocol=https
Any help would be greatly appreciated
please help, i have no idea. I am getting this from my heroku logs.
i am on ruby 2.3
rails 5.1
2019-03-20T15:05:15.000000+00:00 app[api]: Build succeeded
2019-03-20T15:05:53.943996+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=aqueous-reef-51265.herokuapp.com request_id=5c0b7d49-b20e-4469-a483-88093fd77f5e fwd="41.66.199.69" dyno= connect= service= status=503 bytes= protocol=https
2019-03-20T15:05:54.781463+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=aqueous-reef-51265.herokuapp.com request_id=de8a1df2-fc24-4e69-8b36-7cb1e92a73da fwd="41.66.199.69" dyno= connect= service= status=503 bytes= protocol=https
2019-03-20T15:05:58.794279+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=aqueous-reef-51265.herokuapp.com request_id=d53446ea-a1bd-474e-ad6c-ddf62b74689f fwd="41.66.199.69" dyno= connect= service= status=503 bytes= protocol=https
2019-03-20T15:05:59.021626+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=aqueous-reef-51265.herokuapp.com request_id=63bd925f-fc04-4169-94ce-d08afd620a57 fwd="41.66.199.69" dyno= connect= service= status=503 bytes= protocol=https
^CTerminate batch job (Y/N)? y
Try to run heroku local or heroku run rails c. The first command will try to run the server locally and the second will run the rails console on your heroku server. Both of them should crash because of the error that is causing your heroku app to fail to launch, but they should provide a more detailed explanation as to the cause. I have seen this error a couple times before and one time it was because I wasn't autoloading classes correctly, i.e require 'devise in application.rb and the other time it was because there was an error in a controller class name.
I'm facing the Heroku deploy error. When I deploy my rails 5 app on Heroku the following error occurs:
"An error occurred in the application and your page could not be
served. If you are the application owner, check your logs for
details".
My Heroku app logs is this
2018-01-11T11:31:08.702143+00:00 heroku[web.1]: State changed from starting to crashed
2018-01-11T11:31:08.687436+00:00 heroku[web.1]: Process exited with status 1
2018-01-11T11:31:56.372775+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/robots.txt" host=concept-car-dealer.herokuapp.com request_id=61c90fd0-3588-4f34-b463-45cc6c37e73e fwd="103.255.6.80" dyno= connect= service= status=503 bytes= protocol=https
2018-01-11T11:31:57.235468+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/robots.txt" host=concept-car-dealer.herokuapp.com request_id=0edb9bee-a765-4500-98b2-09b0826082c9 fwd="103.255.6.80" dyno= connect= service= status=503 bytes= protocol=https
2018-01-11T11:31:56.859412+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=concept-car-dealer.herokuapp.com request_id=b72c7768-541c-42db-b7f1-6f02a853fef2 fwd="103.255.6.80" dyno= connect= service= status=503 bytes= protocol=https
2018-01-11T11:31:55.750150+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/robots.txt" host=concept-car-dealer.herokuapp.com request_id=780a212f-5fa1-4143-9b26-d245acb50444 fwd="103.255.6.80" dyno= connect= service= status=503 bytes= protocol=https
Here is the link of my Heroku App . And here is the link of my GitHub repo
I recently changed my Rails app database from sqlite3 to postgresql. The app works fine in development on C9, but I'm running into problems with Heroku production. On Heroku, the index page actually displays, but navigating to the sign up page or trying to log in produces this error on the page:
We're sorry, but something went wrong.
If you are the application owner check the logs for more information.
I've done a bit of searching and have found that I'm supposed to run $ heroku run rails db:migrate in order for my app to work. However, when attempting to migrate, I am told that I need to start the server. After running $ rails s and then attempting the migration, I get this error in the terminal:
Cannot run more than 1 Free size dynos.
I have already attempted heroku ps:stop worker and heroku ps:stop <DYNO>, but both return this error in the terminal:
Expected response to be successful, got 400
Edit: There are the error logs I get when navigating to the sign up page:
2017-08-16T01:17:58.770873+00:00 heroku[router]: at=error code=H14 desc="No
web processes running" method=GET path="/" host=operation-give-
back.herokuapp.com request_id=484539c6-91dd-42da-863c-e293f008d2c1
fwd="75.171.228.74" dyno= connect= service= status=503 bytes= protocol=https
2017-08-16T01:18:00.108900+00:00 heroku[router]: at=error code=H14 desc="No
web processes running" method=GET path="/" host=operation-give-
back.herokuapp.com request_id=de8eff7f-4e1c-4fe0-8a99-ba731109d8de
fwd="75.171.228.74" dyno= connect= service= status=503 bytes= protocol=https
2017-08-16T01:18:00.206753+00:00 heroku[router]: at=error code=H14 desc="No
web processes running" method=GET path="/favicon.ico" host=operation-give-
back.herokuapp.com request_id=a6d18caf-0c2e-44bb-aa09-cf4c0141054d
fwd="75.171.228.74" dyno= connect= service= status=503 bytes= protocol=https
2017-08-16T01:18:01.101111+00:00 heroku[router]: at=error code=H14 desc="No
web processes running" method=GET path="/favicon.ico" host=operation-give-
back.herokuapp.com request_id=c71d4340-17d7-4bcf-b50d-20aeee5494d4
fwd="75.171.228.74" dyno= connect= service= status=503 bytes= protocol=https
2017-08-16T01:18:01.002590+00:00 heroku[router]: at=error code=H14 desc="No
web processes running" method=GET path="/" host=operation-give-
back.herokuapp.com request_id=343a0a5f-b000-4199-80f2-1bb2248963e0
fwd="75.171.228.74" dyno= connect= service= status=503 bytes= protocol=https
2017-08-16T01:18:01.928432+00:00 heroku[router]: at=error code=H14 desc="No
web processes running" method=GET path="/" host=operation-give-
back.herokuapp.com request_id=4d62b417-c284-42f6-a43c-ec6c77335855
fwd="75.171.228.74" dyno= connect= service= status=503 bytes= protocol=https
2017-08-16T01:18:02.050002+00:00 heroku[router]: at=error code=H14 desc="No
web processes running" method=GET path="/favicon.ico" host=operation-give-
back.herokuapp.com request_id=7c18d099-cd2e-454e-b079-bc19bf58fb30
fwd="75.171.228.74" dyno= connect= service= status=503 bytes= protocol=https
Does anyone know how to fix this? Thanks in advance!
Note: I'm using Rails 5
Try this:
heroku ps:scale web=1
This is straight from the Heroku Error Codes page.
I just created a blank Heroku app using command 'heroku create' and navigated to the address designated to the app. The page read as follows:
Application Error
An error occurred in the application and your page
could not be served. Please try again in a few moments.
If you are the application owner, check your logs for details.
I checked the logs in the command line, and it said:
2014-07-03T17:02:42.854237+00:00 heroku[router]: at=error code=H14
desc="No web processes running" method=GET path="/"
host=aqueous-beach-3520.herokuapp.com
request_id=68df453d-11c7-4087-a10c-ce12e3117161 fwd="104.33.31.5"
dyno= connect= service= status=503 bytes=
2014-07-03T17:02:43.933191+00:00 heroku[router]: at=error code=H14
desc="No web processes running" method=GET path="/favicon.ico"
host=aqueous-beach-3520.herokuapp.com
request_id=2738adb7-65f6-40dd-b29f-0cbe2cbd60f3 fwd="104.33.31.5"
dyno= connect= service= status=503 bytes=
2014-07-03T17:02:51.767010+00:00 heroku[router]: at=error code=H14
desc="No web processes running" method=GET path="/"
host=aqueous-beach-3520.herokuapp.com
request_id=3b863dd5-ded8-462a-865f-6a39157ee414 fwd="104.33.31.5"
dyno= connect= service= status=503 bytes=
2014-07-03T17:02:52.134163+00:00 heroku[router]: at=error code=H14
desc="No web processes running" method=GET path="/favicon.ico"
host=aqueous-beach-3520.herokuapp.com
request_id=08f65bbe-3ab5-4cef-9154-8c8b3ced919e fwd="104.33.31.5"
dyno= connect= service= status=503 bytes=
2014-07-03T17:03:04.942054+00:00 heroku[router]: at=error code=H14
desc="No web processes running" method=GET path="/"
host=aqueous-beach-3520.herokuapp.com
request_id=21d8938b-2ed8-48ca-ba69-ef753759ee9e fwd="104.33.31.5"
dyno= connect= service= status=503 bytes=
2014-07-03T17:03:05.325708+00:00 heroku[router]: at=error code=H14
desc="No web processes running" method=GET path="/favicon.ico"
host=aqueous-beach-3520.herokuapp.com
request_id=12f6ffa0-1d0a-4827-b3f3-1a6dad604177 fwd="104.33.31.5"
dyno= connect= service= status=503 bytes=
2014-07-03T17:04:27.395593+00:00 heroku[router]: at=error code=H14
desc="No web processes running" method=GET path="/"
host=aqueous-beach-3520.herokuapp.com
request_id=adb01b6b-2763-4270-ad0c-4b12f207c5c3 fwd="104.33.31.5"
dyno= connect= service= status=503 bytes=
2014-07-03T17:04:27.882267+00:00 heroku[router]: at=error code=H14
desc="No web processes running" method=GET path="/favicon.ico"
host=aqueous-beach-3520.herokuapp.com
request_id=852edcba-a708-41ec-90e4-306366cf68d3 fwd="104.33.31.5"
dyno= connect= service= status=503 bytes=
I've done a little bit of surfing, but most people seem to be encountering the H14 error after pushing. I haven't done any of that yet. I've also tried restarting heroku and scaling the dynos. Help?
Edit:
Once I pushed an existing application to Heroku, this issue went away. It looked like I could not deploy a blank Heroku application for whatever reason.
You need to scale your web dyno up from 0 to 1. You don't have one running at the moment. To do this go to heroku.com, click on your app, drag web dyno to one and click 'apply changes'! Let me know if this doesn't work
You don't have any application code yet!
You have to push application code with a Procfile that defines your processes. You won't be able to scale your web dynos until that's done, because you don't have any web dyno processes defined.
If, as your tag suggests, you want to deploy a rails app specifically, try following this tutorial.