Telegram Bot Flask Server Connection Fix

Job ID: 39067205

Budget: $10 – $30 AUD

I'm running the Telegram bot on the Tg group to respond to user commands. I've decided to make the bot available on my website to handle user commands but the bot is currently unable to connect to my Flask server which is also running in a virtual environment on my website. This is hindering its functionality and ability to interact over the website.

Things to consider:

1- Website is fully functional
2- I've setup the virtual server on my website to install python libraries that is required to run the Telegram bot and Flaks server
3- Flask server uses a different port (Not the default 5000) and is unable to handle the incoming http/s request that are being made to the bot via the URL
4- Script that runs the Flask server has some issues.

The bot.html file that handles user commands on my website needs to operate in the https protocol (Not the default http mode that Flask is running on).

The bot.html file should be accessible directly via https://mydomain/bot.html (No sub-directory such as https://mydomain/sub-directory/bot.html).

Key Requirements:
- Diagnose and fix the Flask server connection issue and make sure it can handle https requests from https://mydomain/bot.html
- Ensure the bot can connect reliably moving forward.
- Ensure the bot can fetch new buys from the Solana token and post it onto the telegram group
- Maintain clear communication throughout the troubleshooting process.



Ideal Skills:
- Extensive experience with Telegram bot development and troubleshooting.
- Deep understanding of server connection issues, particularly with self-hosted servers.
- Proficiency in handling and integrating with various third-party APIs.
- Excellent problem-solving skills and ability to work under pressure.

The issue needs to be resolved by the end of the week. There is an existing SSL certificate setup for the domain.
Related categories: JavaScript Python Linux Django Telegram API