这是为啥? 有人遇到过么?
我们是不用 ipv6 的,不晓得它为啥会走 ipv6 的类
google 搜了搜 看到 有-Djava.net.preferIPv4Stack=true 这个参数,目前加上了,不晓得有没有作用
Thread dump at 28538:11.349.427
* Thread group "main":
Thread "consumer_group_108":
at java.net.Inet6AddressImpl.lookupAllHostAddr(java.lang.String, int)
at java.net.Inet6AddressImpl.lookupAllHostAddr(java.lang.String, java.net.spi.InetAddressResolver$LookupPolicy) (line: 52)
at java.net.InetAddress$PlatformResolver.lookupByName(java.lang.String, java.net.spi.InetAddressResolver$LookupPolicy) (line: 1211)
at java.net.InetAddress.getAddressesFromNameService(java.lang.String) (line: 1828)
at java.net.InetAddress$NameServiceAddresses.get() (line: 1139)
at java.net.InetAddress.getAllByName0(java.lang.String, boolean, boolean) (line: 1818)
at java.net.InetAddress.getAllByName(java.lang.String) (line: 1688)
at okhttp3.Dns$Companion$DnsSystem.lookup(java.lang.String) (line: 49)
at okhttp3.internal.connection.RouteSelector.resetNextInetSocketAddress(java.net.Proxy) (line: 169)
at okhttp3.internal.connection.RouteSelector.nextProxy() (line: 131)
at okhttp3.internal.connection.RouteSelector.next() (line: 73)
at okhttp3.internal.connection.ExchangeFinder.findConnection(int, int, int, int, boolean) (line: 205)
at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(int, int, int, int, boolean, boolean) (line: 106)
at okhttp3.internal.connection.ExchangeFinder.find(okhttp3.OkHttpClient, okhttp3.internal.http.RealInterceptorChain) (line: 74)
at okhttp3.internal.connection.RealCall.initExchange$okhttp(okhttp3.internal.http.RealInterceptorChain) (line: 255)
at okhttp3.internal.connection.ConnectInterceptor.intercept(okhttp3.Interceptor$Chain) (line: 32)
at okhttp3.internal.http.RealInterceptorChain.proceed(okhttp3.Request) (line: 109)
at okhttp3.internal.cache.CacheInterceptor.intercept(okhttp3.Interceptor$Chain) (line: 95)
at okhttp3.internal.http.RealInterceptorChain.proceed(okhttp3.Request) (line: 109)
at okhttp3.internal.http.BridgeInterceptor.intercept(okhttp3.Interceptor$Chain) (line: 83)
at okhttp3.internal.http.RealInterceptorChain.proceed(okhttp3.Request) (line: 109)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(okhttp3.Interceptor$Chain) (line: 76)
at okhttp3.internal.http.RealInterceptorChain.proceed(okhttp3.Request) (line: 109)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp() (line: 201)
at okhttp3.internal.connection.RealCall.execute() (line: 154)