From 28e7426c2b248767774836db2281c20df1213b31 Mon Sep 17 00:00:00 2001 From: Karim Iskakov Date: Tue, 20 Jun 2023 11:29:04 +0300 Subject: [PATCH] Fix HTTPX problem --- bot/bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bot/bot.py b/bot/bot.py index 7e464ec7b..2e0f28ad7 100644 --- a/bot/bot.py +++ b/bot/bot.py @@ -665,6 +665,8 @@ def run_bot() -> None: .token(config.telegram_token) .concurrent_updates(True) .rate_limiter(AIORateLimiter(max_retries=5)) + .http_version("1.1") + .get_updates_http_version("1.1") .post_init(post_init) .build() )