启动unimrcp报错的原因是什么呢
摆渡360搜狗 发布于2018-10 浏览:2417 回复:0
0
收藏

启动日志如下:

2018-10-26 15:13:24,949 INFO [ITMA] [itma_controller.cpp:61] 139949610026752 My SDKID is CPP_0.1.3-hostname-847_76668
[2018-10-26 15:13:26,541] [ERROR] [BDIRP] [848] Error: subcode 0 msg: "token json parse error:{\"error\":\"invalid_client\",\"error_description\":\"unknown client id\"}\n"
[2018-10-26 15:13:26,541] [ERROR] [BDIRP] [848] Fatal: [990002] {"err_code":302,"err_msg":"token json parse error:{\"error\":\"invalid_client\",\"error_description\":\"unknown client id\"}\n"}
2018-10-26 15:13:26,541 ERROR [ITMA] [itma_controller.cpp:70] 139949610026752 TokenRunner start fail: 302, token json parse error:{"error":"invalid_client","error_description":"unknown client id"}

[2018-10-26 15:13:26,541] [ERROR] [BDIRP] [848] failed to init global controller err_msg: token json parse error:{"error":"invalid_client","error_description":"unknown client id"}

recogplugin.json配置如下:

{
"app.appKey": "xxxxx",
"app.appSecret": "xxxxx",
"app.compress": false,
"app.machineName": "hostname",
"app.serverAddress": "http://aitalker.baidubce.com", // change to https if SSL lib linked
"app.authAddress": "http://aip.baidubce.com",// 上面这两个地址都ping不通,该怎么办 ???
"app.upload.threads": 4,
"app.scope": "brain_bicc", // TODO: brain_ai_talker:(智能电销) 或 brain_bicc(实时语音识别)
"app.upload.duration": 900, // in seconds
"app.sentence.handler": {
"sentenceHandler": {
"client": "STANDARD_COMPLETED",
"agent": "STANDARD_COMPLETED"
},
"interruption": "ASR_INTERRUPTION" // 默认开启断掉,去掉则为不支持打断功能
},
"log.toStandardOutput": 1,
"log.toFile": 1,
"log.filename": "../log/itmasdk.log",
"log.plugin.filename": "../log/recogplugin.log",
"log.maxLogFileSize": 1024000,
"log.enableDebug": 0,
"log.enableInfo": 1,
"log.enableWarning": 1,
"log.immediateFlush": 0
}

 

收藏
点赞
0
个赞
快速回复
TOP
切换版块