收藏
回答

getCallerTicket 返回Unknown Source?


07-26 14:30:27.300  6323  6375 W System.err: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

07-26 14:30:27.313  6323  6375 W System.err: at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:361)

07-26 14:30:27.313  6323  6375 W System.err: at okhttp3.internal.connection.RealConnection.connectTls(RealConnection.kt:367)

07-26 14:30:27.313  6323  6375 W System.err: at okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.kt:325)

07-26 14:30:27.313  6323  6375 W System.err: at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:197)

07-26 14:30:27.313  6323  6375 W System.err: at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:233)

07-26 14:30:27.313  6323  6375 W System.err: at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:107)

07-26 14:30:27.313  6323  6375 W System.err: at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:75)

07-26 14:30:27.313  6323  6375 W System.err: at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:245)

07-26 14:30:27.313  6323  6375 W System.err: at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)

07-26 14:30:27.313  6323  6375 W System.err: at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)

07-26 14:30:27.313  6323  6375 W System.err: at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:82)

07-26 14:30:27.313  6323  6375 W System.err: at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)

07-26 14:30:27.313  6323  6375 W System.err: at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)

07-26 14:30:27.313  6323  6375 W System.err: at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)

07-26 14:30:27.313  6323  6375 W System.err: at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:74)

07-26 14:30:27.314  6323  6375 W System.err: at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)

07-26 14:30:27.314  6323  6375 W System.err: at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:197)

07-26 14:30:27.314  6323  6375 W System.err: at okhttp3.internal.connection.RealCall.execute(RealCall.kt:148)

07-26 14:30:27.314  6323  6375 W System.err: at com.tencent.wxvoip.ServiceProxy.a(Unknown Source)

07-26 14:30:27.314  6323  6375 W System.err: at com.tencent.wxvoip.ServiceProxy.getCallerTicket(Unknown Source)

07-26 14:30:27.314  6323  6375 W System.err: at com.xyw.talkphone.telephone.ui.NewsActivity$init$2$1.invokeSuspend(NewsActivity.kt:65)

07-26 14:30:27.314  6323  6375 W System.err: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)

07-26 14:30:27.314  6323  6375 W System.err: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)

07-26 14:30:27.314  6323  6375 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)

07-26 14:30:27.314  6323  6375 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)

07-26 14:30:27.314  6323  6375 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)

07-26 14:30:27.314  6323  6375 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)

07-26 14:30:27.317  6323  6375 W System.err: Caused by: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

07-26 14:30:27.317  6323  6375 W System.err: at com.android.org.conscrypt.TrustManagerImpl.verifyChain(TrustManagerImpl.java:563)

07-26 14:30:27.317  6323  6375 W System.err: at com.android.org.conscrypt.TrustManagerImpl.checkTrustedRecursive(TrustManagerImpl.java:444)

07-26 14:30:27.317  6323  6375 W System.err: at com.android.org.conscrypt.TrustManagerImpl.checkTrustedRecursive(TrustManagerImpl.java:508)

07-26 14:30:27.317  6323  6375 W System.err: at com.android.org.conscrypt.TrustManagerImpl.checkTrusted(TrustManagerImpl.java:401)

07-26 14:30:27.317  6323  6375 W System.err: at com.android.org.conscrypt.TrustManagerImpl.checkTrusted(TrustManagerImpl.java:375)

07-26 14:30:27.317  6323  6375 W System.err: at com.android.org.conscrypt.TrustManagerImpl.getTrustedChainForServer(TrustManagerImpl.java:304)

07-26 14:30:27.317  6323  6375 W System.err: at android.security.net.config.NetworkSecurityTrustManager.checkServerTrusted(NetworkSecurityTrustManager.java:94)

07-26 14:30:27.317  6323  6375 W System.err: at android.security.net.config.RootTrustManager.checkServerTrusted(RootTrustManager.java:88)

07-26 14:30:27.317  6323  6375 W System.err: at com.android.org.conscrypt.Platform.checkServerTrusted(Platform.java:178)

07-26 14:30:27.317  6323  6375 W System.err: at com.android.org.conscrypt.OpenSSLSocketImpl.verifyCertificateChain(OpenSSLSocketImpl.java:596)

07-26 14:30:27.317  6323  6375 W System.err: at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)

07-26 14:30:27.317  6323  6375 W System.err: at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:357)

07-26 14:30:27.317  6323  6375 W System.err: ... 26 more

07-26 14:30:27.318  6323  6375 W System.err: Caused by: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

07-26 14:30:27.318  6323  6375 W System.err: ... 38 more

07-26 14:30:27.510  6323  6375 W System.err: com.tencent.wxvoip.ServiceProxy$GetTicketException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

07-26 14:30:27.510  6323  6375 W System.err: at com.tencent.wxvoip.ServiceProxy.getCallerTicket(Unknown Source)

07-26 14:30:27.510  6323  6375 W System.err: at com.xyw.talkphone.telephone.ui.NewsActivity$init$2$1.invokeSuspend(NewsActivity.kt:65)

07-26 14:30:27.510  6323  6375 W System.err: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)

07-26 14:30:27.510  6323  6375 W System.err: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)

07-26 14:30:27.510  6323  6375 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)

07-26 14:30:27.510  6323  6375 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)

07-26 14:30:27.511  6323  6375 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)

07-26 14:30:27.511  6323  6375 W System.err: at 

回答关注问题邀请回答
收藏

1 个回答

  • 晨
    2023-07-26

    Trust anchor for certification path not found


    请排查设备端SSL端相关配置

    2023-07-26
    有用
    回复
登录 后发表内容
问题标签