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

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

级别: 新人
发帖
1
云币
6
DH7B4P  
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 Qs v3`c  
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 =&Dt+f&  
17:44:12.135 [nioEventLoopGroup-2-1] INFO com.alibaba.nls.client.transport.netty4.WebSocketClientHandler - WebSocket Client connected! response headers[sec-websocket-extensions]:null sK1YmB :~a  
17:44:12.135 [main] DEBUG com.alibaba.nls.client.transport.netty4.NettyWebSocketClient - websocket connection is established after handshake,connectionId:222b8556 ;%-f>'KhI7  
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"}} =E{e|(1+u  
17:44:12.197 [nioEventLoopGroup-2-1] DEBUG io.netty.handler.codec.http.websocketx.WebSocket08FrameEncoder - Encoding WebSocket Frame opCode=1 length=342 05$;7xnf(  
17:44:12.229 [nioEventLoopGroup-2-1] DEBUG io.netty.handler.codec.http.websocketx.WebSocket08FrameDecoder - Decoding WebSocket Frame opCode=1 )8BGN'jyi  
17:44:12.229 [nioEventLoopGroup-2-1] DEBUG io.netty.handler.codec.http.websocketx.WebSocket08FrameDecoder - Decoding WebSocket Frame length=221 82w;}(!  
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!"}} +|Tz<\.C  
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!
级别: 程序猿
发帖
497
云币
745
只看该作者 沙发  发表于: 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"}} j7jCm:  
17:44:12.197 [nioEventLoopGroup-2-1] DEBUG io.netty.handler.codec.http.websocketx.WebSocket08FrameEncoder - Encoding WebSocket Frame opCode=1 length=342 jF0jkj1&/[  
gu0j.XS^  
TM_/ `a2}  
这一行,其中的 "appkey":"nsl-service",  nsl-service应该传入您的appkey吧。
发表主题 回复主题
« 返回列表上一主题下一主题

限100 字节
如果您在写长篇帖子又不马上发表,建议存为草稿
 
验证问题: ECS是阿里云提供的什么服务? 正确答案:云服务器
上一个 下一个