Read timed out issue with CosmosDB #37079
Labels
Client
This issue points to a problem in the data-plane of the library.
Cosmos
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
Workflow: This issue is responsible by Azure service team.
I'm using FastAPI, and have setup cosmos in my app.state:
I'm using a dev clone of my CosmosDB database, so it's only myself hitting the database right now.
Multiple times in the last twenty minutes, I've gotten an error:
ServiceResponseError
, and all it says is read timed out, and says read timeout default is 300.This occurs when doing:
users_container.query_items(query=query, parameters=parameters, enable_cross_partition_query=True))
I've checked on Azure and don't see any errors reported, or anything strange. My RU usage is hitting a max of 8%.
Funny enough, I remember putting in the retry values in the CosmosClient instantiation because of this exact issue. I also have Sentry running on our production server, and I can see this error comes up a decent amount.
Any idea why this would be happening?
The text was updated successfully, but these errors were encountered: