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.

75 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
661 views

Heroku ps:exec cannot connect or ssh into dyno

heroku ps:exec -a homehost-demo Establishing credentials... error ▸ Could not connect to dyno! ▸ Check if the dyno is running with `heroku ps' running ps returns Free dyno hours quota ...
3
votes
0answers
761 views

Canvas App Previewer gives “Cannot POST /” error for Node app

I'm running a node app on heroku that that I am trying to pull into a Canvas App, The Canvas App Preview error simply says "Cannot POST/". When I look at my node server debugger for local host it says ...
3
votes
2answers
660 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 ...
3
votes
0answers
229 views

Salesforce: Angularjs and Heroku

I am folloiwng the tutorial mentioned in the below URL. https://developer.salesforce.com/mobile/getting-started/html5/#angularjs-heroku I followed exactly as mentioned, I am able to OAuth ...
2
votes
0answers
119 views

Creating a nodjs client for salesforce streaming api

I am trying to build a NodeJS app hosted on Heroku to subscribe to Salesforce Platform events. Now the problem is this app will not have any Webpage, just an app which should receive the events from ...
2
votes
0answers
58 views

Heroku - disable SSL termination

I would like to renew, serve and negotiate SSL connections myself, within my application. Is this possible? Currently it seems SSL connections are terminated on heroku's LB, and obviously I would ...
2
votes
0answers
270 views

How to resolve Heroku build error specific to Python 3.8.0

I'm deploying a Python (flask) app to Heroku via the commandline, and after specifying Python 3.8.0 in the runtime I got an error relating to '_ast27' extension I'm not sure what to do with. If I ...
2
votes
0answers
146 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, ...
2
votes
1answer
359 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
73 views

How to synchronize contentReferences from Salesforce to Heroku using Heroku connect

I am trying to synchronize the data from our SalesForce org to Heroku platform using Heroku Connect. I have few custom objects with Rich Text area field, within which there are contentReferences (eg: ...
2
votes
0answers
73 views

Any clue as to why I am not able to use heroku environment variables in my jsforce auth function?

So I'm part of a team working on developing an a web app for our client, who uses salesforce as their database. We are using node.js on heroku to act for the server side code. The front end is angular,...
2
votes
0answers
153 views

heroku integration workbook issue

i was doing the integration workboook, but on Tutorial #3: Update the Heroku App Step #2: Update your Application with a New Branch item #5: i am getting an error. In a browser tab or window, ...
1
vote
0answers
227 views

Heroku push rejected, Failed to install gems via Bundler

I am unsure why my deployment to heroku is failing. could one please advise me. i followed this but no success same error: https://stackoverflow.com/questions/4574176/heroku-push-rejected-failed-to-...
1
vote
0answers
96 views

OSS LWC app on Heroku Css Fails to load

I am trying to run an OSS LWC app on heroku using SLDS via synthetic shadow dom. When I run it locally using heroku local web everything looks great. When it makes all the way to my Heroku site, I ...
1
vote
0answers
77 views

Expose LWC Component on Heroku

I am receiving error while trying to push the lightning component to Heroku,Can someone please help me resolve this
1
vote
0answers
34 views

Heroku custom domain name comes up blank

I found this site through the Heroku help link. My app launches on heroku address... secret-brushlands but when I pointed my domain from my old host to where the app is on heroku I get a heroku page ...
1
vote
0answers
14 views

Heroku not installing latest version of module

I'm using the discord.py wrapper module on heroku. It appears however upon booting the application it never updates to the latest version, even if I change requirements.txt around. Is there a way to ...
1
vote
1answer
110 views

Open Html file from Heroku Bash

I have deployed my Flask python application on Heroku. The problem is that in one line of my python code I must open an HTML file (where some javascript gets executed). Obviously, it locally works in ...
1
vote
1answer
66 views

Please help me to deploy Docker app onto heroku, Steps in the documentation don't work?

As you can see in the screenshot below, I am following the commands according to the heroku documentation to deploy Docker app. Yet I keep getting the response saying No Images to push I am a ...
1
vote
2answers
227 views

Heroku Connect, Sandbox Refreshes and Synced Rows

I have a question regarding Heroku Connect rows and Salesforce Sandbox refreshes. Heroku Connect cares about how many unique rows are synced in a given period. Even if that row becomes unsynced, it ...
1
vote
1answer
81 views

Does Heroku CI support Mongo?

I'm a mentor for Thinkful, we've taught hundreds of students to use Heroku along with mLab and Travis CI. With mLab going away, I'm looking at using MongoDB Atlas instead, and now that Heroku CI has ...
1
vote
1answer
635 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 ...
1
vote
1answer
67 views

Facebook & Twitter API with Symphony on HEROKU Problem

I have a problem with my application. I use heroku config variables in localhost and APIs work well. In heroku server, it doesn't. I use the same variables and I have test them it's working (with ...
1
vote
0answers
92 views

Heroku Connect vs Cache

I want to make some of the data in Salesforce available for my users on the homepage. I could just use Heroku Connect and synchronize the objects or I just build a caching service and load the ...
1
vote
0answers
77 views

Heroku Connect - Able to Handle Recursive Model Fields like Django?

In Django (and other frameworks), I can do the following: class Book(models.Model): prerequisites = models.ManyToManyField('self', symmetrical=False) This forces Django to produce a multi-select ...
1
vote
0answers
152 views

Can we use Lightning Out and Canvas?

I'm wondering if the following is possible. I have an aspx application (App1) that I currently access in SF using Canvas I want to create a Lightning Component that contains that app (lightning:...
1
vote
0answers
228 views

Can we connect many salesforce org, in heroku connect?

We want to transfer 3 salesforce orgs object record to another salesforce org Using heroku connect. What should i do ? i have 3 developer edition salesforce. and free heroku account. Thanks in ...
1
vote
1answer
125 views

Mobile App Developer Guide - Shipify App asking for HTTP POST

I have been working through the Mobile App Developer guide in prep for my App Developer certification and ran into 2 issues when developing the mock apps Shipify and Delivery Tracker. After I step ...
1
vote
1answer
96 views

Sync data including createdby field with Salesforce using Heroku connect

We've a customer portal which is accessible to customers. They can create lead an cases from the portal. Customer has existing native mobile app they wants to replicate lead creation functionality ...
1
vote
1answer
687 views

Accessing Heroku hosted postgres from Mulesoft

Hello I am trying to connect the heroku postgreSQL database from mulesoft but unable to connect it. The error I am receiving is java.sql.SQLException: FATAL: no pg_hba.conf entry for host ....... ...
1
vote
0answers
100 views

how to Read and write salesforce data from Heroku for app

We are planning to create app, which will read data from salesforce, do processing and then write result back into salesforce. This operation will happen in 2 modes 1. Real time when user takes any ...
1
vote
1answer
50 views

Push failed: Could not get a logplex token for this app

I am trying to follow the SFDC Integration Workbook. http://www.salesforce.com/us/developer/docs/integration_workbook/integration_workbook.pdf I got stuck on Tutorial #1 Step: 4: To deploy the local ...
0
votes
0answers
16 views

Default angular template slow on free account heroku

I have such a problem: I deployed to Heroku default angular template, it works fine, but speed is very slow. when I checked by google page speed, result is only 30. Does it depend somehow on free ...
0
votes
0answers
14 views

Is it true that Heroku Apps on a free account cannot send outbound UDP traffic?

I am trying to test hosting a discord.py bot on Heroku just for fun, everything works except voice: The bot connects, but doesnt say anything. I have been told that this is because free users cannot ...
0
votes
0answers
12 views

Error: Invalid RSA private key

I have deployed this project to Heroku. and I followed this guide step by step. I did not understand why in the logs there is Error: Invalid RSA private key Can anyone open my eyes? because I really ...
0
votes
0answers
72 views

Can't provision PointDNS on heroku

I have deployed my app on heroku and I want get a custom domain with pointdns. But when I try to provision PointDNS, I get the following error. How can I provision pointDNS on heroku?? An error was ...
0
votes
0answers
19 views

How can I pass heroku config vars to docker build?

I'm trying to deploy my rails app to the Heroku using heroku.yml. This is my yml setup setup: addons: - plan: cleardb-mysql as: DATABASE build: docker: web: Dockerfile config: ...
0
votes
0answers
10 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
14 views

API App Not Updating Content

I have a simple Node.js JSON API app using free dynos in Heroku, that includes a current timestamp along with other data in its response. When I request the Heroku API URL (below), though, it does not ...
0
votes
0answers
12 views

Application consistently dropping connection every hour or so

I'm running a Discord bot on Heroku and every hour or so (Not designated cycling which is every night), the bot loses connection and has to reconnect to the Discord API. Why does this happen? Can it ...
0
votes
0answers
28 views

I am using LWC component as the UI and get few input parameters and file upload. I want the file and the metatags to be saved in postgreSQL

The LWC component gets the few parameters as input in UI and a upload file functionality is also there. If I upload the file, the file and the above given metatags should also be sent via the POST ...
0
votes
1answer
13 views

Pointdns with heroku point to No App

I have deployed my app on heroku and got a custom domain with pointdns. point dns seems to redirect the doamin correctly, but heroku seems to get invalid app or empty page that says " There's ...
0
votes
0answers
17 views

How do I download my json files?

My app stores data on json files that are stored on the heroku server, so obviously, if I were to update application, it would reset all the json files. Is there a way I can download the json files ...
0
votes
0answers
22 views

429 Too many requests on heroku server

I have created a spring boot api and deployed it to my heroku app. My spring boot API is internally calling gitlab apis to get some data. Request URL for my API is :- https://myapi.herokuapp.com/...
0
votes
0answers
15 views

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

My app was running perfectly until just a few minutes ago. I keep getting this error: FATAL: remaining connection slots are reserved for non-replication superuser connections Currently, there are ...
0
votes
0answers
45 views

I'm getting a 404 on my heroku app because heroku cannot access the static js files that it built

So, I had a heroku build issue yesterday, that I managed to sort of get past (at least I'm no longer getting any build errors on my heroku deploy). However, now, I'm having a new issue. When I ...
0
votes
0answers
190 views

Heroku Node.js Bot Crashed and had to be manually restarted

I have had a Bot hosted on Heroku for about 3 months. The bot uses node.js and interacts with a Discord server. Last night the bot crashed and created serveral logs entries (see below). My question ...
0
votes
0answers
34 views

How do I resolve h12 timeout errors from heroku?

I'm running into a weird issue with Heroku. When I run my application locally it fetches all my requests under 1 second but on Heroku, I get h12/503 errors because it is taking 30 seconds which ...
0
votes
1answer
25 views

pathing issue with webpack and heroku

I seem to be having a path issue that is causing my app to not load the home route correctly. I've spent a whole day trying different ways of building my path in my node/express server home route such ...
0
votes
0answers
14 views

How can I use psql installed inside docker to work with heroku pg:psql?

To be clear, I am not deploying Docker image on to heroku. Heroku deployment is normal git push In order to test locally, I am using postgres via docker, instead of native installation. heroku pg:...