fluent-plugin-mongo
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"
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.
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