amphp / http-client

An advanced async HTTP client library for PHP, enabling efficient, non-blocking, and concurrent requests and responses.

Home Page:https://amphp.org/http-client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Call to a member function promise() on null

xpader opened this issue · comments

commented

It's a weird problem

Call to a member function promise() on null in /home/web/apps/t-task-wind/releases/147/vendor/amphp/http-client/src/Connection/Internal/Http2ConnectionProcessor.php:1167

But I see there is check on the code https://github.com/amphp/http-client/blob/4.x/src/Connection/Internal/Http2ConnectionProcessor.php#L1165

This this an issue you can reproduce?

commented

I don't know how to reproduce this, it happends everyday on my server, not many.
Look like it happend sometime on file upload request with FileBody.