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.

learn more… | top users | synonyms

0
votes
0answers
7 views

How come Heroku PHP buildpack's Apache is using almost no memory

When using Heroku's PHP buildpack, I check ps aux: 23438 25568 0.0 0.0 119600 48 ? Ss Feb06 0:32 httpd -D NO_DETACH -c Include ...
-1
votes
0answers
5 views

How to serve content from another domain on a local sub folder [on hold]

I have a nodejs express website hosted on heroku. I want to have a sub folder such as example.com/blog mapped to blog.sample.com. I don't want to do a URL forward. I want the url to stay ...
-3
votes
0answers
28 views

Automatically Running a Script On a Server? [on hold]

Background I have a few javascript scripts that I'd like to automatically run at a certain time on a server (e.g. I'm thinking of using Heroku). These scripts essentially add a product of my choice ...
0
votes
0answers
8 views

Heroku H12 (request timeout) errors on dashboard, but not in log

I'm getting a lot of H12 and H15 errors reported on my Heroku metrics dashboard. However they do not appear on the logs at all. The H27 ones do appear, so I know logging in general is working. The ...
0
votes
0answers
18 views

HEROKU php-buildpack but upgrade cURL and LibSSH2 to support SFTP

Im trying to enable my php app to use cURL to do SFTP via a proxy. phpseclib is not an option as it dosn't support proxies for SFTP. I'm using the ddollar/heroku-buildpack-multi to try and "upgrade" ...
0
votes
0answers
7 views

Heroku `local someProcess` dies after printing a newline `\n`

On OS X Yosemite, given the following Procfile: simpleProcess: php seriouslyWtf.php Inside seriouslyWtf.php: <? echo "hello\n"; echo "world\n"; Run the process using heroku local: $ heroku ...
0
votes
1answer
44 views

What's going wrong with my AWS domain?

I registered a domain with AWS, but I have my server at Heroku and wanted to use CloudFlare with it. So I set out to set this up. I now have my nameservers pointing to tim.ns.cloudflare.com and ...
0
votes
0answers
27 views

When a Heroku dyno exceeds its memory quota, what is Heroku's / the dyno's response?

A worker dyno that I have at Heroku occasionally exceeds its memory quota, and of course triggers plenty of Memory quota exceeded entries in my logs. The dyno keeps chugging along though, finishes its ...
0
votes
0answers
80 views

Heroku H12 error logs explanation

I am running a django application on Heroku. This is the procfile web: newrelic-admin run-program gunicorn speedyvenues.wsgi -w 3 --timeout 60 --keep-alive 5 --log-level debug There is request that ...
3
votes
1answer
36 views

Why isn't my Apache reverse proxy working to translate anchor HREF attributes when sent back to the client?

I have # For blog LoadModule proxy_html_module libexec/mod_proxy_html.so LoadModule ssl_module libexec/mod_ssl.so LoadModule xml2enc_module libexec/mod_xml2enc.so SSLProxyEngine on ProxyRequests off ...
0
votes
0answers
47 views

Requesting HTTP API from Elastic Beanstalk causes 503 timeout on Heroku

Got a weird problem on our hands. We're calling a third party HTTP API hosted on Heroku. If we make the request through cURL locally, or we SSH into our Docker container on Elastic Beanstalk and cURL ...
1
vote
0answers
61 views

nginx proxy_pass adds port number to URL

I have a standard Rails app deployed to Heroku. I am using custom buildpacks to install nginx so I can create some rewrite rules and a reverse proxy. I have it mostly working save for one issue. I ...
0
votes
0answers
36 views

Heroku, Github Pages, and GoDaddy — Answer & Explanation Requested

I'm in a bit of an interesting situation. I have two sites that I have deployed in the last two days. The first is my personal website. I have a custom domain name for my site that is linked to my ...
1
vote
1answer
740 views

Heroku Error R14 (Memory quota exceeded) using node.js

I been noticing that our node app runs out of memory after a day or so. The memory is consumed by a job that runs every minute or so, because that is pretty much the only thing going on right now. ...
0
votes
1answer
314 views

Generating a CSR fails with 'routines:RSA_sign:digest too big for rsa' - for heroku

I tried generating a CSR by following Heroku instructions. Specifically openssl genrsa -des3 -out server.pass.key 2048 openssl rsa -in server.pass.key -out server.key openssl req -nodes -new -key ...
0
votes
0answers
12 views

TLD pointing to subdomain of TLD connected to Heroku

