Hi Shreyansh Anand,
I understand that you're encountering a network-related issue with the Azure Cognitive Services
Here are some steps you can take to troubleshoot the issue:
- Ensure that your network connection is stable and there are no interruptions.
- Verify that your DNS settings are correctly configured and that your system can resolve the endpoint's domain name.
- Implement a retry mechanism in your code to handle temporary network issues. You can use exponential backoff to avoid overwhelming the server with repeated requests.
- Check the Azure Service Health page to see if there are any ongoing issues with the Azure Cognitive Services in your region. https://portal.azure.com/#view/Microsoft_Azure_Health/AzureHealthBrowseBlade/~/serviceIssues
I hope these helps you. Thank you!