语音翻译54001错误
孤单小糯米 发布于2021-01-06 浏览:612 回复:5
0
收藏

2021-01-06 22:20:35.592 17295-17336/com.example.afinal I/BDSHttpRequestMaker: response : 9������auth��������{"error_code":"54001","error_msg":"Invalid Sign"} https://vse.baidu.com/v2/down?sn=9a06c63f-1fee-492b-95d7-50610ef9b321 &ae7a1b1,
2021-01-06 22:20:35.592 17295-17336/com.example.afinal I/BDSHttpRequestMaker: readData dataType : 241 https://vse.baidu.com/v2/down?sn=9a06c63f-1fee-492b-95d7-50610ef9b321 &ae7a1b1,
2021-01-06 22:20:35.592 17295-17336/com.example.afinal I/BDSHttpRequestMaker: response : {"err_msg":"third party authentication operation failed","err_no":-3015,"sn":"9a06c63f-1fee-492b-95d7-50610ef9b321"}
https://vse.baidu.com/v2/down?sn=9a06c63f-1fee-492b-95d7-50610ef9b321 &ae7a1b1,
2021-01-06 22:20:35.604 17295-17336/com.example.afinal I/BDSHttpRequestMaker: Exception &ae7a1b1,
2021-01-06 22:20:35.604 17295-17336/com.example.afinal W/System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'java.net.URL java.net.HttpURLConnection.getURL()' on a null object reference
2021-01-06 22:20:35.604 17295-17336/com.example.afinal W/System.err: at com.baidu.speech.core.BDSHttpRequestMaker.readData(Unknown Source:152)
2021-01-06 22:20:35.609 17295-17331/com.example.afinal E/ASREngine: EVoiceRecognitionClientWorkStatusError errorDomain : 33 errorCode : -3015 desc : Server unkown error. mLastRecognitionResult:
2021-01-06 22:20:35.609 17295-17331/com.example.afinal D/ASREngine: generateErrorResult errDomain = 33 errCode = -3015
2021-01-06 22:20:35.654 17295-17356/com.example.afinal W/System.err: java.util.concurrent.ExecutionException: java.net.SocketException: Broken pipe
2021-01-06 22:20:35.654 17295-17356/com.example.afinal W/System.err: at java.util.concurrent.FutureTask.report(FutureTask.java:123)
2021-01-06 22:20:35.654 17295-17356/com.example.afinal W/System.err: at java.util.concurrent.FutureTask.get(FutureTask.java:207)
2021-01-06 22:20:35.654 17295-17356/com.example.afinal W/System.err: at com.baidu.speech.audio.MicrophoneServer.run(Unknown Source:99)
2021-01-06 22:20:35.654 17295-17356/com.example.afinal W/System.err: at java.lang.Thread.run(Thread.java:919)
2021-01-06 22:20:35.654 17295-17356/com.example.afinal W/System.err: Caused by: java.net.SocketException: Broken pipe
2021-01-06 22:20:35.654 17295-17356/com.example.afinal W/System.err: at java.net.SocketOutputStream.socketWrite0(Native Method)
2021-01-06 22:20:35.654 17295-17356/com.example.afinal W/System.err: at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:117)
2021-01-06 22:20:35.654 17295-17356/com.example.afinal W/System.err: at java.net.SocketOutputStream.write(SocketOutputStream.java:161)
2021-01-06 22:20:35.654 17295-17356/com.example.afinal W/System.err: at com.baidu.speech.audio.MicrophoneServer$2.call(Unknown Source:17)
2021-01-06 22:20:35.654 17295-17356/com.example.afinal W/System.err: at com.baidu.speech.audio.MicrophoneServer$2.call(Unknown Source:0)
2021-01-06 22:20:35.654 17295-17356/com.example.afinal W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
2021-01-06 22:20:35.654 17295-17356/com.example.afinal W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
2021-01-06 22:20:35.654 17295-17356/com.example.afinal W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
2021-01-06 22:20:35.654 17295-17356/com.example.afinal W/System.err: ... 1 more

收藏
点赞
0
个赞
共5条回复 最后由chrisberg923回复于2021-01-21
#6chrisberg923回复于2021-01-21
#5 花谢听风回复
我也有一样的问题,请问解决了吗?怎么解决的?

你好,这里是语音技术论坛,是将文字和音频进行互相转换。不是语种翻译论坛,比如中文和英语等语种的互相转换。请咨询百度翻译平台。

0
#5花谢听风回复于2021-01-21

我也有一样的问题,请问解决了吗?怎么解决的?

0
#4chrisberg923回复于2021-01-08
#3 孤单小糯米回复
百度语音翻译  

翻译的问题请咨询百度翻译团队,可以查看 https://api.fanyi.baidu.com/

0
#3孤单小糯米回复于2021-01-07

百度语音翻译

 

0
#2chrisberg923回复于2021-01-07

请问你测试的的百度翻译还是语音识别功能呢?翻译是指不同语种之间的翻译,比如将英文翻译成中文、中文翻译成日文等。语音识别是将人说的话或音频转换成文字结果。

0
TOP
切换版块