Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MongoDB URI with ReplicaSet #901

Open
eman-cirrusgo opened this issue Aug 28, 2024 · 2 comments
Open

MongoDB URI with ReplicaSet #901

eman-cirrusgo opened this issue Aug 28, 2024 · 2 comments

Comments

@eman-cirrusgo
Copy link

Hello,

I keep getting the below error when using this Mongo URI <"mongodb://read:[email protected]:27017,secondary-1.internal:27017,secondary-2.internal:27017/?authSource=admin&replicaSet=replicaset-00">

time="2024-08-28T10:50:30Z" level=error msg="Cannot connect to MongoDB: cannot connect to MongoDB: server selection error: server selection timeout, current topology: { Type: Single, Servers: [{ Addr: secondary-2.internal:27017, Type: Unknown }, ] }"
@adnull
Copy link
Contributor

adnull commented Sep 2, 2024

It is a known bug (#876) and we're waiting for the next release to get the fix be included into it.

@BupycHuk
Copy link
Member

Hi @eman-cirrusgo, we just release v0.41.0, please check it there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants