skip to Main Content

Azure – {Resolved} {Thanks to those who helped me!} MongoServerSelectionError: Server selection timed out after 30000 ms

This is resolved. Please look at the answers I am following this lab: https://github.com/AzureCosmosDB/Azure-OpenAI-Node.js-Developer-Guide/tree/main/Labs/first_cosmos_db_application After I received errors, I just copied the lab code so there should not be code side errors. In my .env file, I have: MONGODB_URI=mongodb+srv://<user>:<password>@phase-1-db.mongocluster.cosmos.azure.com/?tls=true&authMechanism=SCRAM-SHA-256&retrywrites=false&maxIdleTimeMS=120000 where…

VIEW QUESTION
Back To Top
Search