{"action":"created","issue":{"url":"https://api.github.com/repos/jmikola/mongoqp/issues/25","repository_url":"https://api.github.com/repos/jmikola/mongoqp","labels_url":"https://api.github.com/repos/jmikola/mongoqp/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/jmikola/mongoqp/issues/25/comments","events_url":"https://api.github.com/repos/jmikola/mongoqp/issues/25/events","html_url":"https://github.com/jmikola/mongoqp/issues/25","id":361757387,"node_id":"MDU6SXNzdWUzNjE3NTczODc=","number":25,"title":"No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling ismaster on '127.0.0.1:2707']","user":{"login":"imrantune","id":3593033,"node_id":"MDQ6VXNlcjM1OTMwMzM=","avatar_url":"https://avatars0.githubusercontent.com/u/3593033?v=4","gravatar_id":"","url":"https://api.github.com/users/imrantune","html_url":"https://github.com/imrantune","followers_url":"https://api.github.com/users/imrantune/followers","following_url":"https://api.github.com/users/imrantune/following{/other_user}","gists_url":"https://api.github.com/users/imrantune/gists{/gist_id}","starred_url":"https://api.github.com/users/imrantune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imrantune/subscriptions","organizations_url":"https://api.github.com/users/imrantune/orgs","repos_url":"https://api.github.com/users/imrantune/repos","events_url":"https://api.github.com/users/imrantune/events{/privacy}","received_events_url":"https://api.github.com/users/imrantune/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-19T13:46:38Z","updated_at":"2018-09-19T15:17:40Z","closed_at":null,"author_association":"NONE","body":"\r\n No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling ismaster on '127.0.0.1:2707']\r\n--\r\nin Client.php (line 178)\r\nat Manager->selectServer(object(ReadPreference))in Client.php (line 178)\r\nat Client->listDatabases()in QueryProfiler.php (line 34)\r\nat QueryProfiler->getDatabases()in controllers.php (line 6)\r\nat {closure}()\r\nat call_user_func_array(object(Closure), array())in HttpKernel.php (line 153)\r\nat HttpKernel->handleRaw(object(Request), 1)in HttpKernel.php (line 68)\r\nat HttpKernel->handle(object(Request), 1, true)in Application.php (line 496)\r\n\r\nPlease help why me getting this error"},"comment":{"url":"https://api.github.com/repos/jmikola/mongoqp/issues/comments/422843380","html_url":"https://github.com/jmikola/mongoqp/issues/25#issuecomment-422843380","issue_url":"https://api.github.com/repos/jmikola/mongoqp/issues/25","id":422843380,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjg0MzM4MA==","user":{"login":"jmikola","id":244663,"node_id":"MDQ6VXNlcjI0NDY2Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/244663?v=4","gravatar_id":"","url":"https://api.github.com/users/jmikola","html_url":"https://github.com/jmikola","followers_url":"https://api.github.com/users/jmikola/followers","following_url":"https://api.github.com/users/jmikola/following{/other_user}","gists_url":"https://api.github.com/users/jmikola/gists{/gist_id}","starred_url":"https://api.github.com/users/jmikola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmikola/subscriptions","organizations_url":"https://api.github.com/users/jmikola/orgs","repos_url":"https://api.github.com/users/jmikola/repos","events_url":"https://api.github.com/users/jmikola/events{/privacy}","received_events_url":"https://api.github.com/users/jmikola/received_events","type":"User","site_admin":false},"created_at":"2018-09-19T15:17:40Z","updated_at":"2018-09-19T15:17:40Z","author_association":"OWNER","body":"This exception originates from [mongo-php-driver](https://github.com/mongodb/mongo-php-driver) since it cannot access a MongoDB server running on the noted host and port. I would start by confirming that you actually have a server running on the local host (you should be able to connect to it via the `mongo` shell if so). At a glance, `127.0.0.1:2707` stands out as a possible typo unless you're explicitly running `mongod` on a different port than its default (27017).\r\n\r\nOn the off chance you do have a server running, but it's requiring SSL connection or authentication, you'll need to tweak the [configuration](https://github.com/jmikola/mongoqp#configuration) accordingly to ensure the appropriate connection string and options are used.\r\n\r\nBeyond that, I would suggest searching the driver repository for existing issues on the subject. Note that \"No suitable servers found\" is a common error when the driver cannot select a server for an operation (hence `selectServer()` in the stack trace). The more relevant errors are in brackets following that message. In this case, the driver was aware of a single node in the topology (`127.0.0.1:2707`), encountered a connection error attempting to monitor it, and reported that most recent error as the reason said server could not be selected."}}
{"actor":{"display_login":"jmikola"}}