Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Http-Client]  #46499

Copy link
Copy link
Closed
Closed
Copy link
@Iyadhfaleh

Description

@Iyadhfaleh
Issue body actions

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.