Discord.py now working on Heroku deployment - github

Im trying to deploy my python code on Heroku using GitHub Desktop,
i also have have .json on the files btw
[requirements]
discord.py
[Procfile]
worker : python economia.py
HEROKU ERROR:
-----> App not compatible with buildpack: https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/python.tgz
More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
! Push failed
updated with new files:
[githbu files] (https://github.com/richcipriano/billionaireboysclub)
UPDATED HEROKU LOG:
2020-08-30T20:51:18.764302+00:00 app[api]: Release v13 created by user mallkz#hotmail.com
2020-08-30T20:51:27.000000+00:00 app[api]: Build succeeded
2020-08-30T20:53:55.070715+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=billionaireboysclub.herokuapp.com request_id=d0cb7997-13a0-4e27-945e-6f04d471f5e7 fwd="107.184.213.12" dyno= connect= service= status=503 bytes= protocol=https
2020-08-30T20:53:55.776349+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=billionaireboysclub.herokuapp.com request_id=64a55a40-5c9e-4c9e-b351-9120b8d87e1a fwd="107.184.213.12" dyno= connect= service= status=503 bytes= protocol=https
2020-08-30T20:59:14.000000+00:00 app[api]: Build started by user mallkz#hotmail.com
2020-08-30T20:59:46.151834+00:00 app[api]: Deploy 52d5b11d by user mallkz#hotmail.com
2020-08-30T20:59:46.151834+00:00 app[api]: Release v14 created by user mallkz#hotmail.com
2020-08-30T20:59:54.000000+00:00 app[api]: Build succeeded
2020-08-30T21:05:42.259926+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=billionaireboysclub.herokuapp.com request_id=63abbf21-aa34-433c-b9e6-8a708810e334 fwd="107.184.213.12" dyno= connect= service= status=503 bytes= protocol=https
2020-08-30T21:05:43.029607+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=billionaireboysclub.herokuapp.com request_id=91edc538-2ef0-4f8e-88e3-5bb91007e6c6 fwd="107.184.213.12" dyno= connect= service= status=503 bytes= protocol=https

Related

ML deployment in Heroku

Iam doing a deployment in Heroku but failed as below log. Any advise would be appreciated.
*Procfile was added:web: gunicorn app:app
*requirements witouth versions
*runtime: python==3.9.13
*flight_rf.pkl is a 560+mb (model info) file in github (should I trim the model file or just the config issue,hmm)
2022-10-24T10:56:06.842035+00:00 app[web.1]: model = pickle.load(open("flight_rf.pkl","rb"))
2022-10-24T10:56:06.842035+00:00 app[web.1]: _pickle.UnpicklingError: invalid load key, 'v'.
2022-10-24T10:56:06.842315+00:00 app[web.1]: [2022-10-24 10:56:06 +0000] [10] [INFO] Worker exiting (pid: 10)
2022-10-24T10:56:07.538013+00:00 app[web.1]: [2022-10-24 10:56:07 +0000] [4] [WARNING] Worker with pid 9 was terminated due to signal 15
2022-10-24T10:56:07.621643+00:00 app[web.1]: [2022-10-24 10:56:07 +0000] [4] [INFO] Shutting down: Master
2022-10-24T10:56:07.621731+00:00 app[web.1]: [2022-10-24 10:56:07 +0000] [4] [INFO] Reason: Worker failed to boot.
2022-10-24T10:56:07.791193+00:00 heroku[web.1]: Process exited with status 3
2022-10-24T10:56:07.880199+00:00 heroku[web.1]: State changed from up to crashed
2022-10-24T10:56:31.496146+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=nzairfare.herokuapp.com request_id=09c72ff6-67d7-47de-a02a-57173824b6ed fwd="121.75.218.134" dyno= connect= service= status=503 bytes= protocol=https
2022-10-24T10:56:31.879287+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=nzairfare.herokuapp.com request_id=efd809eb-b825-4af3-9530-6a75a28f0a17 fwd="121.75.218.134" dyno= connect= service= status=503 bytes= protocol=https
Thank you!

MERN app deployed on heroku returns status 400: Not Found

I can successfully deploy my app cfmernportfolio to heroku, but it returns a page that just says "not found"
I tried doing the heroku restart, clearing the caches, and changed the port proxy from 5000 to 8000, but nothing worked.
When I open this site on localhost, it appears just fine. I posted the website before under cfmerportfolio, and it worked. But I had to redeploy it after making some changes to the design. That's when the errors started
Below is the link to the github
https://github.com/Bl1xvan/nodeportfolio
This is what the heroku logs say
2022-09-08T20:50:50.913239+00:00 app[web.1]:
2022-09-08T20:50:50.913255+00:00 app[web.1]: > nodeportfolio#1.0.0 start
2022-09-08T20:50:50.913255+00:00 app[web.1]: > node index.js
2022-09-08T20:50:50.913256+00:00 app[web.1]:
2022-09-08T20:50:51.352016+00:00 app[web.1]: server is listening on port 20867...
2022-09-08T20:50:51.591682+00:00 heroku[web.1]: State changed from starting to up
2022-09-08T20:50:52.478564+00:00 heroku[router]: at=info method=GET path="/" host=cfmernportfolio.herokuapp.com request_id=aee12ac1-d244-45af-8978-2909cdd05e14 fwd="98.109.162.218" dyno=web.1 connect=0ms service=9ms status=400 bytes=216 protocol=https
2022-09-08T20:50:52.620136+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=cfmernportfolio.herokuapp.com request_id=31c03a90-0faa-40ea-8e74-66f614af7ab4 fwd="98.109.162.218" dyno=web.1 connect=0ms service=2ms status=400 bytes=216 protocol=https
2022-09-08T21:07:58.809104+00:00 heroku[router]: at=info method=GET path="/" host=cfmernportfolio.herokuapp.com request_id=9b493df4-b6db-4c5a-b079-f5ab29af27d3 fwd="98.109.162.218" dyno=web.1 connect=0ms service=2ms status=400 bytes=216 protocol=https
2022-09-08T21:08:00.169483+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=cfmernportfolio.herokuapp.com request_id=853a5c8e-3c92-4a8a-b810-861ea6877df3 fwd="98.109.162.218" dyno=web.1 connect=0ms service=4ms status=400 bytes=216 protocol=https

Macos - Heroku error code H=10 (Twitter Opensea.io Sales Bot)

I'm facing the problem showing below on HEROKU. I'm using this GitHub Program (https://github.com/dsgriffin/opensea-sales-twitter-bot)
and deployed it 1:1 in Heroku. The current status is that the app is deployed, but I can't open the app. If I try, this message appears.
This is the message:
ug 17 03:50:12 kidpunksbot heroku/router at=error
code=H10 desc="App crashed" method=GET path="/favicon.ico"
host=kidpunksbot.herokuapp.com request_id=d146801e-6e51-424d-abe1-9b111d06b080
fwd="79.229.5.11" dyno= connect= service= status=503 bytes= protocol=https
check out the following service: https://nft-bots.io/

Can anyone understand my hosting heroku problem

can anyone understand why my heroku app keeps returning an "Internal Server Error". when I run it locally it all seems to work fine. im using Knex, express and postgresql and when I run heroku logs --tail, I get these errors (which to me looks like the routes are broken, except locally is fine),.
the GitHub repo is: https://github.com/jamesgill11/quiz-server.git
these are my error. if any other code is needed I'm happy to post up.
2021-02-23T12:55:19.845454+00:00 heroku[router]: at=info method=GET path="/" host=my-quiz-server.herokuapp.com request_id=10a882db-8dc5-4386-8522-f8b670239dfd fwd="188.223.116.76" dyno=web.1 connect=0ms service=19ms status=404 bytes=281 protocol=https
2021-02-23T12:55:20.383722+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=my-quiz-server.herokuapp.com request_id=50be0650-dd26-476a-bb67-9e042d36bb2e fwd="188.223.116.76" dyno=web.1 connect=1ms service=8ms status=404 bytes=281 protocol=https
2021-02-23T12:55:23.452736+00:00 heroku[router]: at=info method=GET path="/" host=my-quiz-server.herokuapp.com request_id=f0d4d743-42a3-4d62-8b19-063de3f19524 fwd="188.223.116.76" dyno=web.1 connect=0ms service=2ms status=404 bytes=281 protocol=https
2021-02-23T12:55:26.686396+00:00 heroku[router]: at=info method=GET path="/api/questions" host=my-quiz-server.herokuapp.com request_id=76aa1e8c-85d1-4e63-864b-9e3eca2431de fwd="188.223.116.76" dyno=web.1 connect=0ms service=36ms status=500 bytes=289 protocol=https
2021-02-23T12:55:26.810018+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=my-quiz-server.herokuapp.com request_id=67fb709a-451e-4bcc-a758-0ed01e5de4da fwd="188.223.116.76" dyno=web.1 connect=0ms service=2ms status=404 bytes=281 protocol=https
also I don't have any routes /favicon.ico or any favicons? so im not sure they this is there.
thanks in advance for any help given.

Application error when deploying Sinatra app using DataMapper + postgres

I'm trying to deploy a simple Sinatra app to Heroku, I'm using postgresql, my Gemfile looks like this:
gem 'sinatra'
gem 'data_mapper'
gem 'dm-postgres-adapter'
gem 'pg'
gem 'database_cleaner'
gem 'bcrypt-ruby'
gem 'rack-flash3'
gem 'sinatra-partial'
gem 'mandrill-api'
group :development, :test do
gem 'capybara'
gem 'shotgun'
gem 'rspec'
gem 'debugger'
end
I have the pg add-on on my app, This is how my datamapper_setup.rb looks:
env = ENV['RACK_ENV'] || "development"
DataMapper.setup(:default, ENV['DATABASE_URL'] || "postgres://localhost/bookmark_manager_# {env}")
DataMapper.finalize
DataMapper.auto_upgrade!
I don't know how to interpret the logs from heroku but here they are:
2014-03-29T13:35:47.674101+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=staging-bookmarkmanager.herokuapp.com request_id=304ebd75-859f-4768-9766-f25ca2fdf3ba fwd="77.99.158.5" dyno= connect= service= status=503 bytes=
2014-03-29T13:35:48.545822+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=staging-bookmarkmanager.herokuapp.com request_id=1669c22c-60c2-4d74-9967-7e60b32d49ad fwd="77.99.158.5" dyno= connect= service= status=503 bytes=
2014-03-29T13:35:51.486444+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=staging-bookmarkmanager.herokuapp.com request_id=6c70962d-7313-4dee-82de-5c12ca091aab fwd="77.99.158.5" dyno= connect= service= status=503 bytes=
2014-03-29T13:35:52.025452+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=staging-bookmarkmanager.herokuapp.com request_id=9166bd84-2187-4d2c-bf01-13a1a5574ac1 fwd="77.99.158.5" dyno= connect= service= status=503 bytes=
Any ideas on why is this happening? I've tried several approaches already with no luck.
In the additional logs you posted, it would seem that the database is refusing your connection:
FATAL: role "xbwj…jedif" is not permitted to log in (DataObjects::ConnectionError)
Verify the that the credentials provided by ENV['DATABASE_URL'] are the same as those listed in the output of heroku config.