Closed shirakun closed 1 year ago
[2022-10-16 12:36:28] [critical] Send an email to recover@telegram.org, asking to unban the phone number +8613055119456, and shortly describe what will you do with this phone number.
The banned phone number is in the logs. does this number belong to API Id?
[2022-10-16 12:36:28] [critical] Send an email to recover@telegram.org, asking to unban the phone number +8613055119456, and shortly describe what will you do with this phone number.
The banned phone number is in the logs. does this number belong to API Id?
Hi The api id is created through another account, not related to this number This number was intentionally ban by me by passing unknown device number
What I want to say is that when multiple sessions are added to the TelegramApiServer
If one session is banned like this, the whole TelegramApiServer will exit and cannot be restarted with the command php server.php --session=*
.
I have now modified server.php to continue to run in the event of a session exception However, when accessing this session, TelegramApiServer is blocked and cannot handle other requests.
Is there a way to delete or deactivate the abnormal session and ensure the rest of the session is working properly?
I also found that some accounts that can't initiate sessions also cause TelegramApiServer to stop when some api is called.
The proper way - start different process/container per session.
Hi
After I run through
php server.php --session=*
and log into multiple accounts, If one of the accounts is banned, the server will stop running When I run it again withphp server.php --session=*
it stops immediately because the sessionfile contains a banned account, but I'm not sure which one I can only delete all sessions and log in againWhen I read the code, I found that this exception is thrown by MadelineProto, then MadelineProto will stop, but at the same time TelegramApiServer also terminates
How can I catch the corresponding exception and ignore or delete the corresponding session or any other way to keep TelegramApiServer running?
This is Log