Why does ConversationTranscriber lose connection to server after about 20 min?

Mojica, Christopher 0 Reputation points
2025-03-05T23:50:37.53+00:00

We are doing a live transcription speech to text using the ConversationTranscriber. After calling startTranscribingAsync it runs for about 20 min before a canceled event is received with an error saying "Unable to contact server. StatusCode: 0, undefined Reason:" There is also an error code of 7. This happens on a consistent basis.

SpeechServiceConnection_RecognitionEndpointVersion: 2

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,940 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Mojica, Christopher 0 Reputation points
    2025-03-06T15:49:31.1766667+00:00

    The token expires after 10min. Need to implement a resource key instead of access token.

    https://learn.microsoft.com/en-us/azure/ai-services/authentication

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.