{"action":"created","issue":{"url":"https://api.github.com/repos/lonelycode/tyk/issues/92","labels_url":"https://api.github.com/repos/lonelycode/tyk/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/lonelycode/tyk/issues/92/comments","events_url":"https://api.github.com/repos/lonelycode/tyk/issues/92/events","html_url":"https://github.com/lonelycode/tyk/issues/92","id":103663064,"number":92,"title":"Dashboard not connecting to localhost mongod","user":{"login":"toringe","id":1675967,"avatar_url":"https://avatars.githubusercontent.com/u/1675967?v=3","gravatar_id":"","url":"https://api.github.com/users/toringe","html_url":"https://github.com/toringe","followers_url":"https://api.github.com/users/toringe/followers","following_url":"https://api.github.com/users/toringe/following{/other_user}","gists_url":"https://api.github.com/users/toringe/gists{/gist_id}","starred_url":"https://api.github.com/users/toringe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toringe/subscriptions","organizations_url":"https://api.github.com/users/toringe/orgs","repos_url":"https://api.github.com/users/toringe/repos","events_url":"https://api.github.com/users/toringe/events{/privacy}","received_events_url":"https://api.github.com/users/toringe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-28T07:29:53Z","updated_at":"2015-08-28T07:59:35Z","closed_at":null,"body":"Using latest dashboard 0.9.6 with default configuration\r\n \r\n     \"mongo_url\": \"mongodb://localhost/tyk_analytics\", \r\n\r\nResults in the following error:\r\n\r\n    INFO[0000] Loading configuration from ./tyk_analytics.conf  \r\n    ERRO[0011] Mongo connection failed (retrying):no reachable servers  \r\n    ERRO[0023] Mongo connection failed (retrying):no reachable servers \r\n\r\nMongod is listening\r\n\r\n    tcp      0      0 127.0.0.1:27017         0.0.0.0:*               LISTEN     \r\n\r\nand localhost resolves properly\r\n\r\n     $ host -r localhost\r\n     localhost has address 127.0.0.1\r\n\r\nBut if I change localhost to 127.0.0.1 in `tyk_analytics.conf`\r\n\r\n     \"mongo_url\": \"mongodb://127.0.0.1/tyk_analytics\", \r\n\r\nIt works!\r\n\r\nI used `localhost` in my config for dashboard 0.9.5.3, so I suspect it may be something that changed in the 0.9.6 release. "},"comment":{"url":"https://api.github.com/repos/lonelycode/tyk/issues/comments/135665922","html_url":"https://github.com/lonelycode/tyk/issues/92#issuecomment-135665922","issue_url":"https://api.github.com/repos/lonelycode/tyk/issues/92","id":135665922,"user":{"login":"lonelycode","id":2444409,"avatar_url":"https://avatars.githubusercontent.com/u/2444409?v=3","gravatar_id":"","url":"https://api.github.com/users/lonelycode","html_url":"https://github.com/lonelycode","followers_url":"https://api.github.com/users/lonelycode/followers","following_url":"https://api.github.com/users/lonelycode/following{/other_user}","gists_url":"https://api.github.com/users/lonelycode/gists{/gist_id}","starred_url":"https://api.github.com/users/lonelycode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lonelycode/subscriptions","organizations_url":"https://api.github.com/users/lonelycode/orgs","repos_url":"https://api.github.com/users/lonelycode/repos","events_url":"https://api.github.com/users/lonelycode/events{/privacy}","received_events_url":"https://api.github.com/users/lonelycode/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T07:59:35Z","updated_at":"2015-08-28T07:59:35Z","body":"How odd, it may have something to do with Go 1.5. host lookup is handled differently. Will investigate :-)"}}