{"action":"created","issue":{"url":"https://api.github.com/repos/yhirose/maxminddb/issues/22","repository_url":"https://api.github.com/repos/yhirose/maxminddb","labels_url":"https://api.github.com/repos/yhirose/maxminddb/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/yhirose/maxminddb/issues/22/comments","events_url":"https://api.github.com/repos/yhirose/maxminddb/issues/22/events","html_url":"https://github.com/yhirose/maxminddb/issues/22","id":142691764,"number":22,"title":"Finding incorrect geonames","user":{"login":"snapmediateam","id":17897381,"avatar_url":"https://avatars.githubusercontent.com/u/17897381?v=3","gravatar_id":"","url":"https://api.github.com/users/snapmediateam","html_url":"https://github.com/snapmediateam","followers_url":"https://api.github.com/users/snapmediateam/followers","following_url":"https://api.github.com/users/snapmediateam/following{/other_user}","gists_url":"https://api.github.com/users/snapmediateam/gists{/gist_id}","starred_url":"https://api.github.com/users/snapmediateam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snapmediateam/subscriptions","organizations_url":"https://api.github.com/users/snapmediateam/orgs","repos_url":"https://api.github.com/users/snapmediateam/repos","events_url":"https://api.github.com/users/snapmediateam/events{/privacy}","received_events_url":"https://api.github.com/users/snapmediateam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-22T15:48:13Z","updated_at":"2016-03-25T00:34:00Z","closed_at":null,"body":"Hi,\r\n\r\nI am using some test IP addresses with this library and am seeing it return random geonames back.\r\n\r\nI am using the MaxMind DB binary, gzipped found here:\r\nhttp://dev.maxmind.com/geoip/geoip2/geolite2/\r\n\r\nEnvironment:\r\n- Ruby 2.2.4\r\n- Rails 4.2.6\r\n\r\neg.  IP address 199.241.208.206 (which should be a U.S. one)  comes back with \r\n\r\n```\r\n\"city\" => {\r\n    \"geoname_id\" => 3173435,\r\n           \"names\" => {\r\n               \"de\" => \"Mailand\",\r\n               \"en\" => \"Milan\",\r\n              \"es\" => \"Milán\",\r\n             \"fr\" => \"Milan\",\r\n             \"ja\" => \"ミラノ\",\r\n            \"pt-BR\" => \"Milão\",\r\n               \"ru\" => \"Милан\"\r\n }\r\n```\r\n\r\nThis is my ruby code.\r\n\r\n```\r\n    db = MaxMindDB.new('./db/GeoLite2-City.mmdb')\r\n    ret = db.lookup(ip_address)\r\n    ap ret\r\n```\r\n\r\nNote: if I use the hive_geoip2 gem, it works fine.\r\n\r\nAm I missing something?\r\n"},"comment":{"url":"https://api.github.com/repos/yhirose/maxminddb/issues/comments/201085266","html_url":"https://github.com/yhirose/maxminddb/issues/22#issuecomment-201085266","issue_url":"https://api.github.com/repos/yhirose/maxminddb/issues/22","id":201085266,"user":{"login":"yhirose","id":357397,"avatar_url":"https://avatars.githubusercontent.com/u/357397?v=3","gravatar_id":"","url":"https://api.github.com/users/yhirose","html_url":"https://github.com/yhirose","followers_url":"https://api.github.com/users/yhirose/followers","following_url":"https://api.github.com/users/yhirose/following{/other_user}","gists_url":"https://api.github.com/users/yhirose/gists{/gist_id}","starred_url":"https://api.github.com/users/yhirose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yhirose/subscriptions","organizations_url":"https://api.github.com/users/yhirose/orgs","repos_url":"https://api.github.com/users/yhirose/repos","events_url":"https://api.github.com/users/yhirose/events{/privacy}","received_events_url":"https://api.github.com/users/yhirose/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T00:34:00Z","updated_at":"2016-03-25T00:34:00Z","body":"@AlexShmatko, thank you very much for the test report.\r\n@snapmediateam, could you try again with the latest database file?\r\nThank you,\r\nYuji"}}