43,347 questions
0
votes
0
answers
28
views
Endpoint fails when trigger automatically by cron job but succeeds when cron job is triggered manually
I have a serverless function running on Nextjs, hosted on Vercel.
The database is hosted on Heroku. I use EasyCron as a provider for the cron jobs.
Recently, there was an upgrade on the database and ...
0
votes
0
answers
29
views
JPro classes in Heroku
After creating a Profile with run command
java -jar target/fractals-1.0-SNAPSHOT.jar -Dserver.port=9090 -Xmx512m
system gives:
Error: Could not find or load main class com.fractals.sierpinski....
-1
votes
1
answer
46
views
How to run a JPro application in Heroku
I have a JPro-Maven application that i run with "clean install jpro:run".
I want to run-deploy same app on Heroku without too many configs or to do things perfect. I use now heroku-maven-...
0
votes
0
answers
43
views
redirecting heroku django app using nginx not working
I have a Django app hosted on Heroku. It runs via nginx & Gunicorn. Here is my Procfile:
web: bin/start-nginx gunicorn --bind unix:/tmp/nginx.socket --pid /tmp/app-initialized config.wsgi
...
0
votes
0
answers
26
views
Google Analytics Data API on Heroku — “Could not load the default credentials” even with environment variables set in Config Vars
I’m deploying a Node.js app to Heroku that fetches GA4 analytics using the @google-analytics/data and google-auth-library packages.
Everything works locally, but on Heroku the build or runtime fails ...
2
votes
0
answers
95
views
Do we still need to do "ActiveRecord::Base.connection_pool.disconnect!" in before_fork for puma on heroku?
Context: long lifetime rails applications running on heroku with puma (with legacy config).
In the past I've configured puma (using config/puma.rb) to disconnect before fork and I'm pretty sure this ...
0
votes
0
answers
89
views
"Target class [livewire] does not exist" issue with laravel 10 only on production server
I have an issue with my code in production Heroku (running without problem locally).
I get the error Target class [livewire] does not exist
This is the code in my AppServiceProvider which triggers the ...
0
votes
0
answers
57
views
Heroku build failed Outdated Yarn lockfile
I inherted an app that was delpoyed on heroku with a git repo with a ruby backend and vue.js front end. I am completly at a loss trying to figure this matter out the backend depolyed perfectly but i ...
1
vote
1
answer
67
views
Resolving a failed push of an app Rails 7.2 into Heroku
I'm working on an app that I developed in Rails 7.2 (git controlled) and the production platform is Heroku. I'm already on release v50 (Heroku).
In my latest version I added support for Active Storage ...
1
vote
1
answer
133
views
n8n and postgres deploy incompatibility version
I am trying to use the fast deploy of n8n with heroku:
link deploy
But, I get the following error:
We tried to create heroku-postgresql:essential-0, but received an error from the add-on provider. Try ...
1
vote
1
answer
64
views
How to retrieve SFID from Salesforce models in Rails app after creation (using Heroku Connect)
I am trying to create a Salesforce object in my Rails app. When I do so, the object is created on the Salesforce end and it might take a few seconds for the object to be populated with the SFID before ...
0
votes
1
answer
50
views
Django Heroku django-tenant attributeerror: 'databasewrapper' object has no attribute 'schema_name'
I'm migrating my development to django-tenants, I didn´t had any issues doing it on my local, but when I push my changes to the prod environment in Heroku, I'm getting the following error:
...
0
votes
0
answers
35
views
Is it possible to set default values for custom parameters in a Heroku database?
My application uses local parameters extensively. I'd like to set defaults for these, by running e.g. ALTER DATABASE <NAME> SET "app.role" = '';. This works fine in my local database, ...
0
votes
0
answers
28
views
Cannot Create or Remove App Webhooks [app_id max number of webhooks exhausted]
Currently, I cannot create any app webhooks due to the following error:
"app_id max number of webhooks exhausted."
However, I receive the same error message even when I try to remove ...
0
votes
0
answers
26
views
Heroku Deployment Fails from Bitbucket Pipelines with 401 Unauthorized Using atlassian/heroku-deploy
I'm trying to deploy a NestJS backend app from Bitbucket Pipelines to Heroku using the atlassian/heroku-deploy pipe.
What I Have:
My repo is hosted on Bitbucket.
project
/backend
/frontend
.bitbucket-...
0
votes
0
answers
20
views
Bitbucket Pipeline deploys to old Heroku app even after updating HEROKU_APP_NAME
I’m deploying a Node.js app using Bitbucket Pipelines to Heroku. Here's the situation:
The old Heroku app (with a different name) was deleted in September 2024
That old app used a custom domain
...
2
votes
1
answer
451
views
I'm getting a DuplicatePreparedStatementError when using SQLAlchemy with asyncpg and pgbouncer
Error Details
{
"status": "healthy",
"database": "disconnected",
"details": {
"status": "disconnected",
"error&...
1
vote
1
answer
365
views
Docker & Heroku: error from registry: unsupported
When I tried to push the docker image to heroku, there is an error like this.
I looked up for information but there's no information about it. I tried to specify the platform to linux/amd64 but it ...
0
votes
0
answers
65
views
How to disable Redis persistence on Heroku Key-Value Store
Using the Heroku key-value store add-on has helped with website performance, but one of the features that I don't need is the persistence of the data (when using heroku redis:info it's showing as ...
0
votes
0
answers
51
views
App stopped working in Heroku with ERROR R10
Suddenly our app project stopped working with this is the error:
Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2025-05-20T06:17:48.397703+00:00 heroku[...
0
votes
1
answer
93
views
textshaping dependency is not available when launching Shiny app
I'm trying to launch a Shiny App to my Heroku server. The App runs fine on my machine, but crashes on Heroku because the `textshaping' package isn't available, so it removes other packages (ragg, ...
0
votes
1
answer
73
views
Connection to Heroku and Azure Data Studio just failed - PostgreSQL
I am using Heroku and Azure Data Studio. I had no problem earlier on and then all of the sudden I get this error and cannot connect this DB to Heroku or Azure Data Studio. I have no clue what is ...
0
votes
0
answers
46
views
Should I save previously built and deployed docker images in AWS ECR
The system I work on has the following build / deploy flow:
Build: build the docker image
Build: push the built image to a private AWS ECR
Deploy: pull the built image from private AWS ECR
Deploy: ...
0
votes
0
answers
18
views
I am moving from AWS RDBS to STRATO but cannot ping DB server
I have a RDBS specific question:
I cannot ping my new STRATO mariadb server, the error is as follows
ping database-5017767364.webspace-host.com 1 ✘ 22s
PING dbmy-...
0
votes
1
answer
58
views
Heroku Git-LFS push error, mistakenly added git-lfs to app, then pushed pdfs, now hung in build = crash
After git push heroku main even with force:
batch response: Repository or object not found: https://git.heroku.com/app.git/info/lfs/objects/batch
Check that it exists and that you have proper access ...
0
votes
1
answer
78
views
Heroku deploy error: /usr/bin/env: ‘ruby’: No such file or directory - Build successful, Rails 8.0.2 app, running ruby 3.4.3, zsh
Error when I run bin/rails s in heroku logs --tail /usr/bin/env: ‘ruby’: No such file or directory.
Here's the heroku logs --tail sequence:
Starting process with command "bundle exec puma -C ...
1
vote
0
answers
86
views
Django/Heroku error "Web process failed to bind to $PORT"
I am trying to configure a Django/PostgreSQL project to deploy on Heroku using Waitress. (I've only done this once successfully, several years ago using Guincorn).
I am ultimately running into an ...
0
votes
0
answers
96
views
"No images to push" and "405 Method Not Allowed" errors when pushing Docker images to Heroku?
I'm trying to deploy my Dockerized Express app to Heroku using their container registry, but I'm encountering two specific errors during the image push process.
Here is the process I do:
I log into ...
0
votes
1
answer
45
views
deploy spring-boot 3.1 on heroku with tomcat 10.1
I am deploying a spring-boot v3.1 and java 21 on heroku. By default heroku propose tomcat 9.0.3. I am not able to switch on tomcat 10.1 which is needed for my project.
As describe in documentation, i ...
0
votes
1
answer
78
views
Trouble setting PORT in Django/Heroku Procfile using Waitress
I'm trying to deploy my Django application with Heroku (on Windows), and using Waitress (because Gunicorn no longer runs on Windows??).
When I hard coded the PORT number, I was able to run it fine.
...
0
votes
0
answers
24
views
Laravel on Heroku cannot find a SQLLite database stored in the project (nor the `storage` folder)
I have a SQLite database in ./database/database-file.sqlite.
In Laravel, the database is so configured:
// ./config/database.php
return [
...
'connections' => [
'my-custom-...
0
votes
0
answers
54
views
vue3+typescript+vite cannot deploy to Heroku (vue install deploy vite Failed to resolve module specifier 'vue')
Generated by vite simple codes cannot deploy to Heroku.
Build is finished but I deploy it, Browser massages "vue install deploy vite Failed to resolve module specifier 'vue'" with white ...
0
votes
0
answers
17
views
Adding add-ons on build to Review applications on Heroku
This is my app.json file which i am using to push to github for the review app on heroku but the add-ons listed are not being added upon build finish. How to fix this?
{
"name": "test ...
0
votes
1
answer
38
views
How to use config vars on heroku when using Stack=container
When using stack container deployment (config set stack), you would need changing config vars on the dashboard at heroku. But something bad happen. Step by step:
Go to Settings
Press Reveal Config ...
1
vote
1
answer
55
views
Netlify app can't login to Express app only on mobile
I have a Vue 3 app hosted on Netlify, and the backend is hosted on Heroku. The login is a simple /login endpoint made with Express and Sequelize. It works well on desktop, but when I try to log in on ...
0
votes
2
answers
59
views
column "now" does not exist postgres django
I have a django app that store a date column in a model/table in postgres
first_subscribed = models.DateField(auto_now=True), and it works fine.
But if I enable a trigger to copy data from the table/...
2
votes
2
answers
156
views
Database Connections Spiking on Heroku Dyno Startup with django-db-geventpool – MAX_CONNS Not Enforced
I'm using Django, Gunicorn with Gevent, and django-db-geventpool on Heroku (Performance L dynos, WEB_CONCURRENCY=17). My database connections spike significantly on dyno startup, exceeding the ...
0
votes
0
answers
51
views
Heroku installs extra Python package
I have a Python/Django app which uses Pipfile and Pipfile.lock running on Heroku-22 stack with classic buildpacks.
requirements.txt is not part of the code base, thus e.g. Heroku: ModuleNotFoundError :...
0
votes
0
answers
49
views
How to get local issuer certificate when trying to run migration on Heroku
I get the error below. How can I find out what the issue is? I've tried running this command from the Heroku website's terminal, and I still get the same error
unable to get local issuer certificate
...
0
votes
0
answers
27
views
FastAPI app on Heroku timing out after the third one
So I have a FastAPI instance on Heroku, using asyncmy for database, and also sending emails which is something I added recently. Now it times out all requests after the 3rd request, no errors nothing, ...
0
votes
0
answers
53
views
How to Reverse Proxy Heroku from Vercel for Authentication Purposes?
I'm trying to authenticate my users from my app hosted in Vercel in order to retrieve their data, however, my application needs to communicate with Heroku where my API is located.
I've been trying ...
0
votes
0
answers
62
views
Firebase Dynamic Links losing app parameters in Capacitor Browser redirect chain on Heroku
I have a weird issue with Firebase Dynamic Links in my Capacitor app. When using deep links to authenticate users via SAML, it looks to be losing specific URL parameters but only in my staging ...
0
votes
1
answer
75
views
How to run a PostgreSQL meta-command such as pset on the heroku psql CLI followed by a query?
I have a heroku app with a PostgreSQL database.
It is sometimes useful to run raw psql queries on the app's database, and I would really like to use \pset tuples_only to get some raw JSON strings out, ...
0
votes
0
answers
48
views
Heroku Buildpack not running worker from Procfile
I have a project on NextJS (14.2.21), running on Dokploy (0.17.9), building on Heroku Buildpacks. Inside of my project I have the next Procfile:
web: export PATH="/layers/heroku_nodejs-engine/...
0
votes
1
answer
28
views
heroku django Spatilite Unable to load the SpatiaLite library extension
Hi I get error while i'm trying to run my application on heroku with Spatialite:
Unable to load the SpatiaLite library extension. Library names tried: mod_spatialite.so, mod_spatialite.
my settings.py:...
1
vote
0
answers
70
views
Can't add/update config vars in Heroku
I recently made a change to my Rails credentials file, and so needed to update my RAILS_MASTER_KEY config var in Heroku.
My application release initially failed when I pushed the latest change with ...
0
votes
1
answer
36
views
Running simple async chatroom. Works fine in dev. Fails in Heroku
I've made an async chatroom app for a django website based on the excellent tutorial provided by django on django channels with daphne and redis.
https://channels.readthedocs.io/en/stable/tutorial/...
0
votes
0
answers
17
views
Rails CKEdior toolbar not showing any icon
I have recently upgraded rails version from 4 to 6.1.7.8, my ckeditor version is 4.3.0, its deployed on Heroku.
now ckeditor toolbar is not showing icons.
ckeditor toolbar screenshot
I Inspected the ...
1
vote
1
answer
163
views
ActiveRecord::ConnectionNotEstablished tries local PostgreSQL socket instead of Heroku DB
I have a Rails 8.0.1 application (Ruby 3.3.4) that I’m deploying to Heroku. The code pushes successfully, but whenever I run:
heroku run rails db:migrate
I get this error:
ActiveRecord::...
1
vote
1
answer
135
views
Heroku not running database migrations for Rails app
I have a Rails 8 app deployed to Heroku. The app was working with the Postgres database connected. I pushed code for an automatic deploy. The deploy said it worked, but I am getting a 500 on some ...