Azure-Samples / cognitive-services-speech-sdk

Sample code for the Microsoft Cognitive Services Speech SDK
MIT License
2.8k stars 1.83k forks source link

Function errors deployed via ARM template #2524

Closed myh-st closed 1 month ago

myh-st commented 1 month ago

Both StartTranscriptionFunction and FetchTranscriptionFunction encounter errors when deployed via ARM template from the provided link

https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/samples/ingestion/ingestion-client/infra/guide.md

image

image

However, these functions work correctly in the older version from this Git repository.

https://github.com/amulchapla/AI-Powered-Call-Center-Intelligence/tree/main/postcall-analytics-azure

HenryvanderVegte commented 1 month ago

Hey @myh-st ,

thanks for creating the issue. I was able to reproduce, root cause was that the app config did not load the environment variables correctly and therefore all functions crashed during startup with NullReferenceExceptions. I fixed the issue, it should work again with v2.1.10.

Thanks! Henry

myh-st commented 1 month ago

Thank you so much for quickly identifying and fixing the issue.