I'm trying to point the root of of domain2.com to a subdomain of domain1.com (which is pointing to a Heroku instance). Do I need to run some kind of reverse proxy for this to work? If so, what kind of ...
1
vote
1answer
36 views

Constant server pings

I've got a Python/Django app hosted on Heroku, monitored on New Relic, with logging tracked on Logentries. I've noticed a large amount of logs that are of the form: at=info method=HEAD ...
0
votes
0answers
9 views

Get Heroku user from remote shell

When logging into my heroku shell, is there a way to find out which user I am? So I log into my shell like so: heroku run bash --app myapp Is there any possible way for me to get the email address ...
0
votes
1answer
196 views

Can I use an IAM role to grant my Heroku app access to my Amazon S3 bucket?

Heroku: Using AWS S3 to Store Static Assets and File Uploads suggests using my AWS security credentials to enable my Heroku app to access my Amazon S3 bucket. However, isn't it better practice (as ...
0
votes
1answer
109 views

How to export a Heroku-friendly Postgres dump from Ninefold?

I am trying to migrate my postgres database from ninefold to heroku. The command I'm using to export is: PGPASSWORD=password pg_dump -h ipaddress -p port -U user -d database -Fc --no-acl --no-owner ...
2
votes
0answers
122 views

Heroku and socket.io out of memory

I have a setup with websockets on heroku and every now and then i get a flurry of messages like this: 06:24.591694+00:00 heroku router - - at=error code=H15 desc="Idle connection" method=GET ...
0
votes
2answers
116 views

Root Domain cannot forward to www (Heroku, Cloudns)

