connect-mongostore
connect-mongostore copied to clipboard
Server Timeouts when connecting to replica set
I have configured MongoStore to connect to a replica set. It seems to connect just fine, but whenever I try to access my site, the requests simply time out. There must be an issue with replica set configuration or handling, because simply connecting to a single localhost DB works fine.
I am trying to connect to a MongoHQ replica set. I have provided the username, password, db.name, db.servers, db.replicaSetOptions (with rs_name and w:1).
Am I missing something, perhaps?
It's probably a bug somewhere but a gist with the code you use would be helpful. I'm gonna have to look into this. In the meanwhile, there is an existing issue with replica sets, I'm not sure if it's related to yours, though.
I setup a replica set in docker and it seems to be working as expected (gist). Obviously, not a real application but maybe you see something in configuration that's different from yours?
This issue may be related to #19. There's a new version 0.1.2 if you care to try!