Questions tagged [heroku]

Heroku is a cloud platform for Ruby, Node.js, Python, 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.

-1
votes
0answers
10 views

Heruku app.json not working in continus delivery

I am working in a Django project. Its just work fine in local computer. Its also work fine when i deploy this to heroku. Its even work fine when i create heroku staging and production app. But its ...
0
votes
0answers
13 views

How to install node-opus on Heroku?

When i try to install node-opus on heroku app using npm i node-opus i get errors and it just wont install from ../deps/opus/include/opus.h:36, from ../deps/opus/src/opus.c:32: /...
0
votes
1answer
14 views

Heroku rake aborted (PG::ConnectionBad: could not connect to server: No such file or directory)

I am developing Telegram bot using Ruby Telegram Bot boilerplate. It is implemented on Ruby (without Rails) using Active Record and works fine locally on development. I decided to deploy it on ...
-1
votes
0answers
11 views

Using PhantomJS alongwith PHP on heroku [on hold]

I am trying to install PhantomJS on heroku using the PhantomJS x64 binary. It fails everytime saying NodeJs is not installed or incompatible. Does anyone have a full tutorial on the same of how to ...
0
votes
1answer
20 views

Having trouble with a node.js app on heroku

I am trying to create a simple node.js app on heroku. Here is app.js: console.log("Starting App") const express = require('express') const app = express() const port = 3000 app.listen(...
-1
votes
0answers
11 views

Heroku - Error making a POST request to Flask server [duplicate]

I have a created a basic server using Flask and I am having an issue deploying it on Heroku. I have attached the code below. app.py: app = Flask(__name__) CORS(app) port = int(os.environ.get('PORT', ...
0
votes
0answers
12 views

heroku - Item could not be updated:

I'm trying to add / modify Config Var, when I try to save the change I get a message: Item could not be updated: Unknown Error. Please contact support. Any ideas on what may be wrong?
0
votes
0answers
16 views

Heroku Web process failed to bind to $PORT within 90 seconds of launch

My application.properties spring.datasource.url=jdbc:mariadb://<IP>/<name> spring.datasource.username=root spring.datasource.password=root spring.jpa.show-sql=true spring.datasource....
1
vote
1answer
24 views

Pushing to Heroku fails due to unsupported Ruby version even after Gemfile was changed

I'm trying to push a forked repo to Heroku but Heroku won't accept the push because Ruby 2.3.1 wasn't accepted. I changed the version to 2.3.3 in the Gemfile and running bundle install --without ...
0
votes
0answers
22 views

Deploy on Heroku django app psycopg2.ProgrammingError: relation “ tableName ” does not exist

I'm deploying my django project on heroku and my db is on postgresql , however, when i open the app on heroku doesn't show me a particular template called "products.html". So , i checked the logs and ...
0
votes
1answer
19 views

Heroku pricing dramatically increases when using microservices architecture

I'm just starting with Heroku, and I'm considering using it to host my app. The problem is, I'm planning to build my app with a micro services architecture. As I understand Heroku's pricing, they ...
0
votes
0answers
25 views

heroku deployment error npm ERR! code ELIFECYCLE errno1

I'm working on my deployment to Heroku, and I keep failing after the Heroku Post Build Script during the building. Here is the error: Counting objects: 31, done. Delta compression using up to 8 ...
-2
votes
0answers
17 views

Heroku fail open

I have the following problem: My website works very fine on my laptop, the server, the database and the front end, I don't get any error or problem. I've tried to deploy my server and my database on ...
0
votes
1answer
16 views

Heroku build docker image with --no-cache option

I'm trying to update a Docker image on my Heroku app. I just used the following commands from this documentation article: https://devcenter.heroku.com/articles/container-registry-and-runtime heroku ...
2
votes
0answers
13 views

Is it possible to customize the release ID when deploying to Docker container registry in Heroku?

Context: I've recently switched a Heroku app from deploying with Git using a Heroku stack + multiple buildpacks to deploying multiple Docker images using the Heroku Container Registry, pushing the ...
0
votes
1answer
23 views

Deploy Python app to Heroku with extra pip install

I'm trying to implement Deploy to Heroku functionality for my Python application: https://github.com/jet-admin/jet-bridge/tree/heroku It woks OK if just use requirements.txt to install dependencies, ...
0
votes
2answers
35 views

How to make REST APIs calls for APIs I have on my Backend

Here is what I am trying to achieve. I want to use READ operation from the CRUD I developed which means that I have to invoke a HTTP request (Using RequestJS for example). And then use the response ...
0
votes
1answer
10 views

Heroku deploy Ruby 2.6.1 : warn_for_outdated_bundler_version

This question is related to this one, but the proposed solutons didn't work for me. I'm trying to deploy a Rails 5.2 application with Ruby 2.6.1, but I keep getting this error in the deployment phase:...
0
votes
1answer
10 views

how can I see heroku complete log file?

My build in Heroku fail so I want to see the complete log as they mention in the build: npm ERR! A complete log of this run can be found in: npm ERR! /app/.npm/_logs/****logname*****-debug.log ...
0
votes
1answer
31 views

Why does my web-app work fine on localhost (npm run dev) but look like trash when deployed to heroku?

by the way, NOT a duplicate of 19 Javascript features work on localhost but not when deployed to Heroku I am going to sleep so I can leave my tunneled localhost up for now which is what I see when ...
0
votes
1answer
32 views

Heroku: ModuleNotFoundError :No module named 'requests'

I am trying to deploy a Django program to Heroku. The application runs successfully on my local machine, which uses Anaconda and Python 3.5. I cannot get it to push to Heroku. Upon the command >...
-1
votes
0answers
22 views

Heroku ProgrammingError at tables

I finally got my Django app (sort of) working on Heroku. It shows the main admin page, but when I want to open any of the tables I get the following error: (I have debug = true just to show the errors)...
-1
votes
0answers
12 views

I'm trying to deploy my heroku discord bot and it crashes here

2019-03-20T20:12:35.197406+00:00 app[worker.1]: at connect (/app/node_modules/mongodb/lib/mongo_client.js:486:16) 2019-03-20T20:12:35.197408+00:00 app[worker.1]: at Function.MongoClient....
0
votes
1answer
23 views

How do I rename file in Heroku running on Spring batch?

I have a Java codebase which is being executed on a heroku dyno. The command has executed and the log after that confirms the file is changed but actually it doesn't seem to work. Here is my code: ...
0
votes
1answer
41 views

Application error on deployed app on heroku

please help, i have no idea. I am getting this from my heroku logs. i am on ruby 2.3 rails 5.1 2019-03-20T15:05:15.000000+00:00 app[api]: Build succeeded 2019-03-20T15:05:53.943996+00:00 heroku[...
0
votes
2answers
30 views

Puma server inside heroku container fails to connect to port

I have a docker container: (called Dockerfile.web, relevant parts) ARG PORT=3000 ENV PORT=$PORT EXPOSE $PORT ENTRYPOINT ["docker-entrypoint.sh"] CMD ["rails", "server"] Puma: config/puma.rb ...
0
votes
1answer
25 views

Parse Server not recognizing APP_ID

I have installed Parse Server on Heroku and forked the Parse Server Example. When I git push heroku master I get the error "You must provide an appIp!" Error log: 019-03-20T11:03:56.517489+00:...
0
votes
0answers
16 views

Heroku gives me webpack and node js error on push

Heroku gives me errors suddenly, It worked fine for about a month with same settings, yesterday after editing some minor things in the project and uploading to git it gave me error when pushing to ...
0
votes
0answers
24 views

Heroku node.js app errors when trying to load

My app is a full stack node.js with react and postgresql. Currently I am trying to deploy the app on Heroku, but I am getting these errors when I am trying to do so. 2019-03-20T04:16:33.161520+00:00 ...
0
votes
0answers
22 views

invalid host header mysql react heroku

I am trying to deploy a mysql express react app to heroku but I am getting a message on the deployed project invalid host header I am using a proxy in my client side package json: { "name": "crud", "...
0
votes
2answers
25 views

Flask app runs locally but on Heroku Cannot render template?

For some reason my Flask app runs fine on my local computer but when deployed to heroku I receive a render template error. procfile: web: gunicorn app:app Basic file structure: File Structure ...
0
votes
1answer
24 views

ROOT_URL is not defined | Pushing is causing a build failure

If I go to the the build log I see the following: -----> Node.js app detected FATAL: ROOT_URL is not defined. ! Push rejected, failed to compile Node.js app. ! Push failed This is ...
0
votes
1answer
27 views

Successfully Deployed to Heroku however page is not showing anything

Hi I have successfully deployed the python django app to heroku with no errors. However when i go to the link it just does not show anything. heroku logs show me there's some H14 error. Procfile....
0
votes
1answer
29 views

Heroku: Stylesheet and Javascripts Not Updating for Rails 5 App

There have been many questions over many years where people have this issue. I have tried a combination of answers but I still can't get my updated stylesheet and javascript in my Rails 5.1.6 ...
0
votes
0answers
7 views

Heroku Review App URL just leads to a 404

I am trying to incorporate review apps to our delivery workflow and i just finished getting everything set up and i created a pull request to test. Heroku successfully created the app But when i ...
0
votes
0answers
14 views

getting different html from site using heroku

i'm making my website crawler with request module and cheerio. Here's my function getData() -> it gets html by request and parse with cheerio. and console.log(body) shows the html which request ...
1
vote
1answer
28 views

Laravel 5.6 password reset mail not sending on Heroku

I'm currently having trouble with the password reset mail created by make:auth in Laravel 5.6. My app is hosted on Heroku. In my local environment everything works fine. I have set the right values in ...
0
votes
1answer
28 views

Angular 7 Universal (Server Side Rendering) [ERROR ReferenceError: document is not defined]

I have implemented SSR for my project and deployed it to heroku. Now, when I start app in heroku logs --tail I get a lot of things running and it lowers performance significantly. Most of the things ...
0
votes
1answer
17 views

Heroku Spring Boot start

I tried to run my Spring Boot Application on Heroku. The application starts correctly, but after that it crashes instantly with following error: 2019-03-19T11:45:28.343758+00:00 app[web.1]: 2019-03-...
-1
votes
0answers
29 views

.js files are not working when hosted on heroku using django

I have my .js file in static folder and it is loader on heroku run python manage.py collectstatic but when loading my site it is not running. It consists of some dropdowns but when site is loaded the ...
0
votes
0answers
24 views

How to resolve error java.lang.NoSuchMethodError: sun.security.ssl.SSLSessionImpl? [duplicate]

I am getting this error when I am trying to add data to Heroku PostgreSQL database through GlassFish server. The database adding is working properly when I am adding it directly by the client. The ...
0
votes
0answers
22 views

Error: ENOENT: no such file or directory, rename on heroku

I just deployed my first nodejs app to heroku that contains file upload option it working fine in my local host but not in heroku when I checked heroku log it says Error: ENOENT: no such file or ...
0
votes
0answers
19 views

Server not reachable: Unable to connect to server when updating index.js

I have installed Parse Server on Heroku following this example Database an app is up and running, and working fine. But when I try to implement email verification the app fails. I'm using the Parse ...
0
votes
0answers
14 views

Twilio / SendGrid / Python / Heroku / DNS

I think my question is DNS related. Following the Twilio/SendGrid docs. Made it to the home stretch, and for some reason the email to text portion does not go through. Here's what I know for sure: ...
0
votes
1answer
13 views

cannot update bokeh plots in heroku

I am creating a Heroku app with bokeh plots to be updated with a user input. When I run my python code, I see that the plots are updated in my local directory but on the Heroku app nothing changes. ...
-2
votes
1answer
19 views

How to deploy a laravel-websockets server on Heroku free plan?

I just implemented web-sockets on my laravel php app using the laravel-websockets library. I wanted to know how to deploy it to heroku as it requires me to run another server with command "php artisan ...
0
votes
0answers
5 views

In Heroku; how to transfer 2 apps from Team to Personal?

I do not want to be charged, reason why I want to switch my project from team to personal. This is what I am doing right now: 1) I created a new app called radix-haven-corp (This is app is under ...
0
votes
0answers
23 views
+50

What's the recommended way of dealing with Heroku's dyno restarts on a worker?

I'm familiar with Heroku's policy on dyno restarts (once every 24 hours, if underlying hardware fails, etc). I've also looked elsewhere on Stackoverflow and found questions like Controlling Heroku&#...
0
votes
0answers
22 views

Error `method_missing': undefined method `has_one_attached' when push heroku

I'm trying to move my Ruby Application to Heroku for the first time, first I updated my Ruby version to 2.4.1, I also moved my sqlite3 in development to have : group :development, :test do # Call '...
-3
votes
0answers
15 views

Link the new add-on to your Heroku user account using Flask

Through CLI we can easily connect the heroku add-on to new heroku user. 1) Create the Heroku Connect add-on. heroku addons:create herokuconnect -a 2) Link the new add-on to your Heroku user ...

http://mssss.yulina-kosm.ru