Skip to content

Not working with the latest versions of MongoDB #117

@wmaximo27

Description

@wmaximo27

Hello,
When trying to run locally with the provided docker-compose.yml, it can't connect to MongoDB properly:
Caused by: com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=faction-mongo:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoCommandException: Command failed with error 13 (Unauthorized): 'Command buildInfo requires authentication' on server faction-mongo:27017. The full response is {"ok": 0.0, "errmsg": "Command buildInfo requires authentication", "code": 13, "codeName": "Unauthorized"}}}]

It worked after I downgraded MongoDB to the version 8.0.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions