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

AuthKeyHandler error #58

Closed
ticoti opened this issue Feb 2, 2017 · 3 comments
Closed

AuthKeyHandler error #58

ticoti opened this issue Feb 2, 2017 · 3 comments

Comments

@ticoti
Copy link

ticoti commented Feb 2, 2017

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

@danog
Copy link
Owner

danog commented Feb 2, 2017

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.

@dausruddin
Copy link

This is sad.

@danog
Copy link
Owner

danog commented Feb 9, 2017

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants