Runtime error: Failed to initialize platform (azure-c-shared). Error: 2176. For Microsoft.CognitiveServices.Speech in Azure Linux App Service with .NET 8

William J Pintas 0 Reputation points
2023-12-20T21:34:25.98+00:00

Transcription recognizer cancels on initial start of the Recognizer in Azure Linux App Service with .NET 8. The code works in Linux App Service with .NET 6.

I am using version 1.34.0 of Microsoft.CognitiveServices.Speech

Runtime error: Failed to initialize platform (azure-c-shared). Error: 2176.

It might just be an issue with Linux App service and running .NET 8.

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
{count} votes

1 answer

Sort by: Most helpful
  1. VasaviLankipalle-MSFT 18,706 Reputation points Moderator
    2023-12-21T03:26:42.52+00:00

    Hello @William J Pintas , Thanks for using Microsoft Q&A Platform.

    There are couple of similar issues, please check these if it helps: https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/2036

    I would suggest you to raise an SDK issue here at GitHub: https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues

    I hope this helps.

    Regards,
    Vasavi

    0 comments No comments

Your answer

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