Giter VIP home page Giter VIP logo

Comments (6)

levlam avatar levlam commented on September 23, 2024

You need to find the cause of the issue. For example, check the way you get updates.

from telegram-bot-api.

si2w avatar si2w commented on September 23, 2024

If I changed the bot token an got a working software. The issue shouldn't be on my side, right ? If I need to check something else, explain me what. I tested already some much things. Thanks for your help.

from telegram-bot-api.

levlam avatar levlam commented on September 23, 2024

If I changed the bot token an got a working software. The issue shouldn't be on my side, right ?

No, this implies nothing.

Do you use api.telegram.org?

from telegram-bot-api.

si2w avatar si2w commented on September 23, 2024

I don't define any host so defaults are used.

According to the documentation, https://api.telegram.org/bot is used.
class telegram.Bot(token, base_url='https://api.telegram.org/bot', base_file_url='https://api.telegram.org/file/bot', request=None, get_updates_request=None, private_key=None, private_key_password=None, local_mode=False)

I check also dns resolution :
total_time=0; for i in {1..10}; do sleep 30;query_time=$(dig +noall +stats api.telegram.org | awk '/Query time:/ {print $4}'); echo "$query_time";total_time=$((total_time + query_time)); done; mean_query_time=$(echo "scale=2; $total_time / 10" | bc); echo "Mean Query Time: $mean_query_time ms"
The result is Mean Query Time: .80 ms Max 4ms

from telegram-bot-api.

levlam avatar levlam commented on September 23, 2024

Could you write details to https://t.me/tdlib_bot?

from telegram-bot-api.

si2w avatar si2w commented on September 23, 2024

The problem disappeared without changing anything on my side (no reboot, restart, ...).

In the meantime, I did pcap when everything works well, take logs of typical timings. If the issue come back, I will do a more detailed report on https://t.me/tdlib_bot. Thanks

from telegram-bot-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.