【发布时间】:2018-10-03 17:18:30
【问题描述】:
我正在尝试在我的 Android 设备上测试 Cognitive-Speech-STT-Android 示例项目 将客户端库依赖添加到 Andoid Studio 后,创建试用帐户并添加 Uri 和主键 奇怪的行为导致应用程序返回此日志并且没有收到文本结果:
Android Studio 日志:
I/NLPLAT: Auth token status: 404
originating error 0x8000ffff
10-03 14:41:43.902 21547-22632/com.example.robotvoicedemo I/NLPLAT:
originating error 0x80070057
Authorization token hr 80070057 'S'
Refreshing token S
Waiting for connection/send completion.
Transport error, hr=8E200002
I/NLPLAT: WebSocket closed unexpectedly, status: 0
Closing web socket channel
CU Client connection dropped
ConnectionStateChanged
Upgrade request returned with HTTP status code: 401.
Web socket handshake failed, hr=8E200002
web socket message delivery failed, hr=8E200002
Web socket channel already closed.
Message: 'S' has -1206569628 remaining transmit attempts.
Discarding failed message (name='S')
Reporting message failure to the observer (name='S')
Failed to 'hr', HR=8E200002, Failed to send message (name='S')
Transport error, hr=8E200002
Web socket channel already closed.
Message: 'S' has -1206569628 remaining transmit attempts.
Retrying message, name='S'
【问题讨论】:
标签: android speech-recognition speech-to-text microsoft-cognitive