当我将我的设备连接到ipv6网络连接时,我的排球会引发以下异常。
java.net.ConnectException:连接失败 20000ms后的nexus-websocket-b.intercom.io/34.235.250.191(端口443): isConnected失败:ENETUNREACH(网络无法访问)
它可以正常使用ipv4连接,有时也可以正常工作,但大多数时候它会在ipv6连接中抛出以下异常。
java.net.SocketTimeoutException: failed to connect to nexus-websocket-a.intercom.io/54.81.152.198 (port 443) after 20000ms
at libcore.io.IoBridge.connectErrno(IoBridge.java:169)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:456)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.splunk.mint.network.util.Delegator.invoke0(Delegator.java:47)
at com.splunk.mint.network.util.Delegator.invoke(Delegator.java:39)
at com.splunk.mint.network.socket.MonitoringSocketImpl.connect(MonitoringSocketImpl.java:179)
at java.net.Socket.connect(Socket.java:882)
at io.intercom.okhttp3.internal.platform.AndroidPlatform.connectSocket(AndroidPlatform.java:69)
at io.intercom.okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:238)
at io.intercom.okhttp3.internal.connection.RealConnection.connect(RealConnection.java:158)
at io.intercom.okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:256)
at io.intercom.okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:134)
at io.intercom.okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:113)
at io.intercom.okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
at io.intercom.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at io.intercom.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at io.intercom.okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
at io.intercom.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at io.intercom.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at io.intercom.okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
at io.intercom.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at io.intercom.okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:125)
at io.intercom.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at io.intercom.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at io.intercom.okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
at io.intercom.okhttp3.RealCall$AsyncCall.execute(RealCall.java:147)
at io.intercom.okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)