开发者社区> 问答> 正文

这个阿里语音AI报错怎么处理啊?版本: 3.1.14 SDK: C++调用实时语音识别接口。

问题1:a6b05cdb6bfbe4c207aa56ed904ef703.png 这个阿里语音AI报错怎么处理啊?版本: 3.1.14 SDK: C++调用实时语音识别接口。这个是日志:2023-05-15 14:25:01,934: ERROR alibabaNlsLog: [ID:140337430333184][parseFrame:1510]Node:0x7fa2e42d97f0 Result conversion failed. 2023-05-15 14:25:01,934: WARN alibabaNlsLog: [ID:140337430333184][handlerEvent:1615]Node:0x7fa2e42d97f0 Invoke Cancel command, Callback won't be invoked. 2023-05-15 14:25:02,005: INFO alibabaNlsLog: [ID:140334694455040][stop:62]request:0x7fa2a802c240 stop type:0 -> 2023-05-15 14:25:02,005: INFO alibabaNlsLog: [ID:140334694455040][stop:480]request:0x7fa2a802c240 node:0x7fa2a80e67b0 call stop 0. (0:CmdStop, 1:CmdCancel) 2023-05-15 14:25:02,005: INFO alibabaNlsLog: [ID:140334694455040][stop:72]request:0x7fa2a802c240 stop type:0 callbackStatus:1 done 2023-05-15 14:25:02,005: WARN alibabaNlsLog: [ID:140334694455040][releaseRequest:314]request:0x7fa2a802c240 Node:0x7fa2a80e67b0 cStatus(NodeStarted) eStatus(ExitStopping), occurring in releaseRequest in runtime... 2023-05-15 14:25:02,345: INFO alibabaNlsLog: [ID:140334156084992][stop:62]request:0x7fa314568550 stop type:0 -> 2023-05-15 14:25:02,345: INFO alibabaNlsLog: [ID:140334156084992][stop:480]request:0x7fa314568550 node:0x7fa314552310 call stop 0. (0:CmdStop, 1:CmdCancel) 2023-05-15 14:25:02,345: INFO alibabaNlsLog: [ID:140334156084992][stop:72]request:0x7fa314568550 stop type:0 callbackStatus:1 done 2023-05-15 14:25:02,345: WARN alibabaNlsLog: [ID:140334156084992][releaseRequest:314]request:0x7fa314568550 Node:0x7fa314552310 cStatus(NodeStarted) eStatus(ExitStopping), occurring in releaseRequest in runtime... 2023-05-15 14:25:02,360: INFO alibabaNlsLog: [ID:140334667499264][start:44]request:0x7fa2c01763a0 start -> 2023-05-15 14:25:02,360: INFO alibabaNlsLog: [ID:140334667499264][start:295]Node:0x7fa2c069e2f0 Select NO.0 thread. 2023-05-15 14:25:02,360: INFO alibabaNlsLog: [ID:140334667499264][start:53]request:0x7fa2c01763a0 start done 2023-05-15 14:25:02,360: INFO alibabaNlsLog: [ID:140337430333184][parseUrlInformation:571]Node:0x7fa2c069e2f0 Address:wss://nls-gateway.cn-shanghai.aliyuncs.com/ws/v1. 2023-05-15 14:25:02,360: INFO alibabaNlsLog: [ID:140337430333184][parseUrlInformation:603]Node:0x7fa2c069e2f0 Type:wss, Host:nls-gateway.cn-shanghai.aliyuncs.com, Port:443, Path:ws/v1. 2023-05-15 14:25:02,360: INFO alibabaNlsLog: [ID:140337430333184][dnsProcess:1920]Node:0x7fa2c069e2f0 _url._isSsl is True. 2023-05-15 14:25:02,360: INFO alibabaNlsLog: [ID:140337430333184][dnsProcess:1930]Node:0x7fa2c069e2f0 _url._directIp is False. 2023-05-15 14:25:02,360: INFO alibabaNlsLog: [ID:140337430333184][dnsProcess:1948]Node:0x7fa2c069e2f0 Dns URL:wss://nls-gateway.cn-shanghai.aliyuncs.com/ws/v1, enableSysGetAddr:0. 2023-05-15 14:25:02,388: ERROR alibabaNlsLog: [ID:140337421940480][nodeResponseProcess:1173]Node:0x7fa2a80e67b0 Response failed, ret:-302 2023-05-15 14:25:02,388: ERROR alibabaNlsLog: [ID:140337421940480][nodeResponseProcess:1183]Node:0x7fa2a80e67b0 Response failed, errormsg:workThread workStatus(NodeInvalid) Response failed. error_code(-302). But request has released, ign ore TaskFailed and Closed event. 2023-05-15 14:25:02,388: INFO alibabaNlsLog: [ID:140337421940480][closeConnectNode:731]Node:0x7fa2a80e67b0 closeConnectNode done, current cStatus:NodeInvalid eStatus:ExitStopping2 2023-05-15 14:25:02,388: INFO alibabaNlsLog: [ID:140337421940480][destroyConnectNode:338]Node:0x7fa2a80e67b0 destroyConnectNode begin. 2023-05-15 14:25:02,388: INFO alibabaNlsLog: [ID:140337421940480][destroyConnectNode:352]Node:0x7fa2a80e67b0 destroyConnectNode done. 2023-05-15 14:25:02,388: INFO alibabaNlsLog: [ID:140337421940480][destroyConnectNode:361]Node:0x7fa2a80e67b0 destroyConnectNode finish. 2023-05-15 14:25:02,428: ERROR alibabaNlsLog: [ID:140337413547776][nodeResponseProcess:1173]Node:0x7fa314552310 Response failed, ret:-302 2023-05-15 14:25:02,428: ERROR alibabaNlsLog: [ID:140337413547776][nodeResponseProcess:1183]Node:0x7fa314552310 Response failed, errormsg:workThread workStatus(NodeInvalid) Response failed. error_code(-302). But request has released, ignore TaskFailed and Closed event. 2023-05-15 14:25:02,428: INFO alibabaNlsLog: [ID:140337413547776][closeConnectNode:731]Node:0x7fa314552310 closeConnectNode done, current cStatus:NodeInvalid eStatus:ExitStopping2 2023-05-15 14:25:02,428: INFO alibabaNlsLog: [ID:140337413547776][destroyConnectNode:338]Node:0x7fa314552310 destroyConnectNode begin. 2023-05-15 14:25:02,428: INFO alibabaNlsLog: [ID:140337413547776][destroyConnectNode:352]Node:0x7fa314552310 destroyConnectNode done. 2023-05-15 14:25:02,428: INFO alibabaNlsLog: [ID:140337413547776][destroyConnectNode:361]Node:0x7fa314552310 destroyConnectNode finish. 2023-05-15 14:25:02,851: ERROR alibabaNlsLog: [ID:140334288054016][sendAudio:387]Node:0x7fa2e42d97f0 Invoke command failed. 2023-05-15 14:25:02,851: INFO alibabaNlsLog: [ID:140334288054016][stop:62]request:0x7fa2e40d8290 stop type:0 -> 2023-05-15 14:25:02,851: ERROR alibabaNlsLog: [ID:140334288054016][stop:470]request:0x7fa2e40d8290 node:0x7fa2e42d97f0 Invoke command failed. Status:NodeInvalid and ExitStopped 2023-05-15 14:25:02,851: INFO alibabaNlsLog: [ID:140334288054016][stop:72]request:0x7fa2e40d8290 stop type:0 callbackStatus:4 done 2023-05-15 14:25:02,874: INFO alibabaNlsLog: [ID:140334259070720][start:44]request:0x7fa24009d410 start -> 2023-05-15 14:25:02,874: INFO alibabaNlsLog: [ID:140334259070720][start:295]Node:0x7fa240057f50 Select NO.1 thread. 2023-05-15 14:25:02,874: INFO alibabaNlsLog: [ID:140334259070720][start:53]request:0x7fa24009d410 start done 2023-05-15 14:25:02,874: INFO alibabaNlsLog: [ID:140337421940480][parseUrlInformation:571]Node:0x7fa240057f50 Address:wss://nls-gateway.cn-shanghai.aliyuncs.com/ws/v1. 2023-05-15 14:25:02,874: INFO alibabaNlsLog: [ID:140337421940480][parseUrlInformation:603]Node:0x7fa240057f50 Type:wss, Host:nls-gateway.cn-shanghai.aliyuncs.com, Port:443, Path:ws/v1. 2023-05-15 14:25:02,874: INFO alibabaNlsLog: [ID:140337421940480][dnsProcess:1920]Node:0x7fa240057f50 _url._isSsl is True. 2023-05-15 14:25:02,874: INFO alibabaNlsLog: [ID:140337421940480][dnsProcess:1930]Node:0x7fa240057f50 _url._directIp is False. 2023-05-15 14:25:02,874: INFO alibabaNlsLog: [ID:140337421940480][dnsProcess:1948]Node:0x7fa240057f50 Dns URL:wss://nls-gateway.cn-shanghai.aliyuncs.com/ws/v1, enableSysGetAddr:0. 2023-05-15 14:25:03,455: INFO alibabaNlsLog: [ID:140334163580672][start:44]request:0x7fa2984f4ff0 start -> 2023-05-15 14:25:03,455: INFO alibabaNlsLog: [ID:140334163580672][start:295]Node:0x7fa298481f00 Select NO.2 thread. 2023-05-15 14:25:03,455: INFO alibabaNlsLog: [ID:140334163580672][start:53]request:0x7fa2984f4ff0 start done 2023-05-15 14:25:03,455: INFO alibabaNlsLog: [ID:140337413547776][parseUrlInformation:571]Node:0x7fa298481f00 Address:wss://nls-gateway.cn-shanghai.aliyuncs.com/ws/v1. 2023-05-15 14:25:03,455: INFO alibabaNlsLog: [ID:140337413547776][parseUrlInformation:603]Node:0x7fa298481f00 Type:wss, Host:nls-gateway.cn-shanghai.aliyuncs.com, Port:443, Path:ws/v1. 2023-05-15 14:25:03,455: INFO alibabaNlsLog: [ID:140337413547776][dnsProcess:1920]Node:0x7fa298481f00 _url._isSsl is True. 2023-05-15 14:25:03,455: INFO alibabaNlsLog: [ID:140337413547776][dnsProcess:1930]Node:0x7fa298481f00 _url._directIp is False. 2023-05-15 14:25:03,455: INFO alibabaNlsLog: [ID:140337413547776][dnsProcess:1948]Node:0x7fa298481f00 Dns URL:wss://nls-gateway.cn-shanghai.aliyuncs.com/ws/v1, enableSysGetAddr:0. 2023-05-15 14:25:03,725: INFO alibabaNlsLog: [ID:140334231586560][stop:62]request:0x7fa2540e61b0 stop type:0 -> 2023-05-15 14:25:03,725: INFO alibabaNlsLog: [ID:140334231586560][stop:480]request:0x7fa2540e61b0 node:0x7fa254240f40 call stop 0. (0:CmdStop, 1:CmdCancel) 2023-05-15 14:25:03,726: INFO alibabaNlsLog: [ID:140334231586560][stop:72]request:0x7fa2540e61b0 stop type:0 callbackStatus:1 done 2023-05-15 14:25:03,726: WARN alibabaNlsLog: [ID:140334231586560][releaseRequest:314]request:0x7fa2540e61b0 Node:0x7fa254240f40 cStatus(NodeStarted) eStatus(ExitStopping), occurring in releaseRequest in runtime... 2023-05-15 14:25:04,299: ERROR alibabaNlsLog: [ID:140337405155072][nodeResponseProcess:1173]Node:0x7fa254240f40 Response failed, ret:-302 2023-05-15 14:25:04,299: ERROR alibabaNlsLog: [ID:140337405155072][nodeResponseProcess:1183]Node:0x7fa254240f40 Response failed, errormsg:workThread workStatus(NodeInvalid) Response failed. error_code(-302). But request has released, ignore TaskFailed and Closed event. 2023-05-15 14:25:04,299: INFO alibabaNlsLog: [ID:140337405155072][closeConnectNode:731]Node:0x7fa254240f40 closeConnectNode done, current cStatus:NodeInvalid eStatus:ExitStopping2 2023-05-15 14:25:04,299: INFO alibabaNlsLog: [ID:140337405155072][destroyConnectNode:338]Node:0x7fa254240f40 destroyConnectNode begin. 2023-05-15 14:25:04,299: INFO alibabaNlsLog: [ID:140337405155072][destroyConnectNode:352]Node:0x7fa254240f40 destroyConnectNode done. 2023-05-15 14:25:04,299: INFO alibabaNlsLog: [ID:140337405155072][destroyConnectNode:361]Node:0x7fa254240f40 destroyConnectNode finish. request->sendAudio(frame_data, frame_len) 这个接口偶尔报错,单机并发30左右。调用的接口是:SpeechTranscriberRequest。

展开
收起
三分钟热度的鱼 2023-05-23 11:19:42 154 0
1 条回答
写回答
取消 提交回答
  • 这个错误信息提示Node:0x7fa2e42d97f0的结果转换失败,可能是因为接收到的语音内容无法正确解析。建议检查传入的语音数据格式是否正确,例如采样率、位深、通道数等参数是否符合接口要求。另外,也可以尝试重新调用接口进行语音识别,或者联系阿里云技术支持进行进一步排查和解决。

    2023-05-28 08:11:01
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
从 SDK 到编解码:视频直播架构解析 立即下载
跨平台的云服务SDK需要什么 立即下载
一个跨平台的云服务SDK需要什么 立即下载