Switch to English?
Yes
Переключитись на українську?
Так
Переключиться на русскую?
Да
Przełączyć się na polską?
Tak
Post your project for free and start receiving proposals from freelancers within minutes after publication!

Telegram bot in Python, Edits.

Translated18 USD

  1. 10474
     20  0

    1 day56 USD

    Hello! The situation where the bot suddenly stops uploading files while maintaining a stable ping to Telegram servers is most often related to configuration-level limitations of the library or network stack, rather than a physical lack of connectivity. Since the bot has been running for a year, it is likely that the traffic volume has changed or Telegram has updated interaction protocols, leading to timeouts in your current code.
    🔍 Possible causes and solutions:
    1. Standard client limitations (Timeout settings)
    Most libraries (aiogram, telethon, pyrogram) have a default timeout of 10-20 seconds. If the photos have become heavier or the communication channel temporarily dips, the bot drops the connection.
    * Fix: You need to explicitly increase the request_timeout in the session or client settings to 60+ seconds.
    2. DNS or IPv6 issues
    Often, Telegram servers try to connect via IPv6, which may work unstably on hosting. The ping may go through IPv4, so you do not see any issues.
    * Fix: Force the bot to operate only through IPv4.
    3. Blocking at the Cloudflare/MTU level
    If your server is behind certain firewalls, large packets (photos) may be dropped due to incorrect MTU size, while small packets (ping) pass through.
    * Fix: Check and configure the server's network interface.
    4. Telegram API limitations (Local Bot API Server)
    If the bot uploads too much media, the standard Telegram server may impose limits.
    * Fix: Switch to your own Telegram Bot API Server (local server), which removes file size and upload speed limitations.
    📋 My correction plan:
    * Audit PM2 logs and code: I will thoroughly investigate the error (likely a ReadTimeout or ConnectTimeout).
    * Network diagnostics: I will check the routing specifically for large requests to api.telegram.org.
    * Code adjustments:
    * Implement asynchronous chunks for uploads.
    * Increase timeout limits in the HTTP client (aiohttp/httpx).
    * Add a Retries mechanism (automatic retries on timeout).
    * Testing: Check file uploads of various sizes under load.
    ⏱ Deadlines and cost:
    * Execution time: 2–5 hours (I will do it today).
    * Cost: 1,500 – 2,500 UAH (depends on whether it is just timeout settings or a problem with the server's network configuration).
    Why me:
    As a specialist in automation and Telegram API (30+ projects), I have repeatedly encountered similar "phantom" timeouts.

  2. 8418
     100  0

    1 day18 USD

    Ready to help you right now
    Which Python library is the bot written in?

  3. 14508
     24  0

    1 day18 USD

    Hello, I am ready to take a look, I think we will resolve it within an hour. I have experience working with bots in all languages. Please let me know where the bot is deployed.

  4. 1495    13  0
    1 day34 USD

    Hello! I can implement it. Write to me privately to discuss all the details. I will be glad to cooperate!

  5. 9392    20  0   1
    1 day45 USD

    Good day. I will fix your Telegram bot on Python very quickly, feel free to contact me.

  6. 691    5  0
    1 day18 USD

    Hello!

    I have reviewed the problem description — the situation is clear, and judging by the symptoms (timeout when downloading files from Telegram with a stable ping), the cause is likely due to changes on the Telegram API side, server-side limitations (timeouts, limits, TLS/SSL), or in the logic of file upload processing in the bot itself.

    I have experience working with Telegram bots in Python, including uploading/sending media through the API, as well as debugging similar failures.

    - quickly localize the problem (check the logic of file uploads, reproduce the error)
    - check the operation of the Telegram API (file_path, getFile, limitations)
    - analyze the server's network settings (timeouts, firewall, hosting limitations)
    - determine if this is related to library updates or Telegram itself
    - make corrections and test the stability of uploads

    Also, if necessary, I will optimize file processing (retries, timeouts, asynchronous processing) to avoid similar problems in the future.

    I guarantee that I will understand the cause and promptly resolve the issue. I am ready to start immediately after discussing the details.

  7. 12771    599  0
    3 days18 USD

    Good evening, I can look at your problem. Feel free to reach out......

  8. 332    5  0
    1 day18 USD

    Good evening, I will do everything quickly and efficiently within a few hours, waiting for you in private messages.

  9. 379    1  0
    2 days18 USD

    Hello! I am ready to take on the project.

    I think the reason may be an outdated version of python-telegram-bot or aiogram (depending on what you are using). The fact that the host is pinged is not an indicator, because the download goes through a separate Telegram CDN. All of this can be resolved in a short time - 1-2 days, depending on the problem.

    Please send the logs from pm2 for assessment.

  10. 940    5  0
    1 day18 USD

    I will fix the error today, most likely it is enough to change the file upload method to the new one and everything will work. Message me privately, I will do it.

  11. 937    5  0   1
    1 day23 USD

    Hello!

    We are a team that has been developing bots for over five years. Our main tools are NodeJS and Python. We also work with connecting to any databases (MongoDB, SQL, Postgres, etc.), integrating with payment systems, API services, and plugins.

    We have encountered such problems in our projects, are familiar with most of the causes, and know how to solve them, ready to help you!
    After completing the development, we guarantee to provide technical support and consultations for 10 days.

    You can find examples of already implemented and working products on our website - https://vaysed.me/
    or in the freelance profile.

    We look forward to your response!

  12. 1580    3  0
    1 day18 USD

    Hello, I have extensive experience in bot development. I am ready to quickly and efficiently solve your problem.

  13. 716    11  1
    1 day18 USD

    Hello, let me help you, for a cup of coffee......) No jokes........

  14. 2264    18  3
    1 day34 USD

    Hello! The media loading timeout (with stable ping) is usually an issue with IPv6, MTU, or API limits, rather than the code itself.

    My plan:

    - Diagnosis: checking curl requests and network interfaces from the server.
    - Fix: network configuration or patching libraries (aiogram/telebot).

    I charge 1500 UAH for a complete "turnkey" solution. I am ready to connect via SSH and find the cause right now.

  15. 4987    41  4   1
    3 days18 USD

    Good day!

    I have extensive experience in developing and fixing Telegram bots in Python. I am ready to quickly diagnose and fix the issue with your bot regarding photo uploads through the Telegram API, taking into account the pm2 logs and timeout.

    Message me privately, and we will clarify the details.

  16. 588    2  0
    1 day18 USD

    Hello.

    Usually, such failures are related to `file_path`, the download method, the HTTP client, timeouts, or the server environment.

    Before starting work, I need to clarify:
    - which framework is being used
    - whether there is access to the code, logs, and server
    - whether there have been any updates or changes on the server recently

    I am ready to connect immediately after receiving access.

  17. 401  
    2 days18 USD

    Hello! I am ready to take on the task. I have experience working with Telegram API and APIs in general. Let's discuss the details to quickly and efficiently solve the problem!

  18. 327  
    1 day18 USD

    Hello

    I can take a look, I have extensive experience with API adaptations and systems. I will do it quickly.
    Write to me, we will agree.

  19. 1251    35  1   3
    1 day20 USD

    Hello Denis, I will make the fix in the shortest time.
    I have extensive experience in developing Telegram bots. I am ready to start right now.

  20. 4200    123  0
    1 day23 USD

    available for work. experience with tg bots exists. let's see what you have there

  21. 414  
    1 day18 USD

    Good day! 👋

    I have experience in developing and supporting Telegram bots in Python, including working with files, the Telegram API, and debugging production issues (timeouts, network, API limitations).

    Experience in similar tasks

    I have worked on tasks:

    — Telegram bots (aiogram / pyTelegramBotAPI)
    — processing and uploading files (photos, videos)
    — working with the Telegram File API (getFile / download)
    — debugging timeouts and network issues
    — working with servers (VPS, Docker, pm2)
    — analyzing logs and quickly fixing production bugs

    How I will solve your problem

    Analysis

    — I will check the logs and the place where the timeout occurs
    — I will verify the retrieval of file_path through the Telegram API
    — I will test file uploads directly

    Possible causes

    — changes in the Telegram API or limitations
    — issues with timeout / keep-alive
    — blocking or throttling from the server side
    — errors in processing file_id / file_path
    — network nuances (DNS, SSL, proxy)

    Solutions

    — I will fix the logic of file uploads
    — I will add retry + timeout handling
    — I will optimize requests to the Telegram API
    — if necessary — I will implement uploads through another approach (stream / chunk)

    Result

    — the bot will again reliably receive and send photos
    — the cause of the timeout will be eliminated
    — protection against similar failures in the future will be added

    I can quickly connect, review the code and logs, and fix the problem in a short time.

  22. 1267    35  1
    1 day18 USD

    Hello. You need to check the logs, the thing is that in some cases downloading photos from Telegram as before will not work, I have already encountered this. Please reach out.

  23. 193  
    1 day18 USD

    Good day, I have experience and will find out what the problem is and fix it.

  24. 229    1  0
    1 day18 USD

    Good day, I am ready to start fixing the bot, I have experience with similar bots, my direct specialty, I am ready to begin immediately.

  25. 93984    1263  1   10
    1 day34 USD

    Hello. I have extensive experience in developing Telegram bots. I am ready for collaboration.

  26. 286  
    7 days18 USD

    Good day!

    I have experience in developing and supporting Telegram bots in Python, including working with file uploads and the Telegram API 👍

    I am ready to quickly understand the problem, check the upload logic, network settings, and eliminate the cause.

    I can promptly find and fix the error without rewriting the bot 👌

    I am ready to start immediately.

  27. 1945    7  0
    1 day18 USD

    If the problem is specific, I will fix it without rewriting the bot. If something has changed in Telegram regarding the method's operation or it is related to the environment/requests/httpx/aiohttp — I will also quickly find and correct it. Such fixes are closed quickly if you provide access to the server/logs and code.

    Needed: access to the server or project archive + a piece of logs with the error.

  28. 4575    50  1
    1 day18 USD

    Good day, I am a Python developer with extensive experience in developing Telegram bots of various complexity. I can complete your order quickly and efficiently. Write to discuss the details, I am ready to start today. I will also upload your bot to the server for stable operation 24/7 and I will be responsible for the technical support of the bot for another month. This is included in the cost.

  29. 2469    8  1
    1 day18 USD

    Hello!

    I see that your task is not to "rewrite the bot," but to quickly find the cause of the failure and restore normal photo uploads, as the bot itself had been working stably for almost a year.

    What I can cover:
    — diagnostics to determine why the bot stopped downloading files from the Telegram API and where exactly the timeout occurs;
    — a targeted fix in Python/PM2/network logic without unnecessary interference in the working functionality;
    — verification after the correction to ensure that photo uploads work stably again.

    I work with Python, Telegram Bot API, VPS/Linux, logs, network failures, and support for existing bots, so I can promptly understand and fix the root of the problem.

  30. 1806    34  3
    1 day18 USD

    Good day, I am ready to review and promptly correct. Good day, I am ready to review and promptly correct.

  31. 726    9  1
    3 days18 USD

    Hello! After reviewing your project, I am ready to start working on it. I can offer optimal solutions to achieve the best result.

  32. Another 13 proposals concealed

