43,312 questions
3
votes
0
answers
62
views
Heroku ruby buildpack breaks on second deployment push
I've upgraded Ruby from Ruby 3.1.7 to Ruby 3.2.8; after that, I've encountered a situation where my ruby bundle works for the first deployment on Heroku-deployed servers, but all subsequent ...
0
votes
0
answers
51
views
Error Deploying Rails 8 App With Separate Queue Database to Heroku - Relation "solid_queue_jobs" does not exist
I'm attempting to deploy my rails 8 app with multiple databases per rails 8 default configuration.
production:
primary: &primary_production
<<: *default
database: app_production
...
0
votes
0
answers
33
views
Heroku Review App Links don't properly get redirected with Google Auth
I have an app deployed through Heroku and running in multiple environments. Staging and production have dedicated links which are registered with an auth application in Google Cloud Console and work ...
0
votes
1
answer
75
views
Gunicorn (Uvicorn Worker) continues processing requests after Heroku 30s timeout
I’m running a Django (ASGI) app Heroku using Gunicorn with the Uvicorn worker to support WebSockets.
Heroku has a hard 30-second request timeout. When a request exceeds 30 seconds, Heroku closes the ...
0
votes
0
answers
39
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
33
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
52
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
40
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
101
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
136
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 ...
1
vote
1
answer
79
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
176
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
85
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
71
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
38
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, ...