Skip to content

[HttpClient] CurlHttpClient idle timeout #44198

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kbond opened this issue Nov 22, 2021 · 0 comments
Closed

[HttpClient] CurlHttpClient idle timeout #44198

kbond opened this issue Nov 22, 2021 · 0 comments

Comments

@kbond
Copy link
Member

kbond commented Nov 22, 2021

Symfony version(s) affected

4.4.34

Description

After upgrading from 4.4.33 to 4.4.34 CurlHttpClient is giving me "Idle timeout reached for..." errors when requesting any url.

How to reproduce

$response = HttpClient::create()->request('GET', 'https://symfony.com');
dd($response->getStatusCode()); // hangs then throws:
In ErrorChunk.php line 64:
                                                               
  [Symfony\Component\HttpClient\Exception\TransportException]  
  Idle timeout reached for "https://symfony.com/".

Possible Solution

Reverting #43961 fixed the issue for me.

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants