Skip to content

the cause is either a fiber deadlock, or an incorrectly unreferenced/canceled watcher #381

Open
@sxllllll

Description

@sxllllll

I found that when using http-client, an error will be thrown if the request times out. It is easy to cause deadlock, causing the memory to increase. Has anyone encountered this problem?

Why 😫

Image

Exception1:
Uncaught AssertionError thrown in event loop callback Amp\Http\Client\Connection\Internal\Http2ConnectionProcessor::Amp\Http\Client\Connection\Internal\{closure} defined in /var/www/hiwaifu_php/vendor/amphp/http-client/src/Connection/Internal/Http2ConnectionProcessor.php:1580; use Revolt\EventLoop::setErrorHandler() to gracefully handle such exceptions: Stream watcher invoked after stream closed

Exception2:
Event loop terminated without resuming the current suspension (the cause is either a fiber deadlock, or an incorrectly unreferenced/canceled watcher):

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions