Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
12 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
10 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
9 views

Heroku logging on papertrail gone missing?

I have a ruby app on Heroku that crashed. I'm trying to track down the logs to figure out why. When it crashed, after I rebooted, I looked at the logs, but it deleted the logs from before the reboot....
0
votes
0answers
16 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 ...
0
votes
0answers
18 views

heroku - how to log all http traffic?

I'm trying to diagnose an issue with a Django app running on a Heroku dyno. I want to be able to inspect all http requests and responses, both incoming and outgoing. I want to do this at the system ...
0
votes
0answers
4 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
43 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
11 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
0answers
2 views

Heroku Process Types

I am aware that historically Heroku has only enabled the web process to be connected to by the routing layer but the blog post at https://blog.heroku.com/modern-web-app-architecture seems to indicate ...
0
votes
1answer
74 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
175 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
12 views

How to setup cloudflare with 2 domains pointing to one heroku instance

We have 2 domains (firstdomain.com & seconddomain.com) which points to single heroku instance. We use Full SSL option on both domains (CF settigns). Now we have to upload certificate from ...
0
votes
0answers
61 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
86 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
0answers
15 views

Is it Possible to Connect Digital Cloud Server as Middle Ware between Heroku and Server

I need help to solve a particular problem. I have an application on Heroku that needs to access an API that is not live, but behind a firewall. The owner of the API instructed that I should connect ...
0
votes
0answers
42 views

Configure custom domain on Heroku app without CNAME or ALIAS [duplicate]

I have an application deployed in Heroku and, when trying to configure the custom domain, I see that my domain manager doesn't allow CNAME or ALIAS for root domains, only A with a static IP. I don't ...
0
votes
0answers
318 views

GoDaddy Naked Domain using Heroku app

I have successfully linked custom domain from GoDaddy to use my application that is hosted on Heroku. But, if I try accessing the domain without entering www (naked) the domain is not working.(The ...
0
votes
1answer
119 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
701 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/...
0
votes
0answers
103 views

Custom domain name Heroku, domain name OVH, with SSL

I'm trying to migrate my reverse proxy from a VPS to Heroku. The goal, final and ideal is to have the following : Not touching Apex zone (we have mx and other stuff that I just don't want to touch, ...
0
votes
1answer
405 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
82 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
180 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....
0
votes
0answers
384 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
58 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 ...
0
votes
0answers
58 views

How to point a specific buildpack to a specific folder on a Heroku project?

I have a project folder with the folders backend (Rails 5 API) and front-end (ReactJS) within it which I want to push/deploy to Heroku. I've set buildpacks for both nodejs and ruby on the project (...
-1
votes
1answer
80 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
317 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 ...
0
votes
2answers
2k 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
631 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
234 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 ...
0
votes
1answer
421 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
53 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
2
votes
2answers
1k views

Install wkhtmltopdf on heroku

In order to run wkhtmltopdf on heroku it is required to setup a buildpack that download and install wkhtml after the main app deploy. All the available buildpacks are pretty old and point to a ...
3
votes
1answer
596 views

Put Nginx in front of Heroku app to deny access to it by IP

We have Heroku app on http://random-heroku-app.herokuapp.com and access to it(using HTTPS) must be limited to just 2 IPs. Nginx with it's allow function is perfect here. But is it possible to deploy ...
1
vote
1answer
481 views

nginx reverse proxy redirect between two heroku server

I am going to implement a nginx reverse proxy. There are two servers in heroku, one named myapp.herokuapp.com and the other named blog.herokuapp.com. The domain is www.mydomain.com and it links to my ...
0
votes
1answer
890 views

Express.js fails to serve all static files on heroku

there, I have a little problem with node.js and express on heroku. I have a node.js server that loads up my index.html page and other resources: process.env.PWD = process.cwd(); var express = require(...
1
vote
0answers
522 views

Heroku SSL redirect to www.example.com with AWS Route 53 and Cloudfront

Current Situation example.com == examplecom and so on because of spam I've a Domain examplecom on GoDaddy and a SSL cert for it. The real application is hosted on Heroku at exampleherokuappcom. I ...
1
vote
1answer
275 views

Site serves blank page after changing A record (godaddy forwarding to heroku app)

I have a domain from GoDaddy that I'm forwarding to a heroku app. I had it set up so that in my domain "settings", forwarding with masking was set up, forwarding to the heroku app URL. In my "A" ...
0
votes
1answer
165 views

how do i set up a www. CNAME with a heroku ssl which is not a wildcard

I have a website foo.com which uses heroku expedited SSL which has a SSL certificate registered to https://foo.com. I would like a request to www.foo.com/any/path to render https://foo.com/any/path ...
0
votes
1answer
712 views

Comparing Heroku Postgres and Amazon RDS

I'm currently trying to figure out what type of database hosting I should use for a new project. Since I'm not the best at managing and configuring servers, Heroku is my go-to PaaS. However, someone ...
0
votes
0answers
265 views

Can't request data with web client from parse server

I have an iOS app and a javascript web client. The iOS app is working as expected but with the web client I always get this error message: Failed to load resource: the server responded with a status ...
1
vote
0answers
766 views

Namecheap domain not masking URL when redirecting to Heroku

I have a domain with Namecheap that I am attempting to redirect to a Heroku app. It currently DOES redirect, but does not mask the URL. (So visiting www.customdomain.com redirects to app-name....
1
vote
0answers
158 views

Restricting an API hosted on heroku to only be able to talk to other heroku instances

I have two apps. One of them talks to the world, but needs some data from an internal API we host elsewhere (on heroku). I was thinking about security. Currently, we have token authorization working ...
1
vote
1answer
408 views

How instant are Heroku IP changes with Cloudflare CNAME flattening compared to regular CNAMEs? How likely to happen?

I'm considering Cloudflare's CNAME flattening that allows a rough equivalent of CNAMEs on apex domains. My impression of that article is that anyone who queries them sees it as an A record (with a 5 ...
1
vote
0answers
351 views

Haproxy - using monitor-uri on Heroku

We're using haproxy on heroku to route between all our various micro-services (also on heroku) so we only need one url in the configs. I'm trying to use this trick: http://discourse.haproxy.org/t/...
2
votes
1answer
649 views

Can't login to heroku through firewall

I'm trying to connect to heroku via CLI (using heroku's Toolbelt) and I'm unable to do so. When I type my credentials, heroku replies with: Post https://api.heroku.com/login: x509: certificate signed ...
1
vote
1answer
449 views

How common is it to block outbound TCP connections or restrict to known external service ports (ie. 22, 80, 443, 3306, etc.)? [closed]

I am building a service that requires clients to connect to it via a TCP port. It will be accessible over the Internet at some known port (say 9999). So, the clients would need to open a TCP ...
0
votes
1answer
626 views

How to mitigate DOS attack on Heroku

I am hosting one of the projects on Heroku Standard 2x dynos plan. Everything was working alright until recently I started to get notifications from our uptime checker that website is down. After ...
1
vote
0answers
347 views

When will deleted data be permanently gone from Heroku postgres continuous backups?

According to Heroku Postgres Data Safety and Continuous Protection data is backed up continuously into Amazon S3 buckets. If I delete a bunch of rows, for example, all confidential data from 1 ...