集成最新版后出现SSLException的问题
popsand 发布于2021-07 浏览:1163 回复:1
0
收藏

尝试集成新版bdasr_V3_20210521__0ddfe93,在demo运行没有问题,但集成后出现以下的error导致不能用

 

2021-07-08 18:32:19.563 32124-32391/com.popsand.iteacher W/System.err: javax.net.ssl.SSLException: Write error: ssl=0xe0e9a4c8: I/O error during system call, Connection reset by peer
2021-07-08 18:32:19.563 32124-32391/com.popsand.iteacher W/System.err: at com.android.org.conscrypt.NativeCrypto.SSL_write(Native Method)
2021-07-08 18:32:19.564 32124-32391/com.popsand.iteacher W/System.err: at com.android.org.conscrypt.NativeSsl.write(NativeSsl.java:422)
2021-07-08 18:32:19.564 32124-32391/com.popsand.iteacher W/System.err: at com.android.org.conscrypt.ConscryptFileDescriptorSocket$SSLOutputStream.write(ConscryptFileDescriptorSocket.java:656)
2021-07-08 18:32:19.564 32124-32391/com.popsand.iteacher W/System.err: at com.android.okhttp.okio.Okio$1.write(Okio.java:81)
2021-07-08 18:32:19.565 32124-32391/com.popsand.iteacher W/System.err: at com.android.okhttp.okio.AsyncTimeout$1.write(AsyncTimeout.java:155)
2021-07-08 18:32:19.565 32124-32391/com.popsand.iteacher W/System.err: at com.android.okhttp.okio.RealBufferedSink.flush(RealBufferedSink.java:221)
2021-07-08 18:32:19.566 32124-32391/com.popsand.iteacher W/System.err: at com.android.okhttp.internal.http.Http1xStream$ChunkedSink.flush(Http1xStream.java:540)
2021-07-08 18:32:19.566 32124-32391/com.popsand.iteacher W/System.err: at com.android.okhttp.okio.RealBufferedSink.flush(RealBufferedSink.java:223)
2021-07-08 18:32:19.566 32124-32391/com.popsand.iteacher W/System.err: at com.android.okhttp.okio.RealBufferedSink$1.flush(RealBufferedSink.java:204)
2021-07-08 18:32:19.567 32124-32391/com.popsand.iteacher W/System.err: at com.baidu.speech.core.BDSHttpRequestMaker.sendData(Unknown Source:101)

收藏
点赞
0
个赞
共1条回复 最后由用户已被禁言回复于2022-04
#2franklyn867回复于2021-07

请参照demo内的图文集成教程文档按步骤集成

0
TOP
切换版块