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

error_class=Mongo::Error::NoServerAvailable error="No server is available matching preference: #<Mongo::ServerSelector::Primary:0x5100 tag_sets=[] max_staleness=nil> using server_selection_timeout=30 and local_threshold=0.015" #159

Open
sha-trix opened this issue Jun 16, 2021 · 2 comments

Comments

@sha-trix
Copy link

No description provided.

@sha-trix sha-trix changed the title error_class=Mongo::Error::NoServerAvailable error="No server is available matching preference: #<Mongo::ServerSelector::Primary:0x5100 tag_sets=[] max_staleness=nil> using server_selection_timeout=30 and local_threshold=0.015" while using mongo server with ssl error_class=Mongo::Error::NoServerAvailable error="No server is available matching preference: #<Mongo::ServerSelector::Primary:0x5100 tag_sets=[] max_staleness=nil> using server_selection_timeout=30 and local_threshold=0.015" Jun 17, 2021
@gpareraavoristravelio
Copy link

Hi,

Same error here trying to connect to replica set on Mongo Atlas. I've tried with @type mongo_replset and list of nodes and other configuration and using connection string with @type mongo. Same error with both.

@suesue2
Copy link

suesue2 commented Apr 18, 2022

I am having the same issue with communicating to a replica set from fluentd- +0000 [warn]: failed to flush the buffer. retry_time=11 next_retry_seconds=2022-04-18 16:55:50 671432122228418399/4294967296000000000 +0000 chunk="5dcf01403f157a434b98aab08cc3f443" error_class=Mongo::Error::NoServerAvailable error="No server is available matching preference: #<Mongo::ServerSelector::Primary:0x67420 tag_sets=[] max_staleness=nil> using server_selection_timeout=30 and local_threshold=0.015" . I am using @type mongo_replset

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