danog / MadelineProto

Async PHP client API for the telegram MTProto protocol
https://docs.madelineproto.xyz
GNU Affero General Public License v3.0
2.88k stars 661 forks source link

Telegram's flood prevention system suspended this account #1559

Open YAMER1 opened 1 month ago

YAMER1 commented 1 month ago

As I understand it, this is a block, a ban. But I can log into my account from my phone and computer. Is only the API blocked? What other ways are there to check the block and the reason? I wrote to Telegram technical support, one day has passed, no answer.

container show error "[error] Auth key not registered in DC 2 with RPC error AUTH_KEY_UNREGISTERED, resetting temporary and permanent auth keys.."

YAMER1 commented 1 month ago
``[2024-10-02 08:13:46] [warning] The prometheus settings have changed!
[2024-10-02 08:13:46] [warning] Connecting to DC 2
[2024-10-02 08:13:46] [warning] Resetting session in DC 2.0 due to creating initial session...
[2024-10-02 08:13:46] [warning] Connecting to DC 2.0 via tcp://149.154.167.41:443 main DC 2, via ipv4 using AbridgedStream => BufferedRawStream => DefaultStream
[2024-10-02 08:13:46] [warning] Connected to DC 2.0 via tcp://149.154.167.41:443 main DC 2, via ipv4 using AbridgedStream => BufferedRawStream => DefaultStream!
[2024-10-02 08:13:46] [warning] Received bad_msg_notification: incorrect server salt (in this case, the bad_server_salt response is received with the correct salt, and the message is to be re-sent with it)
[2024-10-02 08:13:46] [warning] Received bad_msg_notification: incorrect server salt (in this case, the bad_server_salt response is received with the correct salt, and the message is to be re-sent with it)
[2024-10-02 08:13:46] [error] Auth key not registered in DC 2 with RPC error AUTH_KEY_UNREGISTERED, resetting temporary and permanent auth keys...
[2024-10-02 08:13:46] [critical] Permanent auth key was main authorized key, logging out...
[2024-10-02 08:13:46] [critical] !!!!!!! WARNING !!!!!!!
Telegram's flood prevention system suspended this account.
To continue, manual verification is required.
Send an email to recover@telegram.org, asking to unban the phone number (number), and shortly describe what will you do with this phone number.
Then login again.
If you intentionally deleted this account, ignore this message.
^CAmp\SignalException: SIGINT received in /app-host-link/vendor/danog/madelineproto/src/Magic.php:278
Stack trace:
#0 /app-host-link/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(593): danog\MadelineProto\Magic::danog\MadelineProto\{closure}('c', 2)
#1 [internal function]: Revolt\EventLoop\Internal\AbstractDriver->Revolt\EventLoop\Internal\{closure}()
#2 /app-host-link/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(497): Fiber->resume()
#3 /app-host-link/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(553): Revolt\EventLoop\Internal\AbstractDriver->invokeCallbacks()
#4 [internal function]: Revolt\EventLoop\Internal\AbstractDriver->Revolt\EventLoop\Internal\{closure}()
#5 /app-host-link/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(94): Fiber->resume()
#6 /app-host-link/vendor/revolt/event-loop/src/EventLoop/Internal/DriverSuspension.php(117): Revolt\EventLoop\Internal\AbstractDriver->Revolt\EventLoop\Internal\{closure}()
#7 /app-host-link/vendor/amphp/amp/src/Future.php(251): Revolt\EventLoop\Internal\DriverSuspension->suspend()
#8 /app-host-link/vendor/danog/madelineproto/src/WrappedFuture.php(57): Amp\Future->await(NULL)
#9 /app-host-link/vendor/danog/madelineproto/src/MTProtoSession/CallHandler.php(92): danog\MadelineProto\WrappedFuture->await()
#10 /app-host-link/vendor/danog/madelineproto/src/MTProtoTools/CallHandler.php(45): danog\MadelineProto\Connection->methodCallAsyncRead('users.getUsers', Array)
#11 /app-host-link/vendor/danog/madelineproto/src/MTProto.php(1627): danog\MadelineProto\MTProto->methodCallAsyncRead('users.getUsers', Array)
#12 /app-host-link/vendor/danog/madelineproto/src/MTProto.php(1175): danog\MadelineProto\MTProto->fullGetSelf()
#13 /app-host-link/vendor/danog/madelineproto/src/API.php(343): danog\MadelineProto\MTProto->wakeup(Object(danog\MadelineProto\Settings), Object(danog\MadelineProto\APIWrapper))
#14 /app-host-link/vendor/danog/madelineproto/src/API.php(194): danog\MadelineProto\API->connectToMadelineProto(Object(danog\MadelineProto\Settings))
#15 /app-host-link/src/Client.php(80): danog\MadelineProto\API->__construct('sessions/sessio...', Object(danog\MadelineProto\Settings))
#16 /app-host-link/src/Client.php(45): TelegramApiServer\Client->addSession('session')
#17 /app-host-link/src/Server/Server.php(46): TelegramApiServer\Client->connect(Array)
#18 /app-host-link/server.php(87): TelegramApiServer\Server\Server->__construct(Array, Array)
#19 {main}

