Skip to content

got error message white getfile,Amp\TimeoutException: Request timeout #1634

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

Open
augushong opened this issue Apr 25, 2025 · 1 comment
Open

Comments

@augushong
Copy link

I used php8.2 before, but recently I migrated the server and updated the dependencies. I found that the latest version should use php8.4. But this error message appears when downloading files using php8.4. But it seems that the download progress is normal, and it will download bit by bit, but it is much slower than before.
Is my environment missing an extension?

error:

FeedLoop, 6758098710:           Resumed update feed loop generic
Files, 6758098710:              Download status: 1.0461538461538%
AckHandler, 6758098710:         No reply for message: msgs_state_req with message ID 7497293700717436856 sent 8.501602206 seconds ago
CheckLoop, 6758098710:          Still missing upload.getFile, upload.getFile, upload.getFile, upload.getFile, upload.getFile, upload.getFile, upload.getFile, upload.getFile, upload.getFile, upload.getFile, upload.getFile, upload.getFile, upload.getFile, upload.getFile, upload.getFile, upload.getFile, upload.getFile, upload.getFile,  on DC -4.0, sending state request
CheckLoop, 6758098710:          Got exception in check loop for DC -4.0
CheckLoop, 6758098710:          Amp\TimeoutException: Request timeout in /xxxx/site/vendor/danog/madelineproto/src/MTProtoSession/AckHandler.php:124
Stack trace:
#0 /xxxx/site/vendor/danog/madelineproto/src/Loop/Connection/CheckLoop.php(80): danog\MadelineProto\Connection::{closure:danog\MadelineProto\MTProtoSession\AckHandler::getPendingCalls():124}()
#1 /xxxx/site/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(430): danog\MadelineProto\Loop\Connection\CheckLoop->{closure:danog\MadelineProto\Loop\Connection\CheckLoop::loop():76}()
#2 /xxxx/site/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(621): Revolt\EventLoop\Internal\AbstractDriver->invokeMicrotasks()
#3 [internal function]: Revolt\EventLoop\Internal\AbstractDriver->{closure:Revolt\EventLoop\Internal\AbstractDriver::createCallbackFiber():565}()
#4 /xxxx/site/vendor/revolt/event-loop/src/EventLoop/Internal/DriverSuspension.php(64): Fiber->resume()
#5 /xxxx/site/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(430): Revolt\EventLoop\Internal\DriverSuspension::{closure:Revolt\EventLoop\Internal\DriverSuspension::resume():61}()
#6 /xxxx/site/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(567): Revolt\EventLoop\Internal\AbstractDriver->invokeMicrotasks()
#7 [internal function]: Revolt\EventLoop\Internal\AbstractDriver->{closure:Revolt\EventLoop\Internal\AbstractDriver::createCallbackFiber():565}()
#8 /xxxx/site/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(503): Fiber->start()
#9 /xxxx/site/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(558): Revolt\EventLoop\Internal\AbstractDriver->invokeCallbacks()
#10 [internal function]: Revolt\EventLoop\Internal\AbstractDriver->{closure:Revolt\EventLoop\Internal\AbstractDriver::createLoopFiber():538}()
#11 /xxxx/site/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(96): Fiber->resume()
#12 /xxxx/site/vendor/revolt/event-loop/src/EventLoop/Internal/DriverSuspension.php(117): Revolt\EventLoop\Internal\AbstractDriver->{closure:Revolt\EventLoop\Internal\AbstractDriver::__construct():90}()
#13 /xxxx/site/vendor/amphp/amp/src/Future.php(251): Revolt\EventLoop\Internal\DriverSuspension->suspend()
#14 /xxxx/site/vendor/danog/madelineproto/src/Wrappers/Loop.php(108): Amp\Future->await()
#15 /xxxx/site/vendor/danog/madelineproto/src/AbstractAPI.php(84): danog\MadelineProto\MTProto->loop()
#16 /xxxx/site/vendor/danog/madelineproto/src/AbstractAPI.php(65): danog\MadelineProto\AbstractAPI->startAndLoopLogic()
#17 /xxxx/site/vendor/danog/madelineproto/src/EventHandler.php(147): danog\MadelineProto\AbstractAPI->startAndLoopInternal()
#18 /xxxx/site/bot.php(965): danog\MadelineProto\EventHandler::startAndLoop()
php -v
PHP 8.4.6 (cli) (built: Apr 11 2025 02:09:29) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.4.6, Copyright (c) Zend Technologies
    with Zend OPcache v8.4.6, Copyright (c), by Zend Technologies
php -m
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dom
event
exif
FFI
fileinfo
filter
ftp
gd
gettext
hash
iconv
igbinary
imagick
intl
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
random
readline
Reflection
session
shmop
SimpleXML
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache
@augushong
Copy link
Author

The version of php8.4 seems to be the version in docker, so I tried php8.4.
I just read the document and found that 8.3 is recommended, but I switched the version and the error still exists

@augushong augushong changed the title got error message white getfile, got error message white getfile,Amp\TimeoutException: Request timeout Apr 26, 2025
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

1 participant