Asked by:
MongoError: cursor does not exist, was killed or timed out

Question
-
I keep getting this error when I try to retrieve data from the CosmoDB..
I have tried to set timeout:true/false and try,, but I still keep getting the same response
{"name":"MongoError","message":"cursor does not exist, was killed or timed out"}
- Moved by Monika chaudhary Thursday, September 7, 2017 4:41 AM related to document db
Thursday, September 7, 2017 3:31 AM
All replies
-
Hello,
Please check these links -
https://stackoverflow.com/questions/30856321/node-js-mongodb-mongoerror-cursor-killed-or-timed-out
Please Mark as Answer if my post works for you or Vote as Helpful if it helps you. Kapil Singh
Thursday, September 7, 2017 4:59 AM -
I am able to overcome the issue by setting a 'limit' to the transaction.. but its not a solution..Thursday, September 7, 2017 6:12 AM
-
@SharanthSrinivasan, the support for MongoDB cursors is not turned on by default as it requires another collection (with 400 RUs) provisioned. Use the feedback email askdocdb@microsoft.com to request this change and include your subscription/account if you really need it.Friday, September 8, 2017 6:30 PM
-
Hi,
I m facing the exact same problem. The MongoError only appears on collection with a lot of data. It is fixed by setting a limit, but I need to retrieve the whole table in order to deal with the data.
"the support for MongoDB cursors is not turned on by default as it requires another collection (with 400 RUs) provisioned"
Can you please help me with this setting you mention above? If I have access to the Azure Cosmos DB account of the MongoDB, can I set it myself or I still need to send an email to askdocdb@microsoft.com??
Thanks in advance for your response.
Friday, October 20, 2017 3:54 PM -
Yes, send your account name to askcosmosmongoapi@microsoft.com to enable server-side cursor.Thursday, November 9, 2017 3:52 PM
-
Hi there,
I am having same issue,
Can I send my email
Thanks
Andy
Wednesday, November 7, 2018 9:54 AM