-
-
Notifications
You must be signed in to change notification settings - Fork 608
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 req_pq: Given message id (6346469674134935553) is too new #16
Comments
Are you sure you're using the latest version of madelineProto? |
Yes, |
What version of php are you using? |
PHP 5.6.26 |
This error is caused by a problem in the msgIdHandler module (the message id generated for some reason is too big, probably the loop that increases the message id to make it bigger than the last one messes up stuff). |
Try with the latest release please. |
Fixed 100% |
Hi danog, Exception: Given message id (6478152482582163457) is too new compared to the max value (6478152262647545856). Consider syncing your date. in MsgIdHandler.php:31 |
@ablkvo r u install python? |
My OS is Ubuntu 16.04, so yes It already has been installed. |
This is a server issue. Try connecting from another host. |
I connected from another ISP and got the same result. PHP Fatal error: Uncaught Telegram returned an RPC error: Telegram is having internal issues, please try again later. (RPC_CALL_FAIL), caused by /home/aba/program/MadelineProtoBot/MadelineProto/src/danog/MadelineProto/MTProtoTools/AuthKeyHandler.php:51 |
Consider syncing your date:
|
@ablkvo using madeline in localhost? |
sorry I just follow the instruction, after installing when I run testing.php this messages come up. I dont now if I'm using madeline in localhost or not. |
You should sync your date. |
how can I do that? |
@ablkvo see this video : https://t.me/wecangp/137 |
|
It worked! |
I have executed |
Get a VPS that supports updating the date. |
Hi,
I got following error when executing testing.php. Pls let me know whats causing this?
MTProto: Connecting to server...
MTProto: Loading RSA key...
MTProto: Initializing StructTools...
MTProto: Translating tl schemas...
MTProto: Generating permanent authorization key...
AuthKeyHandler: Requesting pq
CallHandler: Getting response (try number 1 for req_pq)...
CallHandler: An error occurred while calling method req_pq: Given message id (6346469667123256321) is too new. in MsgIdHandler on line 26. Recreating connection and retrying to call method...
CallHandler: Getting response (try number 1 for req_pq)...
CallHandler: An error occurred while calling method req_pq: Given message id (6346469668922249217) is too new. in MsgIdHandler on line 26. Recreating connection and retrying to call method...
CallHandler: Getting response (try number 1 for req_pq)...
CallHandler: An error occurred while calling method req_pq: Given message id (6346469670560631809) is too new. in MsgIdHandler on line 26. Recreating connection and retrying to call method...
CallHandler: Getting response (try number 1 for req_pq)...
CallHandler: An error occurred while calling method req_pq: Given message id (6346469672048287745) is too new. in MsgIdHandler on line 26. Recreating connection and retrying to call method...
CallHandler: Getting response (try number 1 for req_pq)...
CallHandler: An error occurred while calling method req_pq: Given message id (6346469674134935553) is too new. in MsgIdHandler on line 26. Recreating connection and retrying to call method...
PHP Fatal error: Uncaught exception 'danog\MadelineProto\MTProtoTools\Exception' with message 'An error occurred while calling method req_pq.' in /var/www/html/telegram/MadelineProto/src/danog/MadelineProto/MTProtoTools/CallHandler.php:69
Stack trace:
#0 /var/www/html/telegram/MadelineProto/src/danog/MadelineProto/MTProtoTools/AuthKeyHandler.php(50): danog\MadelineProto\MTProtoTools\CallHandler->method_call('req_pq', Array)
#1 /var/www/html/telegram/MadelineProto/src/danog/MadelineProto/MTProto.php(137): danog\MadelineProto\MTProtoTools\AuthKeyHandler->create_auth_key(-1)
#2 /var/www/html/telegram/MadelineProto/src/danog/MadelineProto/API.php(22): danog\MadelineProto\MTProto->__construct(Array)
#3 /var/www/html/telegram/MadelineProto/testing.php(11): danog\MadelineProto\API->__construct(Array)
#4 {main}
thrown in /var/www/html/telegram/MadelineProto/src/danog/MadelineProto/MTProtoTools/CallHandler.php on line 69
The text was updated successfully, but these errors were encountered: