It either just freezes without any response or gives a bunch of mistakes like:
asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 8 expected bytes
Server closed the connection: 0 bytes read on a total of 8 expected bytes
Locally everything runs fine. I double checked the api_id, api_hash and bot_token.
I have been using Replit to run telegram bots for more than 2 months, but now something seems to have broken.
It didn’t work (and telethon was up to date). I then additionally tried to upgrade pip, and now this line actually gives a mistake.
An error occurred during configuration: option use-feature: invalid choice: 'content-addressable-pool' (choose from 'fast-deps', 'truststore', 'no-binary-enable-wheel-cache').