Current freelance projects in the category Bot Development

Telegram Bot RPG

Hello, dear programmers! I am looking for a developer to create a Telegram project in the format of a text-based role-playing game (RPG) in the Eurovision universe (similar to text-based role-playing Club Romance). Please read the concept step by step and give your feedback on…

Gaming AppsBot Development ∙ 17 hours 18 minutes back ∙ 57 proposals

Technical Specification for Refinement of AI Bot for Generating Personalized Songs

TECHNICAL TASK FOR IMPROVING THE AI PERSONAL SONG GENERATOR BOTMAIN GOAL Create a stable premium product that: generates the highest quality personal songs; does not fabricate facts about the client; works stably under load; is easily scalable; allows for analysis and…

PythonBot Development ∙ 18 hours 10 minutes back ∙ 30 proposals

A bot needs to be created in Telegram for subscription payment.

45 USD

A bot needs to be created in Telegram where users can subscribe for access to the webcams located in the yard. Organize payment for two types of subscriptions (monthly and daily) in the bot. The bot should automatically check the payment and then provide access links.

PythonBot Development ∙ 1 day 10 hours back ∙ 78 proposals

Development of an AI consultant for a work visa verification website (WordPress)

Development of an AI Consultant for a Work Visa Check Website (WordPress) About the Project An English-language website is being developed for the preliminary check of eligibility for a work visa in Israel. An AI consultant in the format of an online chat is needed to assist…

AI & Machine LearningBot Development ∙ 1 day 16 hours back ∙ 35 proposals

SMM + content manager for an IT school - experience with funnels and course promotion

About us A young practical IT education project at the start. We are preparing the first batch of the PM course and building channels from scratch. We are looking for a person with whom we will grow. What needs to be done We have a vision, but no written strategy. We are looking…

Social Media Marketing (SMM)Bot Development ∙ 2 days 17 hours back ∙ 24 proposals

Client
Denis Dombrov
Ukraine Antoniny  12  0
Project published
2 months 13 days back
394 views
Tags
  • PM2
  • Telegram
  • API
  • python