微软出现WebSocket closed unexpectedly错误

由于准备用集成了微软的 APP 做演示,已经放置一个月的微软版本重新拿出来用。但是这时候出现:

WebSocket closed unexpectedly, status: 0

Closing web socket channel

Web socket channel closed (state = 0)

CU Client connection dropped

ConnectionStateChanged

Upgrade request returned with HTTP status code: 403

Web socket handshake failed, hr=8E200002

web socket message delivery failed, hr=8E200002

Web socket channel already closed.

Message: 'audio.stream.body' has 0 remaining transmit attempts.

Discarding failed message (name='audio.stream.body')

Reporting message failure to the observer (name='audio.stream.body')

Failed to 'hr', HR=8E200002, Failed to send message (name='audio.stream.body')

Transport error, hr=8E200002

Web socket channel already closed.

Message: 'audio.stream.body' has 4 remaining transmit attempts.

Retrying message, name='audio.stream.body'

Initiating websocket connection. m_connection=0x1740abe38 host=websockets.platform.bing.com port=443

Auth token status: 401

originating error 0x8000ffff

originating error 0x80070057

Authorization token hr 80070057 ''

Refreshing token /sts/v1.0/issueToken

WSRequest



这个由于是 ID 30天的试用期过期了,所以重新在项目里“setting.info” 里面把“primaryKey”更新即可解决上面的问题。

同个 APP 里的微软翻译与语音合成不受影响。

你可能感兴趣的:(微软出现WebSocket closed unexpectedly错误)