04-22 22:41:28.814 I/BDSHttpRequestMaker( 6877): url = http://vop.baidu.com/v2/up?sn=47c516a8-6229-4530-9a27-00870ecb860c_s-4 &8d019bb,
04-22 22:41:28.814 D/BDSHttpRequestMaker( 6877): url: http://vop.baidu.com/v2/up?sn=47c516a8-6229-4530-9a27-00870ecb860c_s-4 mHostIp: vop.baidu.com &8d019bb,
04-22 22:41:28.815 W/System.err( 6877): java.io.IOException: Cleartext HTTP traffic to vop.baidu.com not permitted
04-22 22:41:28.815 W/System.err( 6877): at com.android.okhttp.HttpHandler$CleartextURLFilter.checkURLPermitted(HttpHandler.java:115)
04-22 22:41:28.815 W/System.err( 6877): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:458)
04-22 22:41:28.815 W/System.err( 6877): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:127)
04-22 22:41:28.815 W/System.err( 6877): at com.baidu.speech.core.BDSHttpRequestMaker.setupUploadConnection(Unknown Source:101)
04-22 22:41:28.815 W/System.err( 6877): at com.baidu.speech.core.BDSHttpRequestMaker.setupConnection(Unknown Source:114)
04-22 22:41:28.816 W/System.err( 6877): java.io.IOException: Cleartext HTTP traffic to 119.75.222.172 not permitted
04-22 22:41:28.816 W/System.err( 6877): at com.android.okhttp.HttpHandler$CleartextURLFilter.checkURLPermitted(HttpHandler.java:115)
04-22 22:41:28.816 W/System.err( 6877): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:458)
04-22 22:41:28.816 W/System.err( 6877): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:127)
04-22 22:41:28.816 W/System.err( 6877): at com.baidu.speech.core.BDSHttpRequestMaker.setupUploadConnection(Unknown Source:101)
04-22 22:41:28.816 W/System.err( 6877): at com.baidu.speech.core.BDSHttpRequestMaker.setupUploadConnection(Unknown Source:119)
04-22 22:41:28.816 W/System.err( 6877): at com.baidu.speech.core.BDSHttpRequestMaker.setupConnection(Unknown Source:114)
04-22 22:41:28.817 W/System.err( 6877): java.io.IOException: Cleartext HTTP traffic to 182.61.62.25 not permitted
04-22 22:41:28.817 W/System.err( 6877): at com.android.okhttp.HttpHandler$CleartextURLFilter.checkURLPermitted(HttpHandler.java:115)
04-22 22:41:28.817 W/System.err( 6877): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:458)
04-22 22:41:28.817 W/System.err( 6877): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:127)
04-22 22:41:28.817 W/System.err( 6877): at com.baidu.speech.core.BDSHttpRequestMaker.setupUploadConnection(Unknown Source:101)
04-22 22:41:28.817 W/System.err( 6877): at com.baidu.speech.core.BDSHttpRequestMaker.setupUploadConnection(Unknown Source:119)
04-22 22:41:28.817 W/System.err( 6877): at com.baidu.speech.core.BDSHttpRequestMaker.setupUploadConnection(Unknown Source:119)
04-22 22:41:28.817 W/System.err( 6877): at com.baidu.speech.core.BDSHttpRequestMaker.setupConnection(Unknown Source:114)
04-22 22:41:28.818 I/BDSHttpRequestMaker( 6877): url = http://vop.baidu.com/v2/down?sn=47c516a8-6229-4530-9a27-00870ecb860c_s-4 &d5c9697,
04-22 22:41:28.818 D/BDSHttpRequestMaker( 6877): url: http://vop.baidu.com/v2/down?sn=47c516a8-6229-4530-9a27-00870ecb860c_s-4 mHostIp: vop.baidu.com &d5c9697,
04-22 22:41:28.819 W/System.err( 6877): java.io.IOException: Cleartext HTTP traffic to vop.baidu.com not permitted
04-22 22:41:28.819 W/System.err( 6877): at com.android.okhttp.HttpHandler$CleartextURLFilter.checkURLPermitted(HttpHandler.java:115)
04-22 22:41:28.819 W/System.err( 6877): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:458)
04-22 22:41:28.819 W/System.err( 6877): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:127)
04-22 22:41:28.819 W/System.err( 6877): at com.baidu.speech.core.BDSHttpRequestMaker.setupDownloadConnection(Unknown Source:103)
04-22 22:41:28.819 W/System.err( 6877): at com.baidu.speech.core.BDSHttpRequestMaker.setupConnection(Unknown Source:131)
04-22 22:41:28.820 W/System.err( 6877): java.io.IOException: Cleartext HTTP traffic to 119.75.222.172 not permitted
04-22 22:41:28.820 W/System.err( 6877): at com.android.okhttp.HttpHandler$CleartextURLFilter.checkURLPermitted(HttpHandler.java:115)
04-22 22:41:28.820 W/System.err( 6877): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:458)
04-22 22:41:28.820 W/System.err( 6877): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:127)
04-22 22:41:28.820 W/System.err( 6877): at com.baidu.speech.core.BDSHttpRequestMaker.setupDownloadConnection(Unknown Source:103)
04-22 22:41:28.820 W/System.err( 6877): at com.baidu.speech.core.BDSHttpRequestMaker.setupDownloadConnection(Unknown Source:206)
04-22 22:41:28.820 W/System.err( 6877): at com.baidu.speech.core.BDSHttpRequestMaker.setupConnection(Unknown Source:131)
04-22 22:41:28.821 W/System.err( 6877): java.io.IOException: Cleartext HTTP traffic to 182.61.62.25 not permitted
04-22 22:41:28.821 W/System.err( 6877): at com.android.okhttp.HttpHandler$CleartextURLFilter.checkURLPermitted(HttpHandler.java:115)
04-22 22:41:28.821 W/System.err( 6877): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:458)
04-22 22:41:28.821 W/System.err( 6877): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:127)
04-22 22:41:28.821 W/System.err( 6877): at com.baidu.speech.core.BDSHttpRequestMaker.setupDownloadConnection(Unknown Source:103)
04-22 22:41:28.821 W/System.err( 6877): at com.baidu.speech.core.BDSHttpRequestMaker.setupDownloadConnection(Unknown Source:206)
04-22 22:41:28.821 W/System.err( 6877): at com.baidu.speech.core.BDSHttpRequestMaker.setupDownloadConnection(Unknown Source:206)
04-22 22:41:28.821 W/System.err( 6877): at com.baidu.speech.core.BDSHttpRequestMaker.setupConnection(Unknown Source:131)
04-22 22:41:28.823 I/BDSHttpRequestMaker( 6877): sendData dataType : 0 http://182.61.62.25/v2/up?sn=47c516a8-6229-4530-9a27-00870ecb860c_s-4 &8d019bb,
04-22 22:41:28.824 W/System.err( 6877): java.io.IOException: Cleartext HTTP traffic to 182.61.62.25 not permitted
04-22 22:41:28.824 W/System.err( 6877): at com.android.okhttp.HttpHandler$CleartextURLFilter.checkURLPermitted(HttpHandler.java:115)
04-22 22:41:28.824 W/System.err( 6877): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:458)
04-22 22:41:28.824 W/System.err( 6877): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:127)
04-22 22:41:28.824 W/System.err( 6877): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:258)
04-22 22:41:28.824 W/System.err( 6877): at com.baidu.speech.core.BDSHttpRequestMaker.sendData(Unknown Source:86)
04-22 22:41:28.827 E/ ( 3329): ## ERROR : UIPC_Read(L800): UIPC_Read : channel 2 closed##
04-22 22:41:28.828 V/ASREngine( 6877): ASRCallBack :8
04-22 22:41:28.828 E/ASREngine( 6877): EVoiceRecognitionClientWorkStatusError errorDomain : 32 errorCode : 2004 desc : HTTP error: 2004 mLastRecognitionResult:
04-22 22:41:28.829 D/ASREngine( 6877): generateErrorResult errDomain = 32 errCode = 2004
04-22 22:41:28.833 V/ASREngine( 6877): ASRCallBack :18
04-22 22:41:28.837 W/System.err( 6877): java.util.concurrent.ExecutionException: java.io.IOException: Broken pipe
04-22 22:41:28.838 W/System.err( 6877): at java.util.concurrent.FutureTask.report(FutureTask.java:123)
04-22 22:41:28.838 W/System.err( 6877): at java.util.concurrent.FutureTask.get(FutureTask.java:207)
04-22 22:41:28.838 W/System.err( 6877): at com.baidu.speech.audio.MicrophoneServer.run(Unknown Source:94)
04-22 22:41:28.838 W/System.err( 6877): at java.lang.Thread.run(Thread.java:764)
04-22 22:41:28.838 W/System.err( 6877): Caused by: java.io.IOException: Broken pipe
04-22 22:41:28.838 W/System.err( 6877): at android.net.LocalSocketImpl.writeba_native(Native Method)
04-22 22:41:28.838 W/System.err( 6877): at android.net.LocalSocketImpl.access$500(LocalSocketImpl.java:36)
04-22 22:41:28.838 W/System.err( 6877): at android.net.LocalSocketImpl$SocketOutputStream.write(LocalSocketImpl.java:144)
04-22 22:41:28.838 W/System.err( 6877): at com.baidu.speech.audio.MicrophoneServer$2.call(Unknown Source:17)
04-22 22:41:28.838 W/System.err( 6877): at com.baidu.speech.audio.MicrophoneServer$2.call(Unknown Source:0)
04-22 22:41:28.838 W/System.err( 6877): at java.util.concurrent.FutureTask.run(FutureTask.java:266)
04-22 22:41:28.838 W/System.err( 6877): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
04-22 22:41:28.838 W/System.err( 6877): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
04-22 22:41:28.838 W/System.err( 6877): ... 1 more
04-22 22:41:28.839 I/RecogEventAdapter( 6877): name:asr.finish; params:{"origin_result":{"sn":"cuid=D387AE2BB5C4CD34CF72806BC4825311|0&sn=47c516a8-6229-4530-9a27-00870ecb860c&nettype=1","error":2,"desc":"Download network connect failed","sub_error":2004},"error":2,"desc":"Download network connect failed","sub_error":2004}
04-22 22:41:28.839 I/[BDASR_LOG] MicrophoneServer( 6877): finally, mRemoteOutputStreams size = 0 firstStart = true
04-22 22:41:28.839 E/RecogEventAdapter( 6877): asr error:{"origin_result":{"sn":"cuid=D387AE2BB5C4CD34CF72806BC4825311|0&sn=47c516a8-6229-4530-9a27-00870ecb860c&nettype=1","error":2,"desc":"Download network connect failed","sub_error":2004},"error":2,"desc":"Download network connect failed","sub_error":2004}
04-22 22:41:28.841 E/AudioRecord( 6877): [ (BaiduTtsManager.java:314)#OnAsrFinishError ]【asr.finish事件】识别错误, 错误码:2 ,2004 ; Download network connect failed
04-22 22:41:28.841 V/AudioRecord( 6877): [ (BaiduTtsManager.java:172)#StopRecognize ]cancel Recognize
04-22 22:41:28.841 I/MyRecognizer( 6877): 取消识别
解决方案参考:https://medium.com/@son.rommer/fix-cleartext-traffic-error-in-android-9-pie-2f4e9e2235e6
网友评论