Telethon – The server closed the connection error – Telegram API
I'm unable to connect to Telegram using Telethon. from telethon import TelegramClient import logging api_id = 1111111 api_hash = 'd0111111111111111111111111111111' client = TelegramClient('session_name', api_id, api_hash) logging.basicConfig(level=logging.DEBUG) client.start() Judging by the log, it seems it will connect and immediately disconnect. Telegram…