-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
Hello,
I am running Ruby On Rails 4.2.4 on CentOS Linux 7.x using Apache/Passenger.
When I make a request to my rails server, it gets this error:
Mongo::Error::NoServerAvailable (No server is available matching preference: #<Mongo::ServerSelector::Primary:0x70292675833320 tag_sets=[] server_selection_timeout=30 local_threshold=0.015>)
I am able to run this code from my rails console without error. Don't know whey I am getting this error only when it runs through my Passenger/rails server.