This is my github repo https://github.com/ArslanAnjum/angularSpringApi which I want to deploy on heroku. The problem is that it is working fine locally but not working on heroku. Can anyone help me out why its not working on heroku?
Heroku link is https://angular-spring-api.herokuapp.com/login . Its giving error that page not found.
This is from the logs of heroku with command heroku logs --tail
2017-11-10T14:06:53.418723+00:00 heroku[router]: at=info method=GET path="/login" host=angular-spring-api.herokuapp.com request_id=cd5bf927-f868-4289-a79d-82aa0c97607b fwd=
"182.180.173.165" dyno=web.1 connect=0ms service=169ms status=404 bytes=715 protocol=https
Related
I was trying to deploy my dashboard on heroku but after I finished I got Request timeout error
I got an Application error and search a lot but still have the same problem of time out and quota memory exceeded
Here is the error from the activity log:
2022-05-02T19:12:39.725777+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/" host=ukraineinvasion.herokuapp.com request_id=fc485f9
6-0c39-416e-914a-93a3c9e1b6e8 fwd="41.46.189.30" dyno=web.1 connect=0ms service=30004ms status=503 bytes=0 protocol=https
2022-05-02T19:12:40.714784+00:00 app[web.1]: Dash is running on http://127.0.0.1:59351/
I have a simple discord bot made using python and I have deployed it on Heroku. My bot is running perfectly fine locally, but it never comes online. When I open my app, there is an application error.
I used the command: heroku logs --tail --app my-bot and this is the result I get:
2021-04-29T19:39:35.050215+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=telepathy-bot.herokuapp.com request_id=b5acbe5f-ba6f-40d3-a08c-915850f2d27f fwd="103.242.190.234" dyno= connect= service= status=503 bytes= protocol=https
2021-04-29T19:39:35.438642+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=telepathy-bot.herokuapp.com request_id=e5df6b77-b518-45a8-bbae-9e3f0d15126a fwd="103.242.190.234" dyno= connect= service= status=503 bytes= protocol=https
I tried looking at many things. I ran the heroku ps:scale worker=1 and also tried heroku ps:scale web=1 but I have no luck. What should I do?
My Profile is as follows:
heroku ps:scale web=1
heroku ps:scale worker=1
worker: python launcher.py
Please don't use Heroku, use dynox hosting https://client.dynox.us/
I have deployed my MERN stack app on heroku but now I am having a trouble while making a POST request to my backend through a form.
I have run the command heroku logs --tail
and I am getting the following errors
at=error code=H12 desc="Request timeout" method=POST path="/api/auth" host=still-island-81891.herokuapp.com request_id=b151ea11-23e7-4677-a6d9-d8fd9a213098 fwd="47.30.225.200" dyno=web.1 connect=1ms service=30000ms status=503 bytes=0 protocol=https
Thanks!
I am trying to run a Jersey Server on heroku.
This works fine locally. and I have tested it. [1].
When I run it on heroku I bind to the port given by the PORT environment variable. I tried with localhost, 127.0.0.1 and 0.0.0.0. But when I try to access the application by heroku given url I get an application error. It prints [3].
Can anyone help me on the please?
[1] INFO: Jersey app started with WADL available at http://127.0.0.1:8080/HelloWorldExample.svc/application.wadl
[2] INFO: Jersey app started with WADL available at http://0.0.0.0:40243/HelloWorldExample.svc/application.wadl
[3] 2018-02-15T08:04:20.300885+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/HelloWorldExample.svc/application.wadl" host=absiodata.herokuapp.com request_id=abbf8aa1-bd10-4dff-b36e-eeba2fb30528 fwd="81.246.22.26" dyno= connect= service= status=503 bytes= protocol=http
I deployed my application to Heroku and once I did that the image isn't appearing. I looked at the Heroku log files and it gives the status=404 for that image. The image appears locally when I run it on my mac book.
The error message is:
2017-12-19T13:42:42.487011+00:00 heroku[router]: at=info method=GET
path="/images/MyPhoto.jpeg" host=bk-devcamp-portfolio.herokuapp.com
request_id=970163c2-4d3a-4b9a-83e0-7204b7cf4f10 fwd="66.194.42.54"
dyno=web.1 connect=2ms service=5ms status=404 bytes=1902 protocol=https
2017-12-19T13:42:42.430206+00:00 heroku[router]: at=info method=GET
path="/about-me" host=bk-devcamp-portfolio.herokuapp.com
request_id=4aebf34c-b6f9-47c3-a678-b779a7efa1ed fwd="66.194.42.54"
dyno=web.1 connect=1ms service=32ms status=200 bytes=11732 protocol=https
heroku describes how to fix the asset precompiling issue: Heroku Assets
Fix 1)
RAILS_ENV=production bundle exec rake assets:precompile
Fix 2)
in "config/application.rb" and add this line:
config.serve_static_assets = true
Alternatively you can achieve the same result by including the
rails_12factor
gem in your Gemfile:
gem 'rails_12factor', group: :production