Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

throws out #7

Closed
Mogerto opened this issue Dec 15, 2022 · 12 comments
Closed

throws out #7

Mogerto opened this issue Dec 15, 2022 · 12 comments

Comments

@Mogerto
Copy link

Mogerto commented Dec 15, 2022

throws out at the search stage. Tried different accounts, but the problem is everywhere. You just start searching and exiting telegrams.

@Alb-310
Copy link
Owner

Alb-310 commented Dec 19, 2022

can you develop ?
I need more details to understand your problem

@Alb-310 Alb-310 added the no answers Github user is no longer answering label Dec 23, 2022
@Alb-310 Alb-310 closed this as completed Dec 23, 2022
@NoPlagiarism
Copy link

Same problem

@NoPlagiarism
Copy link

Please, reopen this. I guess I found the problem

LonamiWebs/Telethon#4051

@NoPlagiarism
Copy link

@Alb-310
Copy link
Owner

Alb-310 commented Jul 27, 2023

Same problem

Hello, I need more details and context on the issue

@NoPlagiarism
Copy link

I need more details and context on the issue

It's just as is. You can scroll mentioned issue on telethon about why it's happening (TL:DR - Telegram servers found a suspicious connection and terminating it along with other sessions)

It can be fixed adding those parameters to TelegramClient

dict(
    device_model = "A320MH",          # On PC, device_model usually means motherboard
    app_version = "2.1.4a",                 # Typed a random semantic version
    system_version = "Windows 11",  # I guess any OS is ok. In issues above there's a mention of any "4.16.30-vxCUSTOM"
    lang_code = "en",
    system_lang_code = "fr-FR"          # Any random language codes
)

@NoPlagiarism
Copy link

Also, @Alb-310, what exactly details and context do you need?

@Alb-310
Copy link
Owner

Alb-310 commented Jul 27, 2023

Also, @Alb-310, what exactly details and context do you need?

Screenshots or logs. I will investigate this issue but it will be difficult to solve since any of my accounts are impacted so it's hard to test if it's solved

@Alb-310 Alb-310 reopened this Jul 27, 2023
@Alb-310 Alb-310 removed the no answers Github user is no longer answering label Jul 27, 2023
@NoPlagiarism
Copy link

It doesn't leave any proper logs (as I remember) and it's hard to reproduce. It's just happens randomly, maybe sus accounts, such as accounts in spam ban (mine has one), are more in danger, than other

I fixed that problem once using parameters above, and now I even can't even reproduce it again

@NoPlagiarism
Copy link

Oh... I reproduced it (using CLI). It happened after search, so it really didn't leave any logs

@Alb-310
Copy link
Owner

Alb-310 commented Jul 27, 2023

Okay I see 🤔 Thanks I will investigate and try to fix the issue

@Alb-310
Copy link
Owner

Alb-310 commented Oct 25, 2023

Hello @NoPlagiarism, I added all parameters to TelegramClient in 1.4 hopefully it fixes the problem 👍

@Alb-310 Alb-310 closed this as completed Oct 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants