-
-
Notifications
You must be signed in to change notification settings - Fork 619
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
AuthKeyHandler error #58
Comments
Due to a bug that I haven't yet figured out, auth key generation does not work on PHP 5 anymore, please switch to PHP 7. |
This is sad. |
Naaah, you really should stop using php 5. I'll be completely dropping support for it in the next commit. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
executing testing.php
AuthKeyHandler: Executing set_client_DH_params...
CallHandler: Calling method (try number 1 for set_client_DH_params)...
AuthKeyHandler: An RPCErrorException occurred while generating the authorization key: -404 Retrying (try number 5)...
PHP Fatal error: Uncaught exception 'danog\MadelineProto\Exception' with message 'Auth Failed' in /home/vdesktop/MadelineProto/src/danog/MadelineProto/MTProtoTools/AuthKeyHandler.php:480
Stack trace:
#0 /home/vdesktop/MadelineProto/src/danog/MadelineProto/MTProto.php(285): danog\MadelineProto\MTProto->create_auth_key(-1)
#1 /home/vdesktop/MadelineProto/src/danog/MadelineProto/MTProto.php(253): danog\MadelineProto\MTProto->init_authorization()
#2 /home/vdesktop/MadelineProto/src/danog/MadelineProto/MTProto.php(56): danog\MadelineProto\MTProto->switch_dc(2, true)
#3 /home/vdesktop/MadelineProto/src/danog/MadelineProto/API.php(34): danog\MadelineProto\MTProto->__construct(Array)
#4 /home/vdesktop/MadelineProto/tests/testing.php(33): danog\MadelineProto\API->__construct(Array)
#5 {main}
thrown in /home/vdesktop/MadelineProto/src/danog/MadelineProto/MTProtoTools/AuthKeyHandler.php on line 480
The text was updated successfully, but these errors were encountered: