Andrunevchyn

Andrunevchyn


November 2016
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
282930  

Categories


Spring data mongodb- failed to authenticate to database

Andriy AndrunevchynAndriy Andrunevchyn

I reinstalled my OS so that mongo either. When I deploy project, following error appeared in log

Exception in thread "main" org.springframework.data.mongodb.CannotGetMongoDbConnectionException: Failed to authenticate to database [xxx], username = [xxx], password = [x*******x]

 

I spend few hours adding user in robomongo and directly from shell and restarting mongo and OS until figured out it could be issue with version of Spring Data MongoDB
And yes it was that
Here mentioned the same http://stackoverflow.com/questions/29890785/cannotgetmongodbconnectionexception-failed-to-authenticate-to-database

Comments 0
There are currently no comments.