danog/MadelineProto

PHP - fpm fall down in infinitive loop

Closed this issue · 2 comments

Hello, in the case when we did not define the session path correctly when creating new danog\MadelineProto\API('bad/path') - all forwarded API client calls where a Fibers loop works in vendor/revolt/event-loop/src/EventLoop/Internal/DriverSuspension.php:96. Here I see an error which says me "Amp\CompositeException::getReasons()" to retrieve the array of exceptions thrown:

Amp\Parallel\Context\ContextException: Mismatch between absolute root dir (/var/www/carma/pub/) and URI dir (/<http_controller_call_path>/telegram/auth/authenticate/key/b6ed42cf92146c4f9f8f14f0a77f48be75b471577a91d312e1a81dd57e3fd42b/)
Thanks
Aleksandr

Please upload the entire MadelineProto.log file to pastebin and send the URL here.
Either way, enabling proc_open should fix the issue for you

Closing for inactivity.