Questions tagged [heroku]
Heroku is a cloud platform for Ruby, Node.js, Python, Scala, Clojure, Go, PHP, and JVM-based applications. It features Git-based, GitHub, and API deployment strategies, a large number of services offered as add-ons, and a full API.
43,201
questions
0
votes
0
answers
13
views
Heroku application error : what should I do to fix it?
Hello when i type "heroku open", I get an application error instead of the correct page.
I really don't know what to do with the logs, I followed a tutorial so nothing is different.
The only ...
0
votes
0
answers
9
views
Heroku Build Fails | Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
I cant deploy my project on Heroku, i always get this error on deploying.
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/log4j/log4j/1.2.12/log4j-1.2.12.jar (358 kB at 3.6 MB/s)
...
0
votes
0
answers
7
views
Heroku: Docker image out of sync
I'm running a docker image on Heroku.
base image: mcr.microsoft.com/dotnet/sdk:6.0-bullseye-slim
Running dotnet 6.0 API project
Using some Postgresql databases also but perhaps not relevant.
In my ...
-1
votes
1
answer
14
views
Could not install packages due to an OSError: [Errno 2] No such file or directory: '/C:/Windows/TEMP/abs_e9b7158a-aa56-4a5b-87b6-c00d295b01fanefpc8_o/
while I was launching my ml model using heroku the build logs show that
Could not install packages due to an OSError: [Errno 2] No such file or directory: '/C:/Windows/TEMP/abs_e9b7158a-aa56-4a5b-87b6-...
0
votes
0
answers
9
views
How to include txtai repository as a dependency in requirements.txt?
I have developed a streamlit webapp and I want to deploy it on Heroku. The project has the following requirements.txt file
streamlit==1.10.0
nltk==3.7
txtai @ git+https://github.com/neuml/txtai
txtai[...
-1
votes
0
answers
9
views
301 Moved Permanently heroku app angular+springboot
i deployed my project which is backend springboot and angular ui. here backend apis working fine but the ui apis are not working when i open the url its saying that Status Code: 301 Moved Permanently....
0
votes
0
answers
9
views
Heroku with a Long Python Webscraping Script
I'm trying to deploy an API which uses selenium to do web scraping on Heroku. This script takes time (2 - 4 minutes) which causes application error. However, when I reduce the amount of information to ...
0
votes
0
answers
10
views
Image persistence issue in Heroku [duplicate]
I have deployed my Django backend in Heroku, and connected to the Heroku PostgresSQL database. However, I noticed that the images are not persistent; after a while, the images disappear. It must be ...
0
votes
0
answers
29
views
Heroku Connecting to MongoDB but HTTP Requests Not Working
I'm confident I'm facing the same error as this: MongoDB Atlas returns empty array on Heroku, works fine locally. I'm sure my config env file is ok.
My app's backend on heroku seems to connect to the ...
0
votes
0
answers
23
views
Why is the data on my heroku website different from data on local dev?
New to django
I tried setting up a postgreSQL db and it works fine.
I use Retool to access the db and I can see the data I am adding when I modify my website locally through the admin site, but data ...
1
vote
1
answer
34
views
How do I add an endpoint to my Django backend to run a python script?
I currently have a Django backend deployed in Heroku, and I also have a Python script that contains code to return the items with the highest number of mentions in chosen subreddits. It is noted the ...
0
votes
0
answers
21
views
python setup.py egg_info did not run successfully on deployment to heroku
I upgraded my pip version after deploying and hosting my website. Then i installed a new package pypaystack. when i attempt to push to heroku i get the error below. Project works fine in development ...
0
votes
0
answers
7
views
Heroku deployment build fails for a MEAN stack application
I am new to both the MEAN stack and its deployment on heroku cloud.Trying to learn MEAN with this tutorial [Build a Web Application from Scratch][1].I have been struggling for the last few days with ...
0
votes
0
answers
8
views
Locked out of Heroku bc MFA
Heroku stopped allowing SMS and I didn't have recovery codes and I got a new phone so my authentication app got reset. Is there a way to access my Heroku Dashboard?
0
votes
1
answer
14
views
Image Folder Within dist Not Added To Heroku Website
I've deployed my website using Heroku. I am also using Vueper Slides which needs a variable, which is an array, containing the path to the image. On the live website I noticed that it does not contain ...
0
votes
0
answers
20
views
Cannot deploy node, mongoDB & express app on heroku [duplicate]
Hi I am trying to deploy my backend app using heruko but whenever I try opening it i get an error page:
naturally, I searched through stack overflow for solutions but non of them seemed to have worked....
0
votes
0
answers
11
views
App not Compatible with Buildpack - Using Heroku to Run a Discord App
My code is written in Python on VS Code, and I'm using a Windows laptop. I want to deploy it and am using the Heroku CLI to do this. When I push at the end, I get the following error:
I'm not sure ...
0
votes
1
answer
24
views
Python Flask API deployed on heroku- application error
I made an API for my ML model which is working fine locally. but when I'm deploying it on heroku its showing me 'Application Error', though every things seems right to me.
My Python file code:
from ...
0
votes
0
answers
8
views
Why are peer dependencies not installing on heroku?
Context
I'm attempting to deploy my application on Heroku from the Heroku dashboard. I successfully deployed it a few months ago but have since made many changes. When I deploy the master branch, the ...
-1
votes
0
answers
21
views
Twilio Proxy Authentication (Ruby on Rails)
I am trying to use Twilio to send a 2FA text to our users. Our development site stopped sending them and gave us:
Twilio message sending error with 407 "Proxy Authentication Required"
Our ...
0
votes
1
answer
25
views
Valid-url heroku deployment issue on push
I'm getting the error valid-url not accessible from @heroku-cli/plugin-buildpacks when I try to push code to heroku using the CLI or through GitHub.
I've tried everything I could find on the internet ...
0
votes
0
answers
19
views
Redis ConnectionError Error 0 connecting to *hostname*:*port*. Error
I have this error: ConnectionError Error 0 connecting to *hostname*:*port*. Error.
This error is raised in redis/connection.py line 615.
packages:
Django==3.1.2
redis==4.3.3
celery==5.2.7
settings.py
...
0
votes
0
answers
19
views
TemplateDoesNotExist heroku working fine on local
When Deploying to Heroku throws an error TemplateDoesNotExist but it works fine on local
0
votes
1
answer
7
views
How to set DateStyle for Heroku Postgress to DMY?
I am staging a newly build web application on Heroku. As we are in Asia, all our date format is DMY. However Heroku Postgres is in MDY.
After researching, I thought this post Heroku Postgresql SET ...
0
votes
0
answers
16
views
here is my issue : / node_modules/@hotwired/turbo-rails doesn't exist / How can i fix it?
im a beginner i'm having issue to push my app to heroku, how can i fix this ?
i have tried :
rails turbo:install /
rails turbo:instal:redis / bundle install/ yarn install
but it didnt fix my problem.
...
1
vote
1
answer
23
views
How to upload file to AWS S3 with Django running on Heroku?
I have an app deployed on Heroku.
I followed the manual by link to set up static files uploading to S3, and it works. And now I need to upload the CSV file, that was created by the celery task and ...
0
votes
0
answers
25
views
Python getting State name from Lattitude and Longitude without limit
So I have been using geopy to perform the action but since I am working with a dataframe, often times the data range between few hundreds to thousands of rows. It takes a lot of time getting all of ...
0
votes
0
answers
20
views
Errno::ECONNRESET (Connection reset by peer): Heroku Rails app Devise mailer error when creating user in production
My ruby on rails app breaks when making a new user deployed to production.
User seems to be created according to logs yet email is not actually delivered and web app breaks.
Only thing I can come up ...
0
votes
0
answers
10
views
Heroku $PORT variable not passed to waitress during deployment - results in ValueError
I wanna deploy my Flask app in a Docker container on Heroku using Heroku container registry. I'm using waitress. This is my Dockerfile, as
you can see I'm using Heroku $PORT variable. It binds the ...
1
vote
0
answers
35
views
Make a POST request to a View from a Django static Javascript file
I'm currently making a POST request to my view on Django. I am doing this in my HTML file.
Post request:
class EventDetailView(DetailView):
model = Event
def post(self, request, *args, **...
0
votes
1
answer
20
views
Is there a way to pass a secret Heroku environment variable in my Django project to a static Javascript file?
I don't have a lot of website experience. I'm trying to get my site up and running.
I have a secret environment variable on my Heroku app that I want to pass into a static file. Is there a way to do ...
0
votes
0
answers
6
views
Limit access to Postgres functions
Using a standard plan I have access to the Postgres credentials in Heroku.
https://devcenter.heroku.com/articles/heroku-postgresql-credentials
Am I able to limited user access to running functions ...
0
votes
1
answer
13
views
Pushing my Python Discord Bot onto Heroku
I wrote a program in VS Code for a Discord bot, and I am trying to run it in Heroku. I was using the Heroku CLI and navigated to the folder with the code in my Command Prompt (I'm on Windows). I tried ...
0
votes
0
answers
10
views
Deploy To Heroku Successful But Then Socket IO Error In Terminal
I deployed react app successfully to Heroku but when click app link in terminal new window displays "Application Error" and error message in terminal states the following:
"import { ...
0
votes
1
answer
25
views
Secure way to accept payments on Django Heroku?
I'm trying to accept payments on Django using Heroku.
I've had a ton of issues using Stripe because I don't know much about client-side/server-side and every time I get something that works, I have to ...
0
votes
0
answers
8
views
Why does my Heroku deployed React app only work on mobile when I click the back arrow after being first shut out?
I have an issue but I do not have any code to show as it seems to be a Heroku or React issue. I would be happy to post any code relevant. I am hoping someone may have some insight as to why my React ...
-1
votes
0
answers
10
views
Alternatives for Heroku
I always using Heroku to deploy my works from GitHub,
But last time I surprised that when I want to add a Database to my work 'on Heroku' its ask me to insert my payment methods even if its free, and ...
0
votes
0
answers
13
views
Waiting in a Django View For a Webhook or Timeout
I am using WhatsApp official API to send messages to customers. I want to send them a reminder message if they have not replied during a certain period of time (a couple of hours more or less). In ...
0
votes
0
answers
16
views
Heroku application error, code = H10, status = 503
I was trying to deploy my web app through heroku.
I installed the heroku CLI correctly and cloned the repository. However, when after I run the
$ git push heroku master
the app web appears a "...
-1
votes
0
answers
18
views
h5 model load error on google cloud, and heroku
I am trying to write a simple webpage with the Flask with an existing h5 file for a machine learning model. I uploaded the h5 file to the git repository with lfs, and I load from GitHub for both ...
0
votes
1
answer
14
views
Axios call timeout on Heroku
I make a call with axios in my react app, hosted on netfliy, to delete a recipe in the database.
const handleDelete = async () => {
if (warn) {
await axios.delete('https://...
0
votes
0
answers
12
views
Axios Chaining. Cloudinary Upload -> Express -> MSQL save
My second axios call requires const { secure_url } = res.data from the first axios call.
I use the secure url to store in my database with another axios call.
await axios.post(details.upload, formData,...
0
votes
1
answer
29
views
Django Celery Redis
I have this error A rediss:// URL must have parameter ssl_cert_reqs and this must be set to CERT_REQUIRED, CERT_OPTIONAL, or CERT_NONE
settings
CELERY_BROKER_URL = os.environ.get('REDIS_URL', "...
0
votes
0
answers
12
views
heroku migration error using laravel and mysql [duplicate]
I was trying to deploy my project built using Laravel but when I came to apply the command
heroku run php artisan migrate:refresh
I got an error
In Connection.php line 742:
...
-1
votes
0
answers
26
views
Heroku Permission Denied
I am trying to deploy my discord bot via Heroku, but I am unable to do so, when starting up, as I get this error: bash: src/main/java/dev/shreyasayyengar/testbot/Main.java: Permission denied
The ...
0
votes
1
answer
20
views
Why do I keep getting the axios error in my Django React app on Heroku?
I developed a simple Django React application and deployed on to heroku:
https://friendly-interview-duck.herokuapp.com/
Even though the backend and frontend connection was working correctly via axios ...
0
votes
1
answer
13
views
Heroku seems not to support gspread
I was trying creating my line chatbot using python and I chose heroku as my chatbot sever.
Everything goes well but as long as I add the following code, my chatbot can't work.
import gspread
I was ...
0
votes
1
answer
34
views
My app deployed successfully in Heroku but in times of opening the app show error
My app successfully deployed to Heroku..
****: Deployed 6bc02eb8 Today at 4:19 PM · v23 ·
Compare diff **** ****: Build
succeeded Today at 4:18 PM · View build log
But It shows error when try to ...
0
votes
1
answer
18
views
Heroku doesn't find Firebase Database URL
I'm using Heroku as sever with Firebase realtime database.
The below code is working on my computer but not on Heroku.
...
cred = credentials.Certificate(JSON)
firebase_admin.initialize_app(cred, {
...
1
vote
1
answer
24
views
How to fix selenium unable to find element when run on Heroku but is able to find the same element when run locally?
I am running a simple python selenium script on Heroku, Its build is successful but the script is unable to locate a specific element when run on the server but can locate the same element when run ...