fluent-plugin-mongo icon indicating copy to clipboard operation
fluent-plugin-mongo copied to clipboard

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"

Open sha-trix opened this issue 4 years ago • 2 comments
trafficstars

sha-trix avatar Jun 16 '21 16:06 sha-trix

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.

gpareraavoristravelio avatar Jul 26 '21 23:07 gpareraavoristravelio

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

suesue2 avatar Apr 18 '22 21:04 suesue2