134 questions
0
votes
1
answer
32
views
Heroku Java Spring Boot web app project -> extend it to include one-off processes within it
We've an up and running Spring Boot java project working in Heroku using web dynos.
Business requirement is to include background processes to sync some master data grabbed from external system by ...
0
votes
1
answer
170
views
How to avoid Heroku dyno sleep for my web-scrapper [duplicate]
I have written this python web-scrapper script and have deployed it on Heroku. It is continuous running script and does web scrapping after each minute of sleeping . The problem is that it works fine ...
0
votes
1
answer
99
views
Does Server Sent Events Traffic contribute to Heroku autoscaling?
I have a NodeJS application running on Heroku that uses server sent events (SSE). In the Heroku documentation I saw:
The autoscaling algorithm does not include WebSocket traffic in its calculations.
I ...
0
votes
1
answer
60
views
H14 - No web processes running on Heroku - previous posts with same concern doesn't resolve my issue. 550h eco dyno remaining but still not deployed [duplicate]
I have created a Flask-CRUD web application.
My app build is successful but is not deployed when I check the logs I get
`H14 No web processes running error`
I checked the dyno status through command
...
3
votes
2
answers
923
views
How do I get my heroku app's node version?
Is there a way to see which version of node your app on heroku is using?
I saw that you can specify the version of node
"engines": {
"node": "14.x"
},
I have not ...
1
vote
0
answers
106
views
Can't change dyno with Procfile on Heroku
I'm trying to deploy django project to Heroku using docker image. My Procfile contains command:
web: gunicoron myProject.wsgi
But when I push and release to heroku - somewhy dyno process command ...
0
votes
1
answer
611
views
What is the correct way to add dynos to Django/Heroku project?
This is continuation of my previous question: What is the propper way to debug gunicorn?
Currently I am having error code=H14 desc="No web processes running" wihch suggests that there are no ...
0
votes
1
answer
37
views
Dyno Hours for paid account and Frequency to call app endpoint
I am new to Heroku, created an app and deployed on heroku free account. And I want use endpoint of that app as publicly accessible endpoint. In heroku documentation it is mentioned heroku API can be ...
0
votes
0
answers
51
views
Is the extra 450 free dyno hours given by Heroku a one time offer?
New accounts receive 550 free dyno hours and one can verify their identity with a credit card for an additional 450 hours
Is it one time?
Or will I get 1000 hours every following month?
0
votes
1
answer
105
views
Scheduling in Heroku while keeping track of counter
Might be a noob question but I'm new to hosting code online. For my first project I've created a web scraper that logs into a website and updates a number every hour. Indexing up by one. Initially I ...
1
vote
0
answers
219
views
Dash plotly app with Heroku: works well heroku locally but dosent work propely in production
I have a dash plotly python jupyter notebook app (music) that takes 5 rows as a sample from a bigger dataframe using df_sample= df.sample(5). It has a quiz with inputs to compare the response of the ...
6
votes
2
answers
8k
views
What should go in my Procfile for a Django application?
What should go in my Procfile for a Django application on Heroku?
I tried:
web: python appname.py
because I found an example like that for python apps.
Further searching didn't make things any ...
7
votes
3
answers
420
views
Heroku H10 error but web dynos are not crashing
A few hours ago we starting seeing a bunch of H10 errors in our logs and on our Heroku dashboard. Heroku says that H10 errors are due to web dyno crashes. Read more here. The strange part is that our ...
2
votes
0
answers
71
views
Heroku-Client module .delete to restart dyno not working
I have a memory leak and would like to apply a temporary patch while I debug it. I want to restart the dyno whenever a specific request from a client comes in. I'm assuming appName below is just this:
...
2
votes
1
answer
1k
views
How to change the IP address on each Heroku request?
So I'm web scraping Google and am pretty sure it's blocking my requests based on the IP address. I've deployed my app to Heroku (which has dynamic IP addresses when the dynos restart) and I've noticed ...
0
votes
1
answer
120
views
Heroku: stop all one-off dynos without dyno name
I run the following command twice to start my two one-off dynos
heroku run:detached python main.py
and then stop it using
heroku ps:stop <dyno-name>
however, I wish to stop all my dynos ...
0
votes
1
answer
256
views
Can I set Heroku to not retry requests on timeout by default?
Whenever a request times out to a dyno, it's automatically retried. Looks like it's managed by the dyno according to this article https://devcenter.heroku.com/articles/http-routing. How can I set/...
0
votes
0
answers
447
views
How to change my Heroku management command to use a worker dyno
I am new to all things Heroku/Django so apologies if this question is elementary. I've developed my first minor app using Django and have just deployed it into Heroku. A major part of the app is that ...
1
vote
1
answer
191
views
Is pinging Heroku to keep free dynos from shutting off illegal/against the TOS?
I've verified my account on Heroku so I have my 1000 free Dynos hours and only one project, and I'm only using the basic dynos. With that in mind, I thought it would be good to ping the server once ...
0
votes
0
answers
51
views
Python Worker On Heroku Api
I am building an API on heroku using python and flask
I am currently sending a post request and then the worker takes the parameters and starts processing and return the json response when it finishes
...
2
votes
0
answers
575
views
Heroku Relocating dyno to a new server
Is there a way to prevent Heroku "Relocating dyno to a new server"?
Since Relocating does not make a copy of the code, my scheduler stops from working.
It's annoying !
Thanks
0
votes
1
answer
287
views
Heroku add on ever deploy -Dspring.profiles.active=prod
I have 3 application.yml one for dev and one for prod
application.yml (default set to dev)
application-dev . yml
application-prod . yml
When running this command - Dspring.profiles.active=prod it will ...
0
votes
0
answers
181
views
Heroku dyno keeps rebooting constantly
I've just deployed a new project to Heroku using Docker.
Unfortunately, my dyno is in a reboot cycle and hasn't come online yet. It continuously crashes with the following logs:
2021-01-07T09:49:55....
0
votes
1
answer
316
views
Why is my heroku worker dyno not working?
I have a worker dyno that I use to run my discord bot. It works normally every day and I have been using it for a long time but suddenly today is just stopped working even though it shows that it ...
0
votes
0
answers
54
views
Heroku Dyno inexplicably down?
I've used Heroku to host my Discord bot for a while now with no problems. I connected it with Github to autodeploy after every commit. However, today I made a change in one of the bot's files, a ...