Skip to content
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

An error occurred while calling method auth.checkPhone #148

Closed
SaturnTeam opened this issue Jul 6, 2017 · 4 comments
Closed

An error occurred while calling method auth.checkPhone #148

SaturnTeam opened this issue Jul 6, 2017 · 4 comments

Comments

@SaturnTeam
Copy link

SaturnTeam commented Jul 6, 2017

I'm trying to connect, and got this issue:

AuthKeyHandler:         Binding authorization keys...
MsgIdHandler:           WARNING: Given message id (6439461975948581889) is bigger than or equal to the current limit (6439461975948545025).
AuthKeyHandler:         Successfully binded temporary and permanent authorization keys.
MTProto:                Writing client info (also executing help.getConfig)...
MTProto:                We're in RU, current dc is 2, nearest dc is 2.
API:                    Running APIFactory...
API:                    MadelineProto is ready!
Exception:              Received request to switch to DC 1 in ResponseHandler.php:321
CallHandler:            An error occurred while calling method auth.checkPhone: Received request to switch to DC 1 in ResponseHandler on line 321. Recreating connection and retrying to call method...
PHP Fatal error:  Uncaught danog\MadelineProto\TL\Exception: Missing required parameter (ping_id) in /src/danog/MadelineProto/TL/TL.php:457
Stack trace:
#0 /src/danog/MadelineProto/TL/TL.php(396): danog\MadelineProto\MTProto->serialize_params(Array, Array)
#1 /src/danog/MadelineProto/MTProtoTools/CallHandler.php(64): danog\MadelineProto\MTProto->serialize_method('ping', Array)
#2 /src/danog/MadelineProto/APIFactory.php(131): danog\MadelineProto\MTProto->method_call('ping', Array, Array)
#3 /taheri.php(22): danog\MadelineProto\APIFactory->__call('ping', Array)
#4 {main}
  thrown in /src/danog/MadelineProto/TL/TL.php on line 457
@danog
Copy link
Owner

danog commented Jul 6, 2017

Please read the error. Missing required parameter (ping_id) for #2 /src/danog/MadelineProto/APIFactory.php(131): danog\MadelineProto\MTProto->method_call('ping', Array, Array)

@danog danog closed this as completed Jul 6, 2017
@danog
Copy link
Owner

danog commented Jul 6, 2017

Nice propic btw

@SaturnTeam
Copy link
Author

I didn't call ping by myself

@danog
Copy link
Owner

danog commented Jul 7, 2017

taheri.php(22): danog\MadelineProto\APIFactory->__call('ping', Array)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants