Skip to content

[HttpClient] CURLOPT_STDERR resource has gone away #31803

@versh23

Description

@versh23

Symfony version(s) affected: 4.3

Description
I try to send POST request

$httpClient = HttpClient::create();
            $response = $httpClient->request('POST', 'http://ttt:8080/', [
                'json' => [
                    'variables' => [
                    ],
                ]
            ]);

and get

app_1 | [03-Jun-2019 09:01:28] WARNING: [pool www] child 9 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught ErrorException: Warning: curl_multi_exec(): CURLOPT_STDERR resource has gone away, resetting to stderr in /app/vendor/symfony/http-client/Response/CurlResponse.php:259"

Additional context
it is fresh sf4.3 with docker image php:7.3-fpm-alpine

Im try to write in php://temp directly and read - its work, so stream is OK

If i comment line in vendor/symfony/http-client/Response/CurlResponse.php::44 - its work

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions