You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the following error trying to use the Speech SDK with Entra authentication.
Error: Unable to contact server. StatusCode: 1006, wss://westeurope.tts.speech.microsoft.com/cognitiveservices/websocket/v1 Reason: undefined
I am using a Cognitive Services Multi account ressource and when I query the translation endpoint everything works fine with my auth token, however it doesn't when trying to use the speech endpoint with the speech sdk.
WebSocket connection to 'wss://westeurope.tts.speech.microsoft.com/cognitiveservices/websocket/v1?Authorization=Bearer%20aad%23<RESSOURCEID>%23<TOKEN>&X-ConnectionId=<SOMEID>' failed:
open @ WebsocketMessageAdapter.js:73
open @ WebsocketConnection.js:68
eval @ SynthesisAdapterBase.js:295
Describe the bug
I am getting the following error trying to use the Speech SDK with Entra authentication.
Error: Unable to contact server. StatusCode: 1006, wss://westeurope.tts.speech.microsoft.com/cognitiveservices/websocket/v1 Reason: undefined
I am using a Cognitive Services Multi account ressource and when I query the translation endpoint everything works fine with my auth token, however it doesn't when trying to use the speech endpoint with the speech sdk.
To Reproduce
Here's my minimal version using next.js
dependencies
layout.js
page.js
Expected behavior
speakTextAsync shouldn't throw an error
Version of the Cognitive Services Speech SDK
1.41.0
Platform, Operating System, and Programming Language
Platform: Next.js, Browser
Operating System: Windows 11
Programming Language: Javascript
Additional context
Error occuring in: WebsocketMessageAdapter.js
Error occuring in: page.js
would be super grateful for any help!
The text was updated successfully, but these errors were encountered: