阿里云
发表主题 回复主题
  • 292阅读
  • 1回复

[处理中]使用阿里云tts2.0java sdk的时候出现以下问题APPKEYNOTEXIST

级别: 新人
发帖
1
云币
6
up[9L|  
17:44:12.043 [nioEventLoopGroup-2-1] DEBUG io.netty.handler.ssl.util.InsecureTrustManagerFactory - Accepting a server certificate: CN=*.aliyun.com, O="Alibaba (China) Technology Co., Ltd.", L=HangZhou, ST=ZheJiang, C=CN p2]@yE7w  
17:44:12.090 [nioEventLoopGroup-2-1] DEBUG io.netty.handler.ssl.SslHandler - [id: 0x222b8556, L:/10.0.4.67:56090 - R:nls-gateway.cn-shanghai.aliyuncs.com/139.196.135.156:443] HANDSHAKEN: TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 !PQ%h/ix  
17:44:12.135 [nioEventLoopGroup-2-1] INFO com.alibaba.nls.client.transport.netty4.WebSocketClientHandler - WebSocket Client connected! response headers[sec-websocket-extensions]:null iV h^;  
17:44:12.135 [main] DEBUG com.alibaba.nls.client.transport.netty4.NettyWebSocketClient - websocket connection is established after handshake,connectionId:222b8556 ?hpT"N,hF9  
17:44:12.194 [main] DEBUG com.alibaba.nls.client.transport.netty4.NettyConnection - thread:1,send:{"payload":{"volume":50,"sample_rate":16000,"format":"wav","text":"中华人民共和国 chinese"},"context":{"sdk":{"name":"nls-sdk-java","version":"2.0.2"}},"header":{"namespace":"SpeechSynthesizer","name":"StartSynthesis","message_id":"4ebb596347da402599640930f8e59037","appkey":"nsl-service","task_id":"04a973b72d254c12a61c85848f774f1b"}} l)V!0eW  
17:44:12.197 [nioEventLoopGroup-2-1] DEBUG io.netty.handler.codec.http.websocketx.WebSocket08FrameEncoder - Encoding WebSocket Frame opCode=1 length=342 MAhJ>qe8 p  
17:44:12.229 [nioEventLoopGroup-2-1] DEBUG io.netty.handler.codec.http.websocketx.WebSocket08FrameDecoder - Decoding WebSocket Frame opCode=1 Tr}z&efY  
17:44:12.229 [nioEventLoopGroup-2-1] DEBUG io.netty.handler.codec.http.websocketx.WebSocket08FrameDecoder - Decoding WebSocket Frame length=221 ) >_xHc?  
17:44:12.230 [nioEventLoopGroup-2-1] DEBUG com.alibaba.nls.client.protocol.tts.SpeechSynthesizerListener - on message:{"header":{"namespace":"Default","name":"TaskFailed","status":40020105,"message_id":"3a648b39d4654543ba49d19d680ac1e1","task_id":"04a973b72d254c12a61c85848f774f1b","status_text":"Meta:APPKEY_NOT_EXIST:Appkey not exist!"}} m5!~PG:_  
17:44:12.257 [nioEventLoopGroup-2-1] ERROR com.alibaba.nls.client.protocol.tts.SpeechSynthesizerListener - fail status:40020105,reasone:Meta:APPKEY_NOT_EXIST:Appkey not exist!
级别: 程序猿
发帖
429
云币
655
只看该作者 沙发  发表于: 09-20
17:44:12.194 [main] DEBUG com.alibaba.nls.client.transport.netty4.NettyConnection - thread:1,send:{"payload":{"volume":50,"sample_rate":16000,"format":"wav","text":"中华人民共和国 chinese"},"context":{"sdk":{"name":"nls-sdk-java","version":"2.0.2"}},"header":{"namespace":"SpeechSynthesizer","name":"StartSynthesis","message_id":"4ebb596347da402599640930f8e59037","appkey":"nsl-service","task_id":"04a973b72d254c12a61c85848f774f1b"}} GK%ovK  
17:44:12.197 [nioEventLoopGroup-2-1] DEBUG io.netty.handler.codec.http.websocketx.WebSocket08FrameEncoder - Encoding WebSocket Frame opCode=1 length=342 E-iBA(H  
K! j*:{  
:J-5Q]#  
这一行,其中的 "appkey":"nsl-service",  nsl-service应该传入您的appkey吧。
发表主题 回复主题
« 返回列表上一主题下一主题

限100 字节
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
 
验证问题: ECS是阿里云提供的什么服务? 正确答案:云服务器
上一个 下一个