Skip to content

[Http-Client]  #46499

Closed
Closed
@Iyadhfaleh

Description

@Iyadhfaleh

Symfony version(s) affected

4.4.39

Description

We faced a bug after upgrading Http-client from 4.4.35 to >= 4.4.39

How to reproduce

We are using this configuration of our service :

our.client: base_uri: 'https://lorem-ipsum.com' proxy: 'http://proxy.net:8080' headers: Accept: 'application/json'

And we make calls like bellow :
$response = $this->client->request(Request::METHOD_POST, 'token', [ 'body' => [ 'username' => $userName, 'password' => $password, 'grant_type' =>password, 'client_id' => $clientId, 'client_secret' => $client_secret, ], ]); $result = $response->toArray();

We received this exception Failure when receiving data from the peer for ...

Possible Solution

No response

Additional Context

No response

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