We changed our privacy policy. Read more.

Questions tagged [heroku]

The heroku tag in Salesforce Stack Exchange should be used for questions pertaining to the use and troubleshooting of the heroku service itself. Questions on heroku-supported languages should be directed to one of the heroku language tags on stackoverflow.com.

Filter by
Sorted by
Tagged with
-1
votes
1answer
39 views

Heroku: Your account has reached its free tier limit

Regarding my dynos expiration, currently using the free tier. I got an email asking me to verify credit card for getting additional dynos for the app to keep running I can't understand any of that ...
2
votes
1answer
586 views

Setting a cookie in a canvas app?

I have a Java application that sets a cookie: Cookie keks = new Cookie("Demo","WeLoveCookies"); keks.setHttpOnly(true); keks.setSecure(true); keks.setPath("/"); response.addCookie(...
2
votes
0answers
12 views

Deploying custom Docker image w/ gunicorn causing non-reproducable errors on Heroku

TL;DR I'm attempting to deploy snekbox via a docker image to Heroku, it seems to have issues installing requirements (especially gunicorn). The specific repo I'm attempting to install is snekbox: ...
0
votes
0answers
21 views

Difference between Salesforce Connect and Heroku Connect

Can someone explain the difference between Salesforce Connect and Heroku Connect. In the below image why they have to use both Salesforce connect and Heroku Connect. Cant they just use Heroku connect ...
1
vote
1answer
24 views

Django Heroku: remaining connection slots are reserved for non-replication superuser connections

I recently deployed an app to Heroku using Postgres free tier as database. I am using Django 3.2 Everything was working fine until I started getting a mail with the following error: Internal Server ...
2
votes
1answer
30 views

Why is Heroku stuck on installing node modules on initial build?

Question: Why is Heroku stuck on installing node modules on the initial build? Summary: I have tested this with both Heroku and Netlifty. Both encounter the same issue. I am able to run npm run build ...
1
vote
0answers
20 views

Trouble deploying with Heroku

I've posted the same question on Stack Overflow, but I haven't had success. You can see the answers and my responses to them: https://stackoverflow.com/questions/68992194/heroku-deployment-difficulty-...
1
vote
1answer
38 views

Error Building Environment when updating Node.js

When I update node.js to 16.8.0 on an existing program heroku is unable to build the environment and throws the following error: npm ERR! code EINTEGRITY npm ERR! sha512-uDE+...
1
vote
1answer
21 views

Heroku process.env.PORT variable gets set to an outofrange value

I'm trying to build a webproject that works fine on localhost locally, but doesn't work when I upload it to heroku. I've added a Procfile with the text: web: npm start which correctly runs node index....
0
votes
1answer
24 views

What are the network limits on each Heroku Dyno?

Using NodeJS, I am downloading and serving files to the user. Locally, this is done quickly (within a second or two), whereas on heroku, it takes up to 15 seconds for the file. Is there any way to ...
0
votes
1answer
547 views

Can't connect to MySQL on heroku

The connection to my ClearDb via WorkBench on my local computer or via PHP (on local comp too) works fine. But it doesn't works after deployment my PHP program on Heroku - if I run Deploy/View it ...
1
vote
1answer
980 views

CORS issue with lightning out used in external website

I have deployed a nodejs application on Heroku, it has one lightning component embedded using lightning out. But I am getting the below error: Cross-Origin Request Blocked: The Same Origin Policy ...
0
votes
1answer
54 views

Application Error: JavaScript heap out of memory

My Heroku app simply doesn't load when deployed (works fine locally). I'm only using a free dyno to build it, but reluctant to upgrade if I don't know that upgrading will fix it or even what tier to ...
1
vote
2answers
212 views

Heroku container push fail: "no basic auth credentials ▸ Error: docker push exited with Error: 1"

Once again, what worked perfectly three days ago fails today. heroku container:login Login Succeeded . . docker login . . Login Succeeded . . heroku container:push web -a blah === Building web (/...
0
votes
0answers
511 views

Error: Cannot read property '0' of undefined while deploying on Heroku

I developed an Angular 10 project and prepared my package.json file to deploy on Heroku. You can see the package.json: { "name": "rehabsoft-frontend", "version": &...
0
votes
0answers
17 views

Subdomain access failure from Netregistry (Australian domain register) to Heroku app

My domain registry NR (netregistry.com.au) supports CNAME records for my www."mydomain".com subdomain. A and CNAME records are confirmed as propagated via https://www.whatsmydns.net/ and ...
0
votes
1answer
594 views

Is it possible to accept multiple data extensions for Journey Builder Custom Activity?

I have an Heroku app that binds to a specific Data Extension: config.json "inArguments":[ { "firstName":"{{Contact.Attribute.__your-de-name__.FirstName}}"}, { "lastName":"{{Contact.Attribute....
3
votes
2answers
723 views

"App must be invoked via a signed request" shows in Canvas Previewer

I have connected App and added external link of Heroku to show as Canvas App. I have set the location Chatter Tab. In the developer account, my external application is accessible. It has set "Admin ...
0
votes
0answers
35 views

Is using multipart transfer via Apex realistic for large file transfers from say DropBox to a different Salesforce org?

I want to transfer some content from Dropbox to a Salesforce org using an admin app running in a different Salesforce org. My first thought was for the admin app to call out to a service running on ...
0
votes
1answer
11k views

Error when I am trying to run: git push heroku master

I am trying to push my nodejs project to my Heroku app. The code can be found here: https://github.com/birgirp/thehole. The error I get is the following: $ git push heroku master Enumerating objects:...
2
votes
1answer
29 views

javascript fails on Heroku, but fine locally

My webapp has a little algo to swap images on mouseover. Behaves as expected on localhost, both when run at command line and when run as a container. However, once deployed to Heroku, the algo fails -...
0
votes
0answers
64 views

Changes in Heroku. How to continue having free Cloudflare SSL on free Heroku dynos?

Heroku email from today: When an app is migrated to the new infrastructure, its default appname.herokuapp.com, DNS records, and any haiku.herokudns.com custom domain records are modified to point to ...
2
votes
3answers
2k views

Getting "Access to sendgrid.com was denied" (HTTP ERROR 403) trying to access sendgrid dashboard

I recently added the Sendgrid add-on to my (free tier) Heroku app and now when I click on it on the add-ons page to open the dasdhboard, I get an error: I tried opening it with heroku addons:open as ...
0
votes
0answers
78 views

heroku-buildpack-apt; Unable to locate package

I am using the buildpack located at https://github.com/heroku/heroku-buildpack-apt.git to install required packages using the Aptfile. Everything worked fine for a while, but now every package gives ...
0
votes
0answers
41 views

Postgres Request Timeout: H12

I am running a node application which uses ejs templating engine. I am using pg & pg-format library for executing queries. I have created connection using DATABASE_URL. The application is running ...
0
votes
0answers
59 views

Dash/Flask python app returning R15 out of memory error at 100% of the free dyno memory

Since 3 days ago, my dash app is crashing with R15 out of memory error, after reaching 512 MB memory usage (100% of free dyno). It was running for several months without any issues at 180%, and ...
1
vote
0answers
67 views

Setting up AWS Route 53 to run Heroku app

I have a domain registered at AWS and an app running on Heroku. I am trying to get AWS Route 53 and DNS records set up correctly without success, and only get the "This site can’t be reached"...
0
votes
0answers
43 views

Deploy jar file with parameters on Heroku

I am trying to deploy a jar file on Heroku that receives two parameters. For this I do the following: heroku create appname heroku deploy:jar rest/target/rest-1.0-jar-with-dependencies.jar But I get ...
0
votes
0answers
26 views

vaadin heroku git deployment with procfile

I tried to set up a vaadin app to heroku with the help of the heroku documentation: https://devcenter.heroku.com/articles/java-webapp-runner Everything is fine until "Deploy your application to ...
1
vote
0answers
2k views

Getting a 404 error while trying to connect backend Api from the Heroku deployed Angular Api

I have successfully deployed my angular app onto Heroku. I have implemented the proxy.conf.json file to connect to the Backend API (which is also deployed in Heroku and its a Java JAX-RS REST API) and ...
1
vote
0answers
132 views

Suddenly my heroku application can't connect to Postgres. (It seems that the host of the DB server has changed.)

I'm running an application using Heroku's free plan. The application worked fine for more than half a year, but suddenly on 2021/2/24, it couldn't connect to DB (Postgres). I tried to access the DB ...
0
votes
0answers
375 views

Disable TLS <1.2 with Spring Boot (embedded Tomcat Server) + Heroku

I'm trying to disable TLS <1.2 (so disable TLS 1.0 & 1.1) on my Spring boot (v. 1.4) app which is running on Heroku. This app integrates with Salesforce so for security reasons the app (which ...
0
votes
1answer
83 views

How to store/process a JSON payload in salesforce which contains greater than 1,638,400 characters

We have a NodeJS application which receives & sends data to Postgres database. The Postgres database is in sync with salesforce object through Heroku connect. The JSON that we need to send to ...
0
votes
1answer
28 views

Launch JavaScript script from auto Process

The requirement is to build PDF in an automate process on records. My solution is to build kind of API on Heroku that will render PDF using a external Framework. I am wondering if there is any way I ...
0
votes
0answers
11 views

how to do ZAP scan on Heroku app?

In my org am using the heroku postgress app and cleared the security review using checkmark and when submitted I received an email to verify the heroku postgress using either chimera or zap.
1
vote
0answers
432 views

Trouble with Heroku env vars getting passed into docker container

Summary: I have added environment variables to the "Config Vars" section of my Heroku project. The project is a dockerized create-react-app project. I am able to deploy the app but I have ...
0
votes
1answer
91 views

Heroku scheduler unreliable and runs randomly instead of scheduled time

I am trying to deploy a basic python script, which needs to be run at a gives schedule, collect data and write to a file. When i schedule to run this every hour, the Heroku scheduler is running it ...
0
votes
1answer
38 views

heroku db rows accidently removed: is it possible to restore it?

I deleted all rows in my table by accident for my hobby dev (free) Heroku app. Is it possible to restore my db rows? Thank you!
-1
votes
1answer
450 views

Why is my music bot running into error and is stopped by Discord?

Maybe I can find answers to my question here in the community. I run a somewhat more complex music bot and this got set up on a fresh server today. Problem I've been using Heroku for this bot for a ...
0
votes
1answer
222 views

Error when deploying discord.py bot to Heroku: pathspec 'rewrite' did not match any file(s) known to git

so when I'm trying to deploy my discord.py bot to Heroku, it shows following error when executing the last command: > error: pathspec 'rewrite' did not match any file(s) known to git I already ...
2
votes
1answer
414 views

Creating a full-stack heroku app with multiple workers on a hobby dyno

I have a heroku hobby dyno and I am creating an app that would need to perform a few tasks: Deploy a front-end website Run a scheduled background task to make an API request and update a database (...
0
votes
0answers
42 views

Adding SSL to Heroku free plan

I have a 3rd party SSL certificate I want to install, which the dashboard suggests I can manually configure for free, but that I would need to set it up manually unless using the paid ACM. However ...
1
vote
0answers
23 views

Docker redownloading base image at each deploy (heroku.yml)

My build logs, but the important bit below: aac6a114e757: Pull complete Digest: sha256:48b6801235e4179dec2427bd57853239553ea8bba20fba496df219469370b11c Status: Downloaded newer image for mhart/...
2
votes
1answer
207 views

Heroku installs wrong JDK version

I added system.properties file with the content java.runtime.version=11 to my application like described here, committed the changes and pushed afterwards with git push heroku master unfortunately, ...
0
votes
0answers
94 views

Heroku Error: Response code 403 (Forbidden)

My Code, I use in my localhost it works well ,but if heroku it will always saying 403 forbidden,bad network const translate = require('translate-google') translate(args.join(" "), {to : 'zh-...
0
votes
0answers
16 views

Not able to establish a connection with Heroku app from Salesforce using Salesforce Connect

I am trying to establish a connection between Salesforce and Heroku to perform CRUD operations via External Objects. For this, I created one app in Heroku : https://testwithsfconnect.herokuapp.com/ I ...
7
votes
2answers
9k views

Salesforce DX CLI - Connect TIMEDOUT

None command is possible to execute on DX CLI, from my company network. It returns: ERROR running force:org:open: connect ETIMEDOUT 13.108.249.193:443. I know that DX CLI is based on Heroku and ...
0
votes
1answer
22 views

Cloning .json files on python app

I have an issue of Heroku only cloning .py files but skipping .lock and .json ones. The files are necessary for my python script. Is there any reason why deploying from GitHub would cause it? Update, ...
3
votes
1answer
79 views

CDC Not working after 24 hours

Was doing some testing with Change Data Capture and Heroku and now I am not receiving any events. This is against a brand new Developer Edition (DE) org. However, if I switch my connection to another ...
0
votes
1answer
101 views

I can't login into my sendgrid account with Heroku's Username and password

I had deployed my Rails project through Heroku. Recently, I decided to add mailer to that app and deployed the master branch. In order to send a email, I installed SendGrid add-on and followed the ...