Closed
Description
Symfony version(s) affected
7.1.9
Description
We updated recently from http-client 7.1.8 to 7.1.9 and suddenly got a lot of errors like
IP "" is blocked for "https://xyz.example.com".
All triggered in vendor/symfony/http-client/NoPrivateNetworkHttpClient.php:249
The stack trace ends in
vendor/symfony/http-client/NoPrivateNetworkHttpClient.php:103
vendor/symfony/http-client/Response/AsyncContext.php:165
vendor/symfony/http-client/Response/AsyncContext.php:165
vendor/symfony/http-client/Response/CurlResponse.php:131
From what I understand it looks like the field primary_ip
is empty and therefore considered not a valid IP-address at all (which makes sense).
As this worked in version 7.1.8 (to which we reverted and the errors stopped immediately) it looks like something broke in the latest version.
How to reproduce
See https://gitlab.com/heiglandreas/symfony-http-client-issue-59021
Possible Solution
No response
Additional Context
No response