pushy icon indicating copy to clipboard operation
pushy copied to clipboard

0.15.4 Giving DnsNameResolverTimeoutException exception

Open gajendrakahndelwal47 opened this issue 5 months ago • 0 comments

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

gajendrakahndelwal47 avatar May 08 '25 11:05 gajendrakahndelwal47