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

After reebot of server MadelineProto dosen't work #1057

Closed
EdwardoPais opened this issue Nov 25, 2021 · 1 comment
Closed

After reebot of server MadelineProto dosen't work #1057

EdwardoPais opened this issue Nov 25, 2021 · 1 comment

Comments

@EdwardoPais
Copy link

I use this:

CentOS 7
PHP Version 7.3.32
Register with madeline.php only.

After a restar the server i get the error:

Fatal error: Uncaught Amp\ByteStream\StreamException: Failed writing to file handle: fread(): Length parameter must be greater than 0 in phar:///var/www/html/api_telegram/madeline-73.phar/vendor/phabel/transpiler73/amphp/file/src/BlockingFile.php:46 Stack trace: #0 phar:///var/www/html/api_telegram/madeline-73.phar/vendor/danog/madelineproto/src/danog/MadelineProto/SessionPaths.php(135): Amp\File\BlockingFile->read(-25) #1 phar:///var/www/html/api_telegram/madeline-73.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Serialization.php(193): danog\MadelineProto\SessionPaths->unserialize() #2 [internal function]: danog\MadelineProto\Serialization::unserialize(Object(danog\MadelineProto\SessionPaths), Object(danog\MadelineProto\SettingsEmpty), false) #3 phar:///var/www/html/api_telegram/madeline-73.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(115): Generator->send(25) #4 phar:///var/www/html/api_telegram/madeline-73.phar/vendor/phabel/transpiler73/amphp/amp/lib/Success.php(37): danog\MadelinePr in phar:///var/www/html/api_telegram/madeline-73.phar/vendor/phabel/transpiler73/amphp/file/src/BlockingFile.php on line 46

Then i have to delete all files and register again, what am i doing wrong?

Thank you

@danog
Copy link
Owner

danog commented Dec 15, 2021

Fixed!

@danog danog closed this as completed Dec 15, 2021
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