@Sashank N Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
.
Please follow the below action plan:
- Ensure your Raspberry Pi has a stable internet connection and no firewall or network policies are blocking the connection to the Azure service.
- Make sure you are using a supported version of Python and the latest version of the Azure Speech SDK.
- Ensure all necessary dependencies are installed on your Raspberry Pi. You might need to install additional libraries like
libssl-dev
andca-certificates
. - Also please enable the Speech SDK logging to get a verbose error log to identify the cause of the issue.
- Try adding
speech_config.set_property_by_name("OPENSSL_DISABLE_CRL_CHECK", "true")
in your code and check. Though it is not recommended. But it will help in isolating the issue.
.
Suggestions:
- Please be aware that the Speech Devices SDK is now retired.
- The SDK has issues reported on Raspberrian Pi OS in the past. I have seen issues on the SDK issues pages.
- You can however install the supported libraries for windows or linux OS. For example: With the SDK version 1.11.0 binaries for linux ARM32 and ARM64 are released for raspberry pi. You could also try with 1.16.0 SDK version and check. .
- Also, the SDK issues pages here and here are the official support page for issues related to the SDK. I hope this helps.
.
I hope this helps.