i'm trying to deploy a python discord bot to AWS ElasticBeanstalk.
The EB deploy phase ends succesfully and my bot responds in the discord channel :
But i still have errors in the AWS logs with the healthchecker :
I'm not specialized in AWS management, i'm learning, does anyone have an idea ?
Any help will be appreciated.
Related
I used Heroku free account to deploy my 3 Telegram bot using Python Telegram Bot. In each there is a sqlite DB.
From 10 days (or more) no one works. The logs is empty. I tried to deploy them again but nothing, they still not working and in the logs there is only the new deploy.
Has anything changed in Heroku or in the API?
I am a beginner python programmer. I made a Telegram bot in Django framework. The bot's files are located in myapp/management/commands/bot.py. I am using 2 terminals on my computer to use both the bot and the Django administration on the local network. 1-terminal python manage.py bot. 2-terminal python manage.py runserver. I want to deploy this project in the digital ocean. What should I do for the Django administration and bot to work.Please help me!!!
It's a little bit not an easy task to do, you are have to deploy your Django app, you can check this tutorial from digital ocean:
https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-20-04
then you are trying to create systemd or service or deamon to achieve what you did in the 2nd terminal
I am trying to create a GitHub Webhook that pings a URL whenever one of my repos is updated. I want to ping my application running on Heroku, but I am not sure how to setup Heroku to accept an external webhook.
I see that Heroku can create webhooks, but I don't see if Heroku can receive a payload from a webhook.
Is this possible?
EDIT:
I should add, the idea would be when Heroku receives a response from the webhook, a command from the Heroku Scheduler add-on would run. So I guess the real question is if it's possible to have Heroku receive a webhook response and then run a Heroku Scheduler add-on command.
So when i run the application in amazon instance it tries to get the data from google inthis image
when it goes to the callback this is the output i get
I have run an python application with google Oauth2 and ran it successfully locally. Gunicorn serves http and google Oauth2 requires hhtps. I locally used certificates i have generated and it worked successfully, but when i try to deploy in Amazon Ec2 instance, it doesn't work. Did anyone face such kind of problem? will using nginx be helpfull in that case?
I followed Heroku's guide to using its websockets to implement a real-time chat app using Python, Flask, redis, and Heroku. However, I none of the messages that I enter appear in the designated div container. When I check the console from firefox firefly, I constantly get
cannot connect to ws://host_url/submit server
cannot connect to ws://host_url/receive server
You can see the same error from Heroku's official demo as well. I even clone the provide github repository, but it also had the same error, and none of the messages appeared. I am not sure if there is a problem with Heroku, or I have some misunderstanding. Could anyone give me some guidance?