adrian
Operation `model.find()` buffering timed out after 10000ms
Hello all. I tried posting about this in a group for nodejs but as they could not find any issue with my js code. That in combination with the error messages I am getting lead me to believe that my issue has something to do with my MongoDB database provided via Railway.
The issue is this. Whenever I load a page in my railway site that requires a mongoose/MongoDB model, the page fails to load, instead leaving me with this error message:
Operation model.find()
buffering timed out after 10000ms
Pages that do not call mongoose models load fine, so this seems to be a database access issue.
The MongoDB database also keeps on crashing. (though the error is there even before the database crashes). When I look at the database logs it contains roughly 100 lines of this error message:
/bin/bash: line 1: docker-entrypoint.sh: command not found
I'm not sure what the docker-entrypoint is so I'm not sure how I should address this. I've double checked and the variable for my MongoDB connection string is correct.
Does anyone know what the issue is, and/or how to address the error message that the database is logging?41 replies