Skip to content

0.15.4 Giving DnsNameResolverTimeoutException exception #1108

Open
@gajendrakahndelwal47

Description

@gajendrakahndelwal47

We noticed this issue in locally also but we are able to fix it using jvm argument as below

-Djava.net.preferIPv4Stack=true

But when we deploy this service to our environment where we are using kuberneted below issue is coming

io.netty.resolver.dns.DnsNameResolverTimeoutException: [43587: /8.8.4.4:53] DefaultDnsQuestion(api.sandbox.push.apple.com. IN A) query '43587' via UDP

at java.base/java.lang.Thread.run(Thread.java:840)

-Dio.netty.hostsFileRefreshInterval: 0

2025-05-08 09:45:50 DEBUG traceId=, parentId=, spanId=, [null.null(null)] (pool-6-thread-1) Default UnixResolverOptions{ndots=5, timeout=5, attempts=16}

2025-05-08 09:45:50 DEBUG traceId=, parentId=, spanId=, [null.null(null)] (pool-6-thread-1) Default search domains: [svc.cluster.local, cluster.local]

2025-05-08 09:45:50 DEBUG traceId=, parentId=, spanId=, [null.null(null)] (pool-6-thread-1) Windows hostname: null

2025-05-08 09:45:50 DEBUG traceId=, parentId=, spanId=, [null.null(null)] (pool-6-thread-1) Localhost address: localhost/127.0.0.1

2025-05-08 09:45:50 DEBUG traceId=, parentId=, spanId=, [null.null(null)] (pool-6-thread-1) Default ResolvedAddressTypes: IPV4_ONLY

2025-05-08 09:45:50 WARN traceId=, parentId=, spanId=, [null.null(null)] (pool-6-thread-1) Default DNS servers: [/8.8.8.8:53, /8.8.4.4:53] (Google Public DNS as a fallback)

2025-05-08 09:45:50 DEBUG traceId=, parentId=, spanId=, [null.null(null)] (pool-6-thread-1) Default cipher suites (JDK): [TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384]

2025-05-08 09:45:50 DEBUG traceId=, parentId=, spanId=, [null.null(null)] (pool-6-thread-1) Default protocols (JDK): [TLSv1.3, TLSv1.2]

can you please help why we facing this

tech stack

Java 17
Quarkus

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