{"action":"created","issue":{"url":"https://api.github.com/repos/mongo-express/mongo-express/issues/272","repository_url":"https://api.github.com/repos/mongo-express/mongo-express","labels_url":"https://api.github.com/repos/mongo-express/mongo-express/issues/272/labels{/name}","comments_url":"https://api.github.com/repos/mongo-express/mongo-express/issues/272/comments","events_url":"https://api.github.com/repos/mongo-express/mongo-express/issues/272/events","html_url":"https://github.com/mongo-express/mongo-express/issues/272","id":183583295,"number":272,"title":"Can't connect to replica set","user":{"login":"jamrizzi","id":6234038,"avatar_url":"https://avatars.githubusercontent.com/u/6234038?v=3","gravatar_id":"","url":"https://api.github.com/users/jamrizzi","html_url":"https://github.com/jamrizzi","followers_url":"https://api.github.com/users/jamrizzi/followers","following_url":"https://api.github.com/users/jamrizzi/following{/other_user}","gists_url":"https://api.github.com/users/jamrizzi/gists{/gist_id}","starred_url":"https://api.github.com/users/jamrizzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamrizzi/subscriptions","organizations_url":"https://api.github.com/users/jamrizzi/orgs","repos_url":"https://api.github.com/users/jamrizzi/repos","events_url":"https://api.github.com/users/jamrizzi/events{/privacy}","received_events_url":"https://api.github.com/users/jamrizzi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-10-18T03:43:36Z","updated_at":"2016-10-18T18:34:24Z","closed_at":null,"body":"I get the following error when I try and start mongo-express.\r\n\r\n```\r\n/home/jamrizzi/GroupThreads/mongui/node_modules/mongodb/lib/replset.js:360\r\n          process.nextTick(function() { throw err; })\r\n                                        ^\r\nMongoError: no valid replicaset members found\r\n    at Timeout.<anonymous> (/home/jamrizzi/GroupThreads/mongui/node_modules/mongodb-core/lib/topologies/replset.js:645:33)\r\n    at tryOnTimeout (timers.js:232:11)\r\n    at Timer.listOnTimeout (timers.js:202:5)\r\n```\r\n\r\nI have it configured as a replica set, and I have verified that all the information I entered is correct by trying it with the mongodb CLI.  Below is the way I have it configured.\r\n\r\n```\r\n  mongo = {\r\n    db:       'admin',\r\n    host:     [\r\n        'rest-api-data-shard-00-00-xemv3.mongodb.net',\r\n        'rest-api-data-shard-00-01-xemv3.mongodb.net',\r\n        'rest-api-data-shard-00-02-xemv3.mongodb.net'\r\n    ],\r\n    password: 'myspecialpassword',\r\n    port:     27017,\r\n    ssl:      true,\r\n    url:      'mongodb://rest-api-data-shard-00-00-xemv3.mongodb.net:27017,rest-api-data-shard-00-01-xemv3.mongodb.net:27017,rest-api-data-shard-00-02-xemv3.mongodb.net:27017/admin?replicaSet=rest-api-data-shard-0',\r\n    username: 'myspecialusername'\r\n  };\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/mongo-express/mongo-express/issues/comments/254598466","html_url":"https://github.com/mongo-express/mongo-express/issues/272#issuecomment-254598466","issue_url":"https://api.github.com/repos/mongo-express/mongo-express/issues/272","id":254598466,"user":{"login":"jamrizzi","id":6234038,"avatar_url":"https://avatars.githubusercontent.com/u/6234038?v=3","gravatar_id":"","url":"https://api.github.com/users/jamrizzi","html_url":"https://github.com/jamrizzi","followers_url":"https://api.github.com/users/jamrizzi/followers","following_url":"https://api.github.com/users/jamrizzi/following{/other_user}","gists_url":"https://api.github.com/users/jamrizzi/gists{/gist_id}","starred_url":"https://api.github.com/users/jamrizzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamrizzi/subscriptions","organizations_url":"https://api.github.com/users/jamrizzi/orgs","repos_url":"https://api.github.com/users/jamrizzi/repos","events_url":"https://api.github.com/users/jamrizzi/events{/privacy}","received_events_url":"https://api.github.com/users/jamrizzi/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T18:34:24Z","updated_at":"2016-10-18T18:34:24Z","body":"I have verified that the firewall is open, and I can connect with the mongodb CLI."}}
{"actor":{"display_login":"jamrizzi"}}