My website (http://www.carshare.hk) has a problem with the naked domain. When it is served with the root domain, the server cannot hit anything. But I have followed through the guides from heroku ...
0
votes
1answer
69 views

Transfer enterprise data - tiny volumes - to AWS S3 for Heroku app

What would you suggest is the best option to get "enterprise" data from a client into AWS S3 so we can provide Heroku hosted SaaS? The data volumes are tiny, it's just daily spreadsheet/csv records. ...
0
votes
1answer
90 views

Forward/Redirect request of Elastic IP to Heroku [closed]

I have a hardware with a Elastic IP(Amazon) hardcoded in the firmware(I know, it was a dumb idea, but wasnt my idea). Now I have to forward a request of this EIP(Elastic IP) to a Heroku instance. I ...
1
vote
1answer
401 views

Heroku is not switching certificates after adding custom

I have an app on Heroku and I bought my own certificate, valid for myapp.mydomain.de. I added it to Heroku using their addon, SSL Endpoint. I have a CNAME record which redirect from myapp.mydomain.de ...
0
votes
1answer
30 views

Heroku redirect file to serve from CDN

My Heroku backed app is now serving a certain JS file, but due to high rpms I would like to serve it from my CDN. Is it possible to make a redirect from myapp.herokuapp.com/file.js to ...
1
vote
1answer
77 views

How can I set up a build server that accepts git pushes (Heroku style)?

A lot of services designed for running lightweight apps on clusters (Flynn, Deis, Dokku) are following Heroku's deployment standard of adding a git remote and pushing to it when you want to build ...
1
vote
1answer
2k views

Set $REMOTE_ADDR to real client IP [closed]

I am hosting a WordPress site on Heroku with Nginx. DNS is behind CloudFlare. My WordPress plugins reports Heroku IPs instead of real client IPs. I have the following Nginx rules: location / { ...
0
votes
1answer
125 views

Cannot add dynos on Heroku app after seemingly successful app push

I recently launched an app on Heroku using git push heroku master and got a couple of errors: remote: raise ValueError("Missing distribution spec", line) remote: ValueError: ...
2
votes
1answer
420 views

I can't get https://sendsonar.com working but sendsonar.com and https://www.sendsonar.com work just fine

I'm trying to get our domain - https://sendsonar.com - to go to https://www.sendsonar.com but for some reason this is failing. Here's the curl output: yo@ubuntu-i386:~/Sonar$ curl -kvI ...
1
vote
1answer
296 views

Set MX records on a CNAME domain (heroku app)

I have a heroku app on a subdomain like x.herokuapp.com which is mapped to my domain name via a CNAME record. I want emails to be handled by zohomail so I've tried setting up MX records but these seem ...
-2
votes
1answer
331 views

SSL on Heroku, error add cert: “not valid. The 'Not After' date restriction on the certificate has passed.” [closed]

I purchased a wildcard SSL cert from Gandi.net many months ago, and used it immediately after purchase successfully on other hosting services than Heroku. I now need to secure a new subdomain on a ...
0
votes
0answers
53 views

Domain is not resolved properly

My site is hackertoolbox.com. In Route53, there is a cname record whose value is hackertoolbox.herokuapp.com. My domain uses the right route53 DNS. whois result matches the route53 delegation set. ...
0
votes
2answers
648 views

Redirect to HTTPS and Apex Domain with Nginx location Configuration

I would like to force HTTPS and the apex domain (e.g. https://example.com) in my application through nginx configuration using location blocks. I currently have the following nginx_app.conf file ...
1
vote
1answer
590 views

Getting `HTTP/1.1 505 HTTP Version Not Supported` when using `openssl s_client`

I'm trying to use openssl s_client to send a raw HTTPS request. I type this: $ openssl s_client -connect homebrew.herokuapp.com:443 After it finishes the SSL pleasantries, I type this: POST ...
0
votes
1answer
100 views

Transferring a Heroku app to Domain

I am a relative newcomer to servers and hosting websites so I thought I'd ask a simple question here. To transfer a heroku app to a domain, I looked up the instructions here. ...
7
votes
0answers
353 views

Not seeing Django logs on Heroku

I'm not seeing log entries (at a level of INFO) made by Django in my Heroku logs. This is my configuration: LOGGING = { 'version': 1, 'disable_existing_loggers': False, 'filters': { ...
1
vote
0answers
58 views

Splitting an application across AWS and Heroku

My application is currently 100% managed by Heroku. A few endpoints on the application depend on very slow external resources. Heroku occasionally kills these requests if they hit 30 seconds.[1] ...
1
vote
1answer
1k views

Route 53 Naked/Root Domain Alias Record

Route 53 supports Alias records which use Amazon S3 static websites to dynamically resolve naked domains to their www counterparts using a 301 redirect. I am wondering whether the Alias record will ...
0
votes
2answers
590 views

Correct DNS configuration to use Route 53 for existing domain

we are trying to make our heroku app available under example.com (changed here). I followed the heroku guide for using Route 53 for that (https://devcenter.heroku.com/articles/route-53). However, I ...
4
votes
1answer
799 views

mongo as service error: Cannot determine state of server

I am trying to use mongodb as a service and started with heroku services ie dashboard.heroku.com/apps/scaleqamongo/resources. I tried multiple addons which they call like mongolab, mongohq. I create ...
0
votes
1answer
80 views

Maintaining uptime on heroku

I'm sure this been asked many times before, but I can't find any previous questions here. We had an outage on our Heroku applications the EU last night. What techniques or strategies can we use to ...
1
vote
1answer
270 views

Elasticsearch on EC2, webserver on Heroku // EC2 ports only accessible from Heroku

I have an instance of Elasticsearch facing the internet on an EC2. On the other hand I have my webservice as a Heroku app. I want to secure the Elasticsearch instance and allow inbound traffic only ...
0
votes
0answers
437 views

What does it mean that no cert given is a “domain name certificate”?

I'm trying to add an SSL certificate to Heroku but I'm getting an error: heroku certs:add domain.pem private.key Resolving trust chain... failed ! No certificate given is a domain name ...
1
vote
1answer
141 views

Rsyslog: stopping after 1047 file descriptors opened on a centralized log server using TCP

We have heroku drains dumping to 1 log server. There are a lot of instances (~100) sending their logs to this server using TCP. The Server filters the logs based on hostname and puts them into a ...
1
vote
1answer
159 views

Fasthosts and Heroku

I have an app on Heroku, for which I have pointed a Cname record to both the www and naked domain. However this is creating a problem when people try to reply to our emails from that domain. They ...
6
votes
1answer
18k views

Configure Squid as an HTTPS forward proxy?

Here's some background about my problem: I have a web service running on Heroku, with a dynamic IP address. Static IPs on Heroku are not an option. I need to connect to an external web service which ...
-1
votes
1answer
242 views

Heroku Zerigo DNS Godaddy SSL

I have posted the question on stackoverflow. Someone was kind enough to down-vote and advised to post in here. I'm hoping i'm in the right place. I have followed instructions on the following 2 sites ...
0
votes
2answers
113 views

Redirect https url

My app is served on https://beta.myapp.com (I'm forcing https everywhere) and I now want to change to https://www.myapp.com. I'm wondering how to properly redirect every beta. request to www.. At ...
0
votes
1answer
139 views

Change DNS Handling From Zerigo Without Downtime

Zerigo have just removed their free plan. As a result I need to switch out my DNS handling. The problem is that the site is live, so I need to minimize any downtime. Currently Zerigo handles both the ...