Forums

Telethon: ConnectionError: Connection to Telegram failed 5 time(s)

17:51 ~/comunidades $ python comunidad.py Attempt 1 at connecting failed: ConnectionRefusedError: [Errno 111] Connect call failed ('149.154.167.92', 443) Attempt 2 at connecting failed: ConnectionRefusedError: [Errno 111] Connect call failed ('149.154.167.92', 443) Attempt 3 at connecting failed: ConnectionRefusedError: [Errno 111] Connect call failed ('149.154.167.92', 443) Attempt 4 at connecting failed: ConnectionRefusedError: [Errno 111] Connect call failed ('149.154.167.92', 443) Attempt 5 at connecting failed: ConnectionRefusedError: [Errno 111] Connect call failed ('149.154.167.92', 443) Attempt 6 at connecting failed: ConnectionRefusedError: [Errno 111] Connect call failed ('149.154.167.92', 443) Traceback (most recent call last): File "/home/herchi/comunidades/comunidad.py", line 47, in <module> bot = TelegramClient('god', api_id, api_hash).start(bot_token=BOT_TOKEN)

It works in local but not in pythonAnywhere.

Free accounts have limited internet access

So how do I know that paying this is going to work?

I do not know. There could be other problems, but if you downgrade in 30 days we will refund.