Skip to content

Failed to fallback on IPv4 when IPv6 is not working #713

@tutaidalal

Description

@tutaidalal

I'm using an FQDN as the target in my server group. When I run nslookup, it returns both IPv4 and IPv6 addresses.

With curl, I can successfully fetch data from the Prometheus server group. However, Promxy always tries to connect using IPv6 first and doesn't switch to IPv4 if IPv6 is unreachable.

Is there any code change or configuration that can force my application to use only IPv4?

I am running the application in Kubernetes and the base os is alpine:3.18.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions