Relative Content

Tag Archive for mongodbamazon-web-servicesspring-bootamazon-elastic-beanstalk

MongoDB Atlas private link Not working in Java SDK

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘mongoTemplate’ defined in class path resource [org/springframework/boot/autoconfigure/data/mongo/MongoDatabaseFactoryDependentConfiguration.class]: Failed to instantiate [org.springframework.data.mongodb.core.MongoTemplate]: Factory method ‘mongoTemplate’ threw exception with message: Timed out after 30000 ms while waiting for a server that matches com.mongodb.client.internal.MongoClientDelegate$xxxxxxxx.