-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
account banned #824
Comments
I have never had this issue. Maybe Telegram restricts new apps. Maybe you're using a virtual phone number. Maybe it's location based. |
Did you ever get unbanned? |
@mike-johnson-jr |
It would be wonderful if you could find out what version starts to "ban your phones"… I really doubt the version matters. |
@goldeneagle66 what version are you using? and how are you using a proxy? do you think it may be location based? I tried signing up again multiple times on various US phone numbers and kept getting banned, with Telethon and with other libraries too |
@Lonami |
I downgraded to Telethon 0.18 and I no longer get banned |
Would you mind trying to upgrade one by one version until you got banned so we can find what version "breaks" it? |
I keep having to register new telephone numbers for testing. I've done so about 10 times now. I'd rather not continue to abuse their (and the telephone number app's) system by evading their bans and using their systems in a ways that were not originally intended. |
Right… but I won't be maintaining an old version. |
I'll get back to you on this. |
I installed 0.18.3, started client from session started on 0.18, no problems |
Thanks, the closer the working and failing versions, the easier to find what could have started causing these bans… |
I installed 0.19.0.1 and I get the ban immediately after authorization. I don't use proxy or virtual phone number. |
So the issue must be somewhere in v0.18.3...v0.19 I guess? |
0.18.3 is right before 0.19. |
After reviewing the changes with @sovietspaceship, we think the most possible change in there is the change from layer 75 to layer 76. The pip install --upgrade git+https://github.com/LonamiWebs/Telethon@layer75 |
the last working version after which I do not get a ban is 0.18.3 |
@goldeneagle66 yes, like @mike-johnson-jr pointed out. I'm now asking him (or anyone) to try installing the version suggested by my previous comment. |
@goldeneagle66 @mike-johnson-jr how and were would it be possible to get some test phone numbers so I could try this out myself? I need some phone numbers if we want to tackle this issue. If you could also provide some of the numbers that have already been banned, that would be helpful. Feel free to message them privately to me. |
@Lonami I think he used the "TextFree" app on Android. Good luck! |
@Lonami today I'll try the code from your link I use the Russian SMS acceptance service : |
@remixsan thanks, I had tried "Text Now" before. |
I get this error when trying to import TelegramClient after installing git+https://github.com/LonamiWebs/Telethon@layer75:
|
Right. Will fix in a bit. |
@mike-johnson-jr please run |
I need to wait 3 more hours before I can login again. |
Just a few hours ago I tried these code lines, directly copying and pasting from https://docs.telethon.dev/en/stable/basic/signing-in.html from telethon import TelegramClient
# Use your own values from my.telegram.org
api_id = 12345
api_hash = '0123456789abcdef0123456789abcdef'
# The first parameter is the .session file name (absolute paths allowed)
with TelegramClient('anon', api_id, api_hash) as client:
client.loop.run_until_complete(client.send_message('me', 'Hello, myself!')) and a few minutes later my number was blocked, this still happens in current version 1.33.1 |
how to avoid this? it was ok when I loggined the offical app, after weeks, I authorized to telethon(1.24) with own app-id, a few seconds later, it was banned. I found something in log: mtprotosender-_handle_bad_server_salt, msg: Handling bad salt for message 7314208965694589988 |
I think they just ban bots directly and automatically. I had to explain my project: So they unbanned the account that was doing the access using Telethon: I eventually implemented it directly using the telegram api: |
That code is safe. Telegram is the one deciding the bans.
This is expected. The first message will fail until the correct salt can be acquired. Nothing has changed since my last comments here. |
thanks for your reply, so that's because antispam is too abnormal? or there may be undiscovered instances of abuse? |
For tracking.
I used the guide from (here)[https://docs.telethon.dev/en/stable/basic/signing-in.html#id2]
got a ban for ~2h. |
Hi, im facing this same problem, only reading msg from one channel |
I have two apps, one of them based on telethon, and it works without any issues. Another one is based on gramjs and every time when I try to use it - I'm going to be banned. The only difference between two apps is that I specify non-standard/default values for |
Can you please elaborate on what is x-bit signal security in this context? And provide source, if possible. |
It sounds like a important information, can you please give some more details? It's a emergency. |
Is any decisions to fix it? |
I think I have a lot of experience with account bans caused by the Telethon library |
This comment was marked as duplicate.
This comment was marked as duplicate.
|
我最多的时候一天发送2000多条消息,但是第二天就会被封号 |
触发任何限制之后,建议不要忽视,并立即停止程序,这样能很大程度上避免被封号 |
有没有遇到过这种报错,哥们还想私信你找不到入口 |
这是异步方法,你需要使用await 关键字调用 |
i got banned too instantly. Just logged in |
Created an account. But the ban arrived 30 seconds after entering. Here is my code:
Didn't even get to the code
|
Banned for event listening for ~10 min:
|
有处理办法吗? |
Same here got banned for listening the group. Got ban forever. |
Got new phone number and got banned just during the process of getting credentials. So Telegram blocked me after right after connection. I think the reason is that I were using the desktop telegram on the same computer launching the telethon script. Desktop version was working while I was launching the script. |
New phone numbers are flagged as spam when using this framework. |
This is not the case. I'm 100% sure the reason is the simultaneous usage of Telegram Desktop and the script. Somehow credentials got mixed and Telegram banned the phone number. |
Ban еven on a computer with a newly installed system without telegram. Even an account with a 3-year run |
When using the library, the account is immediately banished
How to avoid this?
(edit from @Lonami)
For everyone still coming here, see my comment:
The text was updated successfully, but these errors were encountered: