The application works fine on my PC. No timeouts. When I turned it off to move it to my server, at first after logging into the session with phone number, password, and login code, this error appeared:
telethon.errors.rpcerrorlist.FloodWaitError: A wait of 31387 seconds is required (caused by ResolveUsernameRequest)
on line
client.get_messages(channel_name, ids=141)
I waited way longer than the ~8+ hours.
My PC program was working fine. I again stopped it and opened the same script on my server.
Now the wait is doubled:
telethon.errors.rpcerrorlist.FloodWaitError: A wait of 67203 seconds is required (caused by ResolveUsernameRequest)
on same line. Unusable.
This is MY OWN channel owned by the very account I sign in to that I'm getting the message from...