org.springframework.data.mongodb.UncategorizedMongoDbException: could not initialize sharding on connection 54.xx.xx.198:27017 :: caused by :: mongos specified a different config database string : stored : 54.xx.xx.55:27019 vs given : 54.xx.xx.249:27019; nested exception is com.mongodb.MongoException: could not initialize sharding on connection 54.xx.xx.198:27017 :: caused by :: mongos specified a different config database string : stored : 54.xx.xx.55:27019 vs given : 54.xx.xx.249:27019

Ask Ubuntu | Rahul | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Whats does this Sever error mean?

    Ask Ubuntu | 2 years ago | Rahul
    org.springframework.data.mongodb.UncategorizedMongoDbException: could not initialize sharding on connection 54.xx.xx.198:27017 :: caused by :: mongos specified a different config database string : stored : 54.xx.xx.55:27019 vs given : 54.xx.xx.249:27019; nested exception is com.mongodb.MongoException: could not initialize sharding on connection 54.xx.xx.198:27017 :: caused by :: mongos specified a different config database string : stored : 54.xx.xx.55:27019 vs given : 54.xx.xx.249:27019

    Root Cause Analysis

    1. org.springframework.data.mongodb.UncategorizedMongoDbException

      could not initialize sharding on connection 54.xx.xx.198:27017 :: caused by :: mongos specified a different config database string : stored : 54.xx.xx.55:27019 vs given : 54.xx.xx.249:27019; nested exception is com.mongodb.MongoException: could not initialize sharding on connection 54.xx.xx.198:27017 :: caused by :: mongos specified a different config database string : stored : 54.xx.xx.55:27019 vs given : 54.xx.xx.249:27019

      at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization()
    2. Spring Beans
      InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization
      1. org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
      1 frame