语音合成报HTTPS证书问题
lenmoyouzi 发布于2019-02-25 浏览:1306 回复:1
0
收藏
最后编辑于2019-02-26

语音合成经常出现这个错误,请问什么原因呀?运行一段时间后就出现了。而且出现的概率很频繁

 

javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
02-25 17:47:00.249 2299 15564 W System.err: at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:328)
02-25 17:47:00.249 2299 15564 W System.err: at com.android.org.conscrypt.OpenSSLSocketImpl.waitForHandshake(OpenSSLSocketImpl.java:629)
02-25 17:47:00.250 2299 15564 W System.err: at com.android.org.conscrypt.OpenSSLSocketImpl.getInputStream(OpenSSLSocketImpl.java:591)
02-25 17:47:00.250 2299 15564 W System.err: at org.apache.http.impl.io.SocketInputBuffer.(SocketInputBuffer.java:75)
02-25 17:47:00.250 2299 15564 W System.err: at org.apache.http.impl.SocketHttpClientConnection.createSessionInputBuffer(SocketHttpClientConnection.java:88)
02-25 17:47:00.250 2299 15564 W System.err: at org.apache.http.impl.conn.DefaultClientConnection.createSessionInputBuffer(DefaultClientConnection.java:175)
02-25 17:47:00.250 2299 15564 W System.err: at org.apache.http.impl.SocketHttpClientConnection.bind(SocketHttpClientConnection.java:112)
02-25 17:47:00.250 2299 15564 W System.err: at org.apache.http.impl.conn.DefaultClientConnection.update(DefaultClientConnection.java:230)
02-25 17:47:00.250 2299 15564 W System.err: at org.apache.http.impl.conn.DefaultClientConnectionOperator.updateSecureConnection(DefaultClientConnectionOperator.java:247)
02-25 17:47:00.250 2299 15564 W System.err: at org.apache.http.impl.conn.AbstractPoolEntry.layerProtocol(AbstractPoolEntry.java:307)
02-25 17:47:00.250 2299 15564 W System.err: at org.apache.http.impl.conn.AbstractPooledConnAdapter.layerProtocol(AbstractPooledConnAdapter.java:151)
02-25 17:47:00.250 2299 15564 W System.err: at org.apache.http.impl.client.DefaultRequestDirector.establishRoute(DefaultRequestDirector.java:666)
02-25 17:47:00.250 2299 15564 W System.err: at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:376)
02-25 17:47:00.250 2299 15564 W System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:560)
02-25 17:47:00.250 2299 15564 W System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:492)
02-25 17:47:00.250 2299 15564 W System.err: at com.baidu.tts.loopj.AsyncHttpRequest.makeRequest(AsyncHttpRequest.java:146)
02-25 17:47:00.250 2299 15564 W System.err: at com.baidu.tts.loopj.AsyncHttpRequest.makeRequestWithRetries(AsyncHttpRequest.java:177)
02-25 17:47:00.250 2299 15564 W System.err: at com.baidu.tts.loopj.AsyncHttpRequest.run(AsyncHttpRequest.java:107)
02-25 17:47:00.250 2299 15564 W System.err: at com.baidu.tts.loopj.SyncHttpClient.sendRequest(SyncHttpClient.java:93)
02-25 17:47:00.250 2299 15564 W System.err: at com.baidu.tts.loopj.AsyncHttpClient.post(AsyncHttpClient.java:1043)
02-25 17:47:00.250 2299 15564 W System.err: at com.baidu.tts.auth.c.d(OnlineAuth.java:156)

收藏
点赞
0
个赞
共1条回复 最后由chrisberg923回复于2019-02-26
#2chrisberg923回复于2019-02-26

请依次确认以下内容:

SDK 版本:已经切换到最新版本

是否已在Demo中复现:请务必在Demo中复现遇到的错误。无法在Demo复现的问题相对难以定位原因。

 

若能在Demo中复现,请描述:

SDK:(SDK类型,版本号)

初始化引擎代码:(在线引擎、离线引擎代码片段)

APPID:

问题描述:(具体问题,稳定复现/概率)

复现逻辑:(如何复现)

完整日志:(附上开启Debug模式的,从启动到结束的完整日志)

 

0
TOP
切换版块