阿里云
阿里云多端小程序中小企业获客首选
发表主题 回复主题
  • 1431阅读
  • 1回复

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

级别: 新人
发帖
1
云币
6
K+*Q@R D  
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 `B/0iA  
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 F&RgT1*  
17:44:12.135 [nioEventLoopGroup-2-1] INFO com.alibaba.nls.client.transport.netty4.WebSocketClientHandler - WebSocket Client connected! response headers[sec-websocket-extensions]:null N_eX/ux  
17:44:12.135 [main] DEBUG com.alibaba.nls.client.transport.netty4.NettyWebSocketClient - websocket connection is established after handshake,connectionId:222b8556 *N'K/36;  
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/M_lvQ  
17:44:12.197 [nioEventLoopGroup-2-1] DEBUG io.netty.handler.codec.http.websocketx.WebSocket08FrameEncoder - Encoding WebSocket Frame opCode=1 length=342 =Prb'8 W  
17:44:12.229 [nioEventLoopGroup-2-1] DEBUG io.netty.handler.codec.http.websocketx.WebSocket08FrameDecoder - Decoding WebSocket Frame opCode=1 v+ 7kU=  
17:44:12.229 [nioEventLoopGroup-2-1] DEBUG io.netty.handler.codec.http.websocketx.WebSocket08FrameDecoder - Decoding WebSocket Frame length=221 &;yH@@Z  
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!"}} Sr?#wev]rn  
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
只看该作者 沙发  发表于: 2018-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"}} 4[Z\ ?[  
17:44:12.197 [nioEventLoopGroup-2-1] DEBUG io.netty.handler.codec.http.websocketx.WebSocket08FrameEncoder - Encoding WebSocket Frame opCode=1 length=342 *eI)Z=8  
{3;AwhN0H  
We0.3aG  
这一行,其中的 "appkey":"nsl-service",  nsl-service应该传入您的appkey吧。
发表主题 回复主题
« 返回列表上一主题下一主题

限100 字节
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
 
验证问题: 阿里云官网域名是什么? 正确答案:www.aliyun.com
上一个 下一个
      ×
      全新阿里云开发者社区, 去探索开发者的新世界吧!
      一站式的体验,更多的精彩!
      通过下面领域大门,一起探索新的技术世界吧~ (点击图标进入)