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

Using the NoPrivateNetworkHttpClient results in odd error-message without IP #59021

Copy link
Copy link
Closed
@heiglandreas

Description

@heiglandreas
Issue body actions

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

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.