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

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

级别: 新人
发帖
1
云币
6
$^_|j1 z#i  
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 rh%m;i<b  
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 $`ztiVu3  
17:44:12.135 [nioEventLoopGroup-2-1] INFO com.alibaba.nls.client.transport.netty4.WebSocketClientHandler - WebSocket Client connected! response headers[sec-websocket-extensions]:null ;..o7I  
17:44:12.135 [main] DEBUG com.alibaba.nls.client.transport.netty4.NettyWebSocketClient - websocket connection is established after handshake,connectionId:222b8556 <7 )Fh*W@  
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"}} qX#MV>1  
17:44:12.197 [nioEventLoopGroup-2-1] DEBUG io.netty.handler.codec.http.websocketx.WebSocket08FrameEncoder - Encoding WebSocket Frame opCode=1 length=342 WeMAe w/d  
17:44:12.229 [nioEventLoopGroup-2-1] DEBUG io.netty.handler.codec.http.websocketx.WebSocket08FrameDecoder - Decoding WebSocket Frame opCode=1 3`F) AWzdr  
17:44:12.229 [nioEventLoopGroup-2-1] DEBUG io.netty.handler.codec.http.websocketx.WebSocket08FrameDecoder - Decoding WebSocket Frame length=221 @r;wobt  
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!"}} }Qr6 l/2  
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"}} NwlU%{7W6  
17:44:12.197 [nioEventLoopGroup-2-1] DEBUG io.netty.handler.codec.http.websocketx.WebSocket08FrameEncoder - Encoding WebSocket Frame opCode=1 length=342 1(#;&:$`i  
NHQF^2\\  
V@vU"  
这一行,其中的 "appkey":"nsl-service",  nsl-service应该传入您的appkey吧。
发表主题 回复主题
« 返回列表上一主题下一主题

限100 字节
批量上传需要先选择文件,再选择上传
 
验证问题: ECS是阿里云提供的什么服务? 正确答案:云服务器
上一个 下一个
      ×
      全新阿里云开发者社区, 去探索开发者的新世界吧!
      一站式的体验,更多的精彩!
      通过下面领域大门,一起探索新的技术世界吧~ (点击图标进入)