Skip to content

Javers cannot authenticate in Mongo after updating to Spring Boot 3.1 #1300

Closed
@RaGreen

Description

@RaGreen

Clear description of my expectations versus reality
After updating Spring Boot 3.0.7 to 3.1.0 Javers for Mongo stopped working - all the time autorization is failed. Problem must be in Javers Mongo Support, because downgrade fixes the problem.

Only thing in Spring changelogs that may be connected to it is deprecting "MongoPropertiesClientSettingsBuilderCustomizer" or updating to Spring Data Bom 2023.0.0 (part of update is updating MongoDB (org.mongodb:mongodb-driver-core) to 4.9.1)

Steps To Reproduce

  1. Have app working with Javers for Mongo in Spring Boot 3.0.7
  2. Update Spring Boot to 3.1.0
  3. Javers cannot authenticate in Mongo

Javers' Version
7.0.1

Additional context

  • Spring Boot version: 3.0.7 vs 3.1.0
  • It's working when I'm using spring.data.mongodb.uri instead of configuring each property individually.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions