Share via

Getting com.mongodb.mongosocketreadtimeoutexception on springboot project

Deepak 1 Reputation point
2021-09-20T10:58:11.417+00:00

I have used serverless configuration of Azure Cosmos DB API for Mongo DB, it worked fine on Java Main program but not work on Spring Boot application. As well the sample code provided by Azure wasn't working.

133598-image-2021-09-20t08-37-32-923z.png

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.