-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MongooseError: Operation settings.findOne() buffering timed out after 10000ms #158
Comments
Thanks for the report. Could you provide a bit more information? Running against Astra or your own installation? If own installation, what version? Can you describe the workload a bit? You can also reach out on Discord for higher bandwidth conversation. |
I simply installed stargate-mongoose@latest using npm install, I were using Datastax AstraDB |
const mongoose = require('mongoose'); |
How are you defining your settings model? And how are you calling |
|
I export and use my model from diff file |
And how are you calling |
Simply i require my model using const Settings = require("./path/to/model.js") async blocks.... |
I'm unable to repro, the following script works correctly against my Astra cluster. Can you please modify the following script to demonstrate the issue you're seeing?
|
This worked, Maybe because you used proper async blocks which I don't use in some functions. Anyways you should consider upgrading mongoose to 8.x.x and support http2 |
MongooseError: Operation
settings.findOne()
buffering timed out after 10000msThe text was updated successfully, but these errors were encountered: