Skip to content

HTTP Client retry different IP address #50333

@GrahamCampbell

Description

@GrahamCampbell

Description

If an A or AAAA record (or similarly for CNAMEs) resolves to multiple IP addresses, and a request fails, it would be great to be able to request a retry using a different IP address, rather than retries using the original cached IP. It is pretty common that a particular IP can be experiencing failures and not cycled out on the other end for multiple minutes, or never at all.

Example

An example use case is sending requests to AWS SNS in us-east-1. I have experienced being routed to a server that always returns a 5xx error, and retries would never recover - being able to retry against a different IP address would have resolved the issue, allowing the retry to succeed.

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