Next Revolt\EventLoop\UncaughtThrowable: Uncaught Amp\SignalException thrown in event loop error handler TelegramApiServer\Client::TelegramApiServer\{closure} defined in /app-host-link/src/Client.php:214: SIGINT received in /app-host-link/vendor/revolt/event-loop/src/EventLoop/UncaughtThrowable.php:22
Stack trace:
#0 /app-host-link/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(633): Revolt\EventLoop\UncaughtThrowable::throwingErrorHandler(Object(Closure), Object(Amp\SignalException))
#1 /app-host-link/vendor/revolt/event-loop/src/EventLoop/Internal/DriverSuspension.php(127): Revolt\EventLoop\Internal\AbstractDriver::Revolt\EventLoop\Internal\{closure}()
#2 /app-host-link/vendor/amphp/amp/src/Future.php(251): Revolt\EventLoop\Internal\DriverSuspension->suspend()
#3 /app-host-link/vendor/danog/madelineproto/src/WrappedFuture.php(57): Amp\Future->await(NULL)
#4 /app-host-link/vendor/danog/madelineproto/src/MTProtoSession/CallHandler.php(92): danog\MadelineProto\WrappedFuture->await()
#5 /app-host-link/vendor/danog/madelineproto/src/MTProtoTools/CallHandler.php(45): danog\MadelineProto\Connection->methodCallAsyncRead('users.getUsers', Array)
#6 /app-host-link/vendor/danog/madelineproto/src/MTProto.php(1627): danog\MadelineProto\MTProto->methodCallAsyncRead('users.getUsers', Array)
#7 /app-host-link/vendor/danog/madelineproto/src/MTProto.php(1175): danog\MadelineProto\MTProto->fullGetSelf()
#8 /app-host-link/vendor/danog/madelineproto/src/API.php(343): danog\MadelineProto\MTProto->wakeup(Object(danog\MadelineProto\Settings), Object(danog\MadelineProto\APIWrapper))
#9 /app-host-link/vendor/danog/madelineproto/src/API.php(194): danog\MadelineProto\API->connectToMadelineProto(Object(danog\MadelineProto\Settings))
#10 /app-host-link/src/Client.php(80): danog\MadelineProto\API->__construct('sessions/sessio...', Object(danog\MadelineProto\Settings))
#11 /app-host-link/src/Client.php(45): TelegramApiServer\Client->addSession('session')
#12 /app-host-link/src/Server/Server.php(46): TelegramApiServer\Client->connect(Array)
#13 /app-host-link/server.php(87): TelegramApiServer\Server\Server->__construct(Array, Array)
#14 {main}
[2024-10-02 08:14:02] [critical] Reporting: Amp\SignalException: SIGINT received in /app-host-link/vendor/danog/madelineproto/src/Magic.php:278
Stack trace:
#0 /app-host-link/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(593): danog\MadelineProto\Magic::danog\MadelineProto\{closure}('c', 2)
#1 [internal function]: Revolt\EventLoop\Internal\AbstractDriver->Revolt\EventLoop\Internal\{closure}()
#2 /app-host-link/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(497): Fiber->resume()
#3 /app-host-link/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(553): Revolt\EventLoop\Internal\AbstractDriver->invokeCallbacks()
#4 [internal function]: Revolt\EventLoop\Internal\AbstractDriver->Revolt\EventLoop\Internal\{closure}()
#5 /app-host-link/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(94): Fiber->resume()
#6 /app-host-link/vendor/revolt/event-loop/src/EventLoop/Internal/DriverSuspension.php(117): Revolt\EventLoop\Internal\AbstractDriver->Revolt\EventLoop\Internal\{closure}()
#7 /app-host-link/vendor/amphp/amp/src/Future.php(251): Revolt\EventLoop\Internal\DriverSuspension->suspend()
#8 /app-host-link/vendor/danog/madelineproto/src/WrappedFuture.php(57): Amp\Future->await(NULL)
#9 /app-host-link/vendor/danog/madelineproto/src/MTProtoSession/CallHandler.php(92): danog\MadelineProto\WrappedFuture->await()
#10 /app-host-link/vendor/danog/madelineproto/src/MTProtoTools/CallHandler.php(45): danog\MadelineProto\Connection->methodCallAsyncRead('users.getUsers', Array)
#11 /app-host-link/vendor/danog/madelineproto/src/MTProto.php(1627): danog\MadelineProto\MTProto->methodCallAsyncRead('users.getUsers', Array)
#12 /app-host-link/vendor/danog/madelineproto/src/MTProto.php(1175): danog\MadelineProto\MTProto->fullGetSelf()
#13 /app-host-link/vendor/danog/madelineproto/src/API.php(343): danog\MadelineProto\MTProto->wakeup(Object(danog\MadelineProto\Settings), Object(danog\MadelineProto\APIWrapper))
#14 /app-host-link/vendor/danog/madelineproto/src/API.php(194): danog\MadelineProto\API->connectToMadelineProto(Object(danog\MadelineProto\Settings))
#15 /app-host-link/src/Client.php(80): danog\MadelineProto\API->__construct('sessions/sessio...', Object(danog\MadelineProto\Settings))
#16 /app-host-link/src/Client.php(45): TelegramApiServer\Client->addSession('session')
#17 /app-host-link/src/Server/Server.php(46): TelegramApiServer\Client->connect(Array)
#18 /app-host-link/server.php(87): TelegramApiServer\Server\Server->__construct(Array, Array)
#19 {main}

Next Revolt\EventLoop\UncaughtThrowable: Uncaught Amp\SignalException thrown in event loop error handler TelegramApiServer\Client::TelegramApiServer\{closure} defined in /app-host-link/src/Client.php:214: SIGINT received in /app-host-link/vendor/revolt/event-loop/src/EventLoop/UncaughtThrowable.php:22
Stack trace:
#0 /app-host-link/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(633): Revolt\EventLoop\UncaughtThrowable::throwingErrorHandler(Object(Closure), Object(Amp\SignalException))
#1 /app-host-link/vendor/revolt/event-loop/src/EventLoop/Internal/DriverSuspension.php(127): Revolt\EventLoop\Internal\AbstractDriver::Revolt\EventLoop\Internal\{closure}()
#2 /app-host-link/vendor/amphp/amp/src/Future.php(251): Revolt\EventLoop\Internal\DriverSuspension->suspend()
#3 /app-host-link/vendor/danog/madelineproto/src/WrappedFuture.php(57): Amp\Future->await(NULL)
#4 /app-host-link/vendor/danog/madelineproto/src/MTProtoSession/CallHandler.php(92): danog\MadelineProto\WrappedFuture->await()
#5 /app-host-link/vendor/danog/madelineproto/src/MTProtoTools/CallHandler.php(45): danog\MadelineProto\Connection->methodCallAsyncRead('users.getUsers', Array)
#6 /app-host-link/vendor/danog/madelineproto/src/MTProto.php(1627): danog\MadelineProto\MTProto->methodCallAsyncRead('users.getUsers', Array)
#7 /app-host-link/vendor/danog/madelineproto/src/MTProto.php(1175): danog\MadelineProto\MTProto->fullGetSelf()
#8 /app-host-link/vendor/danog/madelineproto/src/API.php(343): danog\MadelineProto\MTProto->wakeup(Object(danog\MadelineProto\Settings), Object(danog\MadelineProto\APIWrapper))
#9 /app-host-link/vendor/danog/madelineproto/src/API.php(194): danog\MadelineProto\API->connectToMadelineProto(Object(danog\MadelineProto\Settings))
#10 /app-host-link/src/Client.php(80): danog\MadelineProto\API->__construct('sessions/sessio...', Object(danog\MadelineProto\Settings))
#11 /app-host-link/src/Client.php(45): TelegramApiServer\Client->addSession('session')
#12 /app-host-link/src/Server/Server.php(46): TelegramApiServer\Client->connect(Array)
#13 /app-host-link/server.php(87): TelegramApiServer\Server\Server->__construct(Array, Array)
#14 {main}
[2024-10-02 08:14:02] [critical] Amp\SignalException: SIGINT received in /app-host-link/vendor/danog/madelineproto/src/Magic.php:278
Stack trace:
#0 /app-host-link/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(593): danog\MadelineProto\Magic::danog\MadelineProto\{closure}('c', 2)
#1 [internal function]: Revolt\EventLoop\Internal\AbstractDriver->Revolt\EventLoop\Internal\{closure}()
#2 /app-host-link/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(497): Fiber->resume()
#3 /app-host-link/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(553): Revolt\EventLoop\Internal\AbstractDriver->invokeCallbacks()
#4 [internal function]: Revolt\EventLoop\Internal\AbstractDriver->Revolt\EventLoop\Internal\{closure}()
#5 /app-host-link/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(94): Fiber->resume()
#6 /app-host-link/vendor/revolt/event-loop/src/EventLoop/Internal/DriverSuspension.php(117): Revolt\EventLoop\Internal\AbstractDriver->Revolt\EventLoop\Internal\{closure}()
#7 /app-host-link/vendor/amphp/amp/src/Future.php(251): Revolt\EventLoop\Internal\DriverSuspension->suspend()
#8 /app-host-link/vendor/danog/madelineproto/src/WrappedFuture.php(57): Amp\Future->await(NULL)
#9 /app-host-link/vendor/danog/madelineproto/src/MTProtoSession/CallHandler.php(92): danog\MadelineProto\WrappedFuture->await()
#10 /app-host-link/vendor/danog/madelineproto/src/MTProtoTools/CallHandler.php(45): danog\MadelineProto\Connection->methodCallAsyncRead('users.getUsers', Array)
#11 /app-host-link/vendor/danog/madelineproto/src/MTProto.php(1627): danog\MadelineProto\MTProto->methodCallAsyncRead('users.getUsers', Array)
#12 /app-host-link/vendor/danog/madelineproto/src/MTProto.php(1175): danog\MadelineProto\MTProto->fullGetSelf()
#13 /app-host-link/vendor/danog/madelineproto/src/API.php(343): danog\MadelineProto\MTProto->wakeup(Object(danog\MadelineProto\Settings), Object(danog\MadelineProto\APIWrapper))
#14 /app-host-link/vendor/danog/madelineproto/src/API.php(194): danog\MadelineProto\API->connectToMadelineProto(Object(danog\MadelineProto\Settings))
#15 /app-host-link/src/Client.php(80): danog\MadelineProto\API->__construct('sessions/sessio...', Object(danog\MadelineProto\Settings))
#16 /app-host-link/src/Client.php(45): TelegramApiServer\Client->addSession('session')
#17 /app-host-link/src/Server/Server.php(46): TelegramApiServer\Client->connect(Array)
#18 /app-host-link/server.php(87): TelegramApiServer\Server\Server->__construct(Array, Array)
#19 {main}

Next Revolt\EventLoop\UncaughtThrowable: Uncaught Amp\SignalException thrown in event loop error handler TelegramApiServer\Client::TelegramApiServer\{closure} defined in /app-host-link/src/Client.php:214: SIGINT received in /app-host-link/vendor/revolt/event-loop/src/EventLoop/UncaughtThrowable.php:22
Stack trace:
#0 /app-host-link/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(633): Revolt\EventLoop\UncaughtThrowable::throwingErrorHandler(Object(Closure), Object(Amp\SignalException))
#1 /app-host-link/vendor/revolt/event-loop/src/EventLoop/Internal/DriverSuspension.php(127): Revolt\EventLoop\Internal\AbstractDriver::Revolt\EventLoop\Internal\{closure}()
#2 /app-host-link/vendor/amphp/amp/src/Future.php(251): Revolt\EventLoop\Internal\DriverSuspension->suspend()
#3 /app-host-link/vendor/danog/madelineproto/src/WrappedFuture.php(57): Amp\Future->await(NULL)
#4 /app-host-link/vendor/danog/madelineproto/src/MTProtoSession/CallHandler.php(92): danog\MadelineProto\WrappedFuture->await()
#5 /app-host-link/vendor/danog/madelineproto/src/MTProtoTools/CallHandler.php(45): danog\MadelineProto\Connection->methodCallAsyncRead('users.getUsers', Array)
#6 /app-host-link/vendor/danog/madelineproto/src/MTProto.php(1627): danog\MadelineProto\MTProto->methodCallAsyncRead('users.getUsers', Array)
#7 /app-host-link/vendor/danog/madelineproto/src/MTProto.php(1175): danog\MadelineProto\MTProto->fullGetSelf()
#8 /app-host-link/vendor/danog/madelineproto/src/API.php(343): danog\MadelineProto\MTProto->wakeup(Object(danog\MadelineProto\Settings), Object(danog\MadelineProto\APIWrapper))
#9 /app-host-link/vendor/danog/madelineproto/src/API.php(194): danog\MadelineProto\API->connectToMadelineProto(Object(danog\MadelineProto\Settings))
#10 /app-host-link/src/Client.php(80): danog\MadelineProto\API->__construct('sessions/sessio...', Object(danog\MadelineProto\Settings))
#11 /app-host-link/src/Client.php(45): TelegramApiServer\Client->addSession('session')
#12 /app-host-link/src/Server/Server.php(46): TelegramApiServer\Client->connect(Array)
#13 /app-host-link/server.php(87): TelegramApiServer\Server\Server->__construct(Array, Array)
#14 {main}
``