Same problem. It looks like Repl.it cannot connect to Telegram server, but when I check the port in my repl, it works.
My code also perfectly works from Windows cmd. What is it that makes my code run with Repl.it differently?
The DC2 port connection is working (pls see first white row).
This error occurs with both user bot libraries: pyrogram and telethon.
However, aiogram library works (it does not require creating a connection session with your phone number and hash key)