配置文件:{
"app.appKey": "mkkey", 已经填写了我的key
"app.appSecret": "mysecret", 已经填写了我的secrect
"app.compress": false,
"app.machineName": "00-0C-29-7E-77-9E",
"app.serverAddress": "http://aitalker.baidubce.com", // change to https if SSL lib linked
"app.authAddress": "http://aip.baidubce.com",
"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
}
报错信息
[2019-01-25 02:28:05,674] [INFO] [BDIRP] [12884] Paas_recog_engine_open
[2019-01-25 02:28:11,562] [ERROR] [BDIRP] [12884] Error: subcode 0 msg: "curl_easy_perform() failed: Timeout was reached"
[2019-01-25 02:28:11,562] [ERROR] [BDIRP] [12884] Error: subcode 28 msg: "http://aitalker.baidubce.com/auth?access_token=24.c01c457f36b2ea2dda1fbe973e64ebed.2592000.1551004086.282335-154878
59&scope=brain_bicc:verify connectionn error:http://aitalker.baidubce.com/auth?access_token=24.c01c457f36b2ea2dda1fbe973e64ebed.2592000.1551004086.282335-15487859&scope=brain_bicc"
[2019-01-25 02:28:11,562] [ERROR] [BDIRP] [12884] Fatal: [990002] {"err_code":322,"err_msg":"http://aitalker.baidubce.com/auth?access_token=24.c01c457f36b2ea2dda1fbe973e64ebed.2592000.15510
04086.282335-15487859&scope=brain_bicc:verify connectionn error:http://aitalker.baidubce.com/auth?access_token=24.c01c457f36b2ea2dda1fbe973e64ebed.2592000.1551004086.282335-15487859&scope=b
rain_bicc","sub_err_code":28}
[2019-01-25 02:28:11,562] [ERROR] [BDIRP] [12884] failed to init global controller err_msg: http://aitalker.baidubce.com/auth?access_token=24.c01c457f36b2ea2dda1fbe973e64ebed.2592000.155100
4086.282335-15487859&scope=brain_bicc:verify connectionn error:http://aitalker.baidubce.com/auth?access_token=24.c01c457f36b2ea2dda1fbe973e64ebed.2592000.1551004086.282335-15487859&scope=br
ain_bicc
大佬,解决了吗,这个是什么原因导致的啊,我也遇到了同样的问题
你把你自己机器的防火墙关掉
补充 unimrcp 报错信息:
2019-01-25 02:28:05,675 INFO [ITMA] [itma_controller.cpp:61] 140132165998336 My SDKID is CPP_0.1.3-00-0C-29-7E-77-9E-12883_76503
[2019-01-25 02:28:11,562] [ERROR] [BDIRP] [12884] Error: subcode 0 msg: "curl_easy_perform() failed: Timeout was reached"
[2019-01-25 02:28:11,562] [ERROR] [BDIRP] [12884] Error: subcode 28 msg: "http://aitalker.baidubce.com/auth?access_token=24.c01c457f36b2ea2dda1fbe973e64ebed.2592000.1551004086.282335-154878
59&scope=brain_bicc:verify connectionn error:http://aitalker.baidubce.com/auth?access_token=24.c01c457f36b2ea2dda1fbe973e64ebed.2592000.1551004086.282335-15487859&scope=brain_bicc"
[2019-01-25 02:28:11,562] [ERROR] [BDIRP] [12884] Fatal: [990002] {"err_code":322,"err_msg":"http://aitalker.baidubce.com/auth?access_token=24.c01c457f36b2ea2dda1fbe973e64ebed.2592000.15510
04086.282335-15487859&scope=brain_bicc:verify connectionn error:http://aitalker.baidubce.com/auth?access_token=24.c01c457f36b2ea2dda1fbe973e64ebed.2592000.1551004086.282335-15487859&scope=b
rain_bicc","sub_err_code":28}
2019-01-25 02:28:11,562 ERROR [ITMA] [itma_controller.cpp:70] 140132165998336 TokenRunner start fail: 3220028, http://aitalker.baidubce.com/auth?access_token=24.c01c457f36b2ea2dda1fbe97
3e64ebed.2592000.1551004086.282335-15487859&scope=brain_bicc:verify connectionn error:http://aitalker.baidubce.com/auth?access_token=24.c01c457f36b2ea2dda1fbe973e64ebed.2592000.1551004086.2
82335-15487859&scope=brain_bicc
[2019-01-25 02:28:11,562] [ERROR] [BDIRP] [12884] failed to init global controller err_msg: http://aitalker.baidubce.com/auth?access_token=24.c01c457f36b2ea2dda1fbe973e64ebed.2592000.155
1004086.282335-15487859&scope=brain_bicc:verify connectionn error:http://aitalker.baidubce.com/auth?access_token=24.c01c457f36b2ea2dda1fbe973e64ebed.2592000.1551004086.282335-15487859&scope
=brain_bicc
2019-01-25 02:28:05,675 INFO [ITMA] [itma_controller.cpp:61] 140132165998336 My SDKID is CPP_0.1.3-00-0C-29-7E-77-9E-12883_76503
2019-01-25 02:28:11,562 ERROR [ITMA] [itma_controller.cpp:70] 140132165998336 TokenRunner start fail: 3220028, http://aitalker.baidubce.com/auth?access_token=24.c01c457f36b2ea2dda1fbe973e64
ebed.2592000.1551004086.282335-15487859&scope=brain_bicc:verify connectionn error:http://aitalker.baidubce.com/auth?access_token=24.c01c457f36b2ea2dda1fbe973e64ebed.2592000.1551004086.28233
5-15487859&scope=brain_bicc