Questions tagged [heroku]
Heroku (pronounced her-OH-koo) is a cloud platform for Ruby, Node.js, Clojure, Python, PHP and JVM-based (Java, Scala, etc.) applications that features a Git-based deployment strategy, a large number of services offered as add-ons, and a full API.
211 questions
0
votes
0
answers
62
views
How to handle memory issue in Heroku?
I went through this article https://help.heroku.com/TWBM7DL0/how-do-i-measure-current-memory-use-and-max-available-memory-on-a-dyno-in-a-private-space
to learn about How do I measure current memory ...
-1
votes
1
answer
55
views
How to decrease the time for timed out in Heroku?
I am currently using an app on Heroku that utilizes several dynos. Unfortunately, I've encountered an issue where these dynos are becoming idle, unresponsive, and only terminate after 24 hours. I am ...
0
votes
1
answer
135
views
mTLS on Heroku with Rails
We currently host on Heroku and we need to implement mTLS in front of our Rails app. What is a good strategy to achieve this?
It seems like we need reverse proxy which knows how to deal with mTLS. ...
-1
votes
1
answer
410
views
Why is my naked domain working when I only configured the www?
I set up my domain on heroku/cloudflare. In my heroku settings, my domain is listed as www.my-domain.example. While testing and iterating on configuration, I removed the other entry I had previously ...
0
votes
0
answers
546
views
Heroku Redis upgrade from free to paid stuck in "preparing (plan upgrade in progress)"
I'm trying to upgrade Heroku Redis from the free hobby plan to a paid version but it seems eternally stuck in in "preparing (plan upgrade in progress)".
What's the best way to deal with this?...
2
votes
0
answers
176
views
Web server to run an executable binary using Heroku
I'd like to create a web server which serves REST APIs. Most of the functionality on the server side already exists in an executable binary or some shell script. So instead of rewriting this ...
0
votes
1
answer
842
views
Send email from Heroku server using gmail account and PHPMailer
I have a Heroku app which has a php script that send out an email. The email sent always goes to spam.
Let's say the heroku app is mywebsite.herokuapp.com and my email is [email protected]. Based on ...
0
votes
0
answers
506
views
Sometimes POST request from client to backend does not contain body
We run 2 different apps on Heroku. Both have an API written with PHP and Symfony and run through an Apache. One of the frontend clients is written with Vue the other with Angular.
In the API we ...
1
vote
1
answer
4k
views
Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch: Rasa chatbot Heroku
I have been trying to deploy a bot on heroku for days now without success. My bot has an action server hosted on another app. The main bot contains a Dockerfile with the content below:
# from rasa ...
1
vote
0
answers
154
views
How much traffic can a heroku page handle?
I have recently deployed my rails website with Heroku.
I am currently on the paid Hobby Dyno.
My web page consits of a log in function, 13 five minute long sound files, a few images and a bunch of ...
1
vote
0
answers
35
views
How to enable MultiViews on Heroku?
I'm trying to enable MultiViews on an Heroku site, but I can't understand how to do it.
When I do it on servers I control, I do it on the httpd.conf file, but here I have to use it in a Directory ...
2
votes
1
answer
143
views
How to properly add a domain to Heroku
I'm a software developer and I'm looking to buy a domain so I can host my current and future projects on. I've done research, but as I'm still not sure if I understand this correctly, I am asking here ...
1
vote
0
answers
1k
views
Rails app login with devise behind Nginx reverse proxy
I have a rails app deployed on heroku and I would like to use nginx reverse proxy to access it on a subdirectory. Almost everything is working except for the devise login/signup & this is only an ...
0
votes
1
answer
436
views
Heroku.yml is not getting bash script
I was trying to deploy my backend in heroku with docker. Here is my heroku.yml file
setup:
addons:
- plan: heroku-postgresql
as: DATABASE
build:
docker:
web: mymeds/Dockerfile
...
0
votes
0
answers
427
views
Wiring up Heroku custom domain config to AWS Route 53 for a GoDaddy registered domain
I am trying to setup custom domains for my SSL enabled Heroku application on AWS Route 53.
I have added custom domains (the root and www sub domain) to my heroku application via the CLI. The custom ...
0
votes
1
answer
399
views
Multiple Heroku H27 HTTP 499 from Facebook and Cogent ASNs
I'm not sure if it is relevant but I have a tiny app on Heroku on free dynos and it requires extra time to spin up when requested (~20 sec).
My logs have a number of H27 / HTTP 499 warnings in heroku/...
0
votes
1
answer
438
views
Cannot connect SSH from remote server
I'm having trouble connecting sFTP vis SSH from my cloud server. I am using a proxy to connect and have allowed the IP addresses. When I connect from my local server using the same proxy, the ...
0
votes
1
answer
138
views
Deploy node app locally in Australia [closed]
I developed a web application for a company. It's a node app -- basically, all it needs is npm install and npm start to run. The app does need Puppetteer to run. DB wise, I am using JawsDb which can ...
1
vote
1
answer
4k
views
flask, gunicorn (gevent), sqlalchemy (postgresql): too many connections
I created Flask WSGI-application which uses gunicorn as WSGI-server, for DB it uses PostgreSQL through Flask SQLAlchemy extension. That's all hosted on Heroku.
gunicorn configuration
number of ...
0
votes
0
answers
300
views
When I type www.agavepv.com into the browser, why does it show up as not secure? Heroku SSL ACM
My situation:
If I type https://www.agavepv.com or agavepv.com the site shows up as secure with the lock. However, if I type the address www.agavepv.com it shows up as not secure. What is wrong with ...
1
vote
0
answers
47
views
Switching database URL on Heroku between two AWS RDS instances has no effect
I am running a django app which connects to heroku. My database is configured to use AWS RDS.
Now I needed to change db instances. So I created a new instance on AWS and changed the config vars in ...
0
votes
1
answer
760
views
Heroku app.json configuration not working for review app
Below is my app.json:
{
"environments": {
"review": {
"addons": [
"heroku-postgresql:in-dyno"
],
"scripts": {
"postdeploy": "php artisan ...
1
vote
1
answer
370
views
Heroku Godaddy site only loading using mobile data
I have added the Heroku address using my Godaddy DNS account as a CNAME pointing to Heroku (DNS management>Records>Add). I have configured it with the name www and it uses the hostname that Heroku ...
1
vote
2
answers
596
views
Https version of web application is not working but http is?
I am using Heroku to host which provides me a nice https: address:
https://some_random_string.herokuapp.com/
I use Namecheap to setup my DNS and I do this using:
CNAME Record | www | www.my_domain....
0
votes
0
answers
176
views
DNS records added based on info provided by Heroku, but URL still not resolving correctly
Awhile ago I registered the domain name www.testapp.id with my registrar (Namecheap). The application I want it to point to is a Rails app hosted on Heroku. I'm following the instructions on Heroku's ...
0
votes
0
answers
721
views
Control heroku restarts
I have an app (online board game) on heroku free hosting. It takes 1 web dyno (NodeJS server) and so far it works fine except one thing: Automatic Dyno Restarts
It doesn't seem to respect 24h rule (...
0
votes
1
answer
596
views
Should I Change heroku app location from US to regional? If yes how to do it?
I have a basic application which was created with heroku but at the time of creation there was no mention about regions. As a result my application region is US instead of India.
Are there any ...
1
vote
3
answers
451
views
Azure blobs vs Heroku type storage
I am making an app that will receive images and then needs to store them in a SQL DB using Nodejs. I need to store a lot of images and query them a lot as well (I need to query the db to see if that ...
0
votes
0
answers
436
views
Why do I get a Too Many Redirects Error on my GNU Social Heroku deployment?
I'm using heroku, apache, php and gnusocial. My plan is to deploy a GNU Social instance for my family.
I fiddled with the composer.json file, to where it looks like this:
{
"name": "jmm/me-and-...
1
vote
1
answer
177
views
Heroku + AWS Lambda Hybrid
I currently have a web app running fully on Heroku.
This web app needs a lot of computing power and access to several external APIs during short time periods, and nothing at all if there is no ...
0
votes
1
answer
164
views
Terraform Heroku Automated Certifcate Management
I cannot find any documentation about Heroku's automated certificate management. The terraform documentation for heroku_cert only refers to certificates which are generated manually:
# Create a new ...
3
votes
0
answers
94
views
Heroku CI: Run tests only on pull requests
I've used Travis for some time, and are now experimenting with Heroku CI for a one of our Rails projects. It works well, but it automatically runs the tests for all pushes to the GitHub repo.
Ideally,...
0
votes
1
answer
731
views
Heroku Django App Very Slow
I have a Django app deployed on Heroku and it is VERY slow!
I'm making small queries and I'm waiting a long time (10-15+ seconds to load 12 items (a 41KB request).
I'm using the Insomnia tool to ...
-2
votes
1
answer
589
views
Point own subdomain to Heroku app through HTTPS
I have a domain, let's say mywebsite.com bought on NameCheap.
I have pointed it's primary and secondary DNS to my hosting provider, so I can view my website and manage the subdomains there.
I also ...
0
votes
1
answer
633
views
How to redirect a Heroku subdomain to an external VPS?
I have the following setup:
Wordpress blog hosted on a VPS (ip: 123.44.55.66)
Heroku app live at (my-app.heroku.com)
Domain name bought from Namecheap (www.my-app.com)
Heroku domain is already setup ...
3
votes
1
answer
2k
views
Nginx reverse proxy for gunicorn - trouble passing basic auth credentials to server
I've setup nginx as a reverse proxy to gunicorn for a django site running on Heroku. I'm using Anymail for my mailing list, and it needs to receive basic auth credentials for webhooks (I don't ...
0
votes
0
answers
661
views
Bypass single subdomain on CloudFlare & forward it directly to Heroku with SSL
What is the best way do bypass single subdomain (we use their proxy for caching purposes but don't want it on specific subdomain to speed up some requests). Final server is hosted on Heroku.
We like ...
1
vote
2
answers
854
views
Second level domain names on Heroku with Cloudflare and TLS support
I want to setup second level domain name e.g. load.staging.mydomain.com on Heroku & Cloudflare.
http://load.staging.mydomain.com (without TLS) works but https://load.staging.mydomain.com does not....
0
votes
1
answer
2k
views
How to flush mysql remote hosts cache?
The mysql instance is a third party Heroku addon: JawsDB.
Host:
s554ongw9quh1xjs.cbetxkdyhwsb.us-east-1.rds.amazonaws.com
Command:
mysqladmin -h s554ongw9quh1xjs.cbetxkdyhwsb.us-east-1.rds....
0
votes
1
answer
4k
views
Heroku and Godaddy don't want working together
1) I have an app on heroku.com, code-w.herokuapp.com (works fine). 2)I have a domain, that I bought: gamakers.org. 3)I have done all that described in here: https://stackoverflow.com/questions/...
1
vote
1
answer
2k
views
Is it a bad idea to use google cloud storage on heroku deployed projects?
So my app is deployed on Heroku and I'm using a google cloud storage bucket to handle uploads.
Wouldn't communication from my app to google cloud platform be slow compared to using S3 given the fact ...
2
votes
1
answer
227
views
Parse-server/Heroku email account verification not working
I am trying to implement the email verification system on Parse-Server (/Heroku), when a user account is created; so that the user can confirm his/her account creation.
Things are working well for ...
1
vote
0
answers
813
views
How to do a path based reverse proxy with Heroku?
We have a Rails application running on Heroku on www.example.com.
Now for some paths we want to route the traffic to a completely separate Wordpress instance (e.g. for www.example.com/blog and www....
1
vote
0
answers
1k
views
OVH and HEROKU DNS redirections failing for root
I currently have a domain at OVH (let's call it mysite.com) which is setup by OVH with a bunch of different CNAME for different subdomains like :
smtp.mysite.com CNAME mysite.com
imap.mysite.com ...
2
votes
1
answer
74
views
Heroku - Distributing monolithic Rails app
We have a pretty sizable monolithic Rails app that has a few functions (in parenthesis is the estimated % out of the total codebase):
Marketing site when users are not logged in: homepage, additional ...
-1
votes
1
answer
371
views
Nginx config best practises for reverse proxying 3 different type of apps
I'm struggling at finding "best" (I know this is subjective, I'll explain in a minute) config for a nginx server.
My server is responsible of :
Reverse proxying from 3 apps
Delivering ssl ...
0
votes
1
answer
3k
views
heroku redis error : NOAUTH Authentication required
I wanna deploy my django project to heroku. My project uses channels so I need to set up ASGI based environment.
I have two installed add-ons in heroku app. One is Heroku-postgresql and the other is ...
2
votes
2
answers
9k
views
Get static IP address for Heroku app
I want to make a domain point to my Heroku app, so I am trying to create an A record that targets myapp.herokuapp.com.
The problem is that the domain provider requires an IP address, and I cannot ...
2
votes
1
answer
3k
views
.htaccess remove php file extension not working only on heroku
So I have the below code in my .htaccess file in my local apache XAMPP server in the root directory and it works 100% correctly. However, when I try to deploy to Heroku it does not work. I have tried ...
0
votes
0
answers
760
views
Why my Gandi apex/naked/bare domain doesn't work with my Heroku app?
Here are my current settings:
Heroku
myapp:~/workspace/myapp (master) $ heroku domains
=== cute-name-99999 Heroku Domain
cute-name-99999.herokuapp.com
=== cute-name-99999 Custom Domains
Domain Name ...