Hi @Katherine Bayona
Thanks for the Question and using Microsoft Q&A.
It seems like you are encountering issues with Azure Cosmos DB. The 503 Service Unavailable error with substatus code 20003 signifies underlying I/O errors related to the operating system.
"A task has been cancelled" message and the fact that RU consumption is not at 100% indicate that the issue may be related to client-side timeouts or resource starvation.
Here are some steps to troubleshoot and potentially resolve this problem:
Please verify that your client machine is not experiencing high CPU or memory usage, as this can lead to timeouts.
Please ensure your application includes a robust retry mechanism to effectively handle transient errors. This will assist in recovering from temporary issues.
consider adjusting the timeout settings for your client requests to allow additional time for operations to complete successfully. Please go through this similar thread for reference:
https://github.com/Azure/azure-cosmos-db-emulator-docker/issues/63
Check for any network latency or connectivity issues between your client and Azure Cosmos DB
https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/troubleshoot-dotnet-sdk#high-network-latency
Please go through this similar thread that might help you:https://learn.microsoft.com/en-us/answers/questions/1414611/microsoft-azure-cosmos-cosmosexception-response-st
Hope this helps. Do let us know if you any further queries. If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.