TelegramOnlineSpy icon indicating copy to clipboard operation
TelegramOnlineSpy copied to clipboard

Logged out on all devices after adding a user

Open rufus20145 opened this issue 1 year ago • 4 comments

Main idea is in title. Installed telethon, cloned repo, created application and bot, ran python spy.py with my python 3.11, sent 'add' command to bot, but got logged out on all my devices instead of something other.

rufus20145 avatar Jul 07 '23 21:07 rufus20145

try client = TelegramClient('current-session', API_ID, API_HASH, system_version="4.16.30-vxCUSTOM")

DUBINCA avatar Jul 15 '23 12:07 DUBINCA

I experienced the same problem when I was debugging locally, everything worked well, but when I moved this code to the cloud on another server, when I started it, I was immediately thrown offline. I got scared and thought that I could have been hacked, what was it and why did it happen?

a-poluyanov avatar Oct 29 '23 22:10 a-poluyanov

I experienced the same problem when I was debugging locally, everything worked well, but when I moved this code to the cloud on another server, when I started it, I was immediately thrown offline. I got scared and thought that I could have been hacked, what was it and why did it happen?

@a-poluyanov, (i'm russian) it's because spammer using telethon, Telegram's servers learned to detect spammers and block all session and (in some situations) block account for 24 hours. Try to use:

try client = TelegramClient('current-session', API_ID, API_HASH, system_version="4.16.30-vxCUSTOM")

Where bold "CUSTOM", name of "custom system version". For example: system_version="4.16.30-vxNekoNya")

NekoNya333 avatar Jan 15 '24 23:01 NekoNya333

I experienced the same problem when I was debugging locally, everything worked well, but when I moved this code to the cloud on another server, when I started it, I was immediately thrown offline. I got scared and thought that I could have been hacked, what was it and why did it happen?

i was scared too when i'm logout from all my devices. if you have more information - tell me here please

NekoNya333 avatar Jan 16 '24 00:01 NekoNya333