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.

Filter by
Sorted by
Tagged with
-1
votes
0answers
13 views

Add site-specific redirects in nginx on Heroku

I’m using Heroku to host a PHP-based application. I’m onboarding a website so need to set up 301 redirects between the old site’s URL structure and the new URL structure. Reading Heroku’s docs, it ...
0
votes
0answers
25 views

When is it necessary to use PGCrypto when developing a Django App with Postgres and publishing to Heroku?

Is it necessary to use PGCrypto to encrypt fields in our Django app? I ask because on the site it says that the data is encrypted at rest in an S3 bucket? Would we be covered then, in terms of data ...
1
vote
0answers
23 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 ...
0
votes
0answers
12 views

Redeploy after using a Heroku Button

When using Heroku connected to a GitHub, one can easily re-deploy by simply clicking on "Deploy Branch" But when an app is created from an Heroku Button... https://heroku.com/deploy?...
2
votes
1answer
76 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
0answers
184 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
1answer
52 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
0answers
120 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
0answers
54 views

POST method call in nginx

I want to use NGINX JS module in NGINX for using a split join capability. One request that comes from client has to be split and forwarded to multiple backend servers. Once the response comes back to ...
0
votes
0answers
49 views

Django and Nuxt hosting with DigitalOcean

I have a django application which runs a REST framework API which is consumed by a separate Nuxt (Vue) application for the frontend. The django app needs a postgres database and I have a celery ...
0
votes
0answers
24 views

Slowdown in Django/Postgres app after deploy on Heroku

Our app is a fairly standard Python/Django/Postgres app running in Docker on Heroku. Our problem is that when we do a new release we see a significant slowdown lasting about 30 seconds up to a minute. ...
0
votes
1answer
53 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
0answers
226 views

How to get heroku metrics into prometheus?

We have a diverse infrastructure. Historically, frontends got deployed to heroku, while backends run on other cloud infrastructure. We have a prometheus installation for monitoring the backends set up....
0
votes
1answer
95 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
1answer
110 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
0answers
1k 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
0answers
117 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
0answers
33 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
1answer
365 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
1answer
172 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
2answers
218 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
0answers
47 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
0answers
485 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
1answer
166 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
3answers
246 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
0answers
213 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
1answer
88 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
1answer
87 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 ...
0
votes
0answers
134 views

Fixing broken SSL between Cloudflare and Heroku

Having spent three days and read dozens and dozens of blogposts and articles and tried every possible combination of CNAME records & target URLs, I still cannot get my Heroku app working with my ...
3
votes
0answers
61 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
1answer
542 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
1answer
226 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
1answer
407 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
1answer
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
0answers
373 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
2answers
486 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
1answer
829 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
1answer
3k 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
1answer
1k 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
1answer
170 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
0answers
523 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
0answers
864 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
1answer
66 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
1answer
257 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
1answer
1k 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 ...
1
vote
2answers
6k 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
1answer
2k 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
0answers
533 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 ...
1
vote
1answer
2k views

Heroku Whitelisting

We have a Heroku Rails app that needs to access a very large Elasticsearch cluster. We have looked at using Heroku Elasticsearch services such as Bonsai, but they grow in price very rapidly. So we ...
0
votes
0answers
63 views

Heroku cli give an error on login

I'am install heroku cli and it show me error on login fork/exec /home/evgeny/.local/share/heroku/cli/lib/node: no such file or directory Is there any way to fix it? OS: Fedora 25

1
2 3 4 5