{"action":"created","issue":{"url":"https://api.github.com/repos/CartoDB/dataservices-api/issues/332","repository_url":"https://api.github.com/repos/CartoDB/dataservices-api","labels_url":"https://api.github.com/repos/CartoDB/dataservices-api/issues/332/labels{/name}","comments_url":"https://api.github.com/repos/CartoDB/dataservices-api/issues/332/comments","events_url":"https://api.github.com/repos/CartoDB/dataservices-api/issues/332/events","html_url":"https://github.com/CartoDB/dataservices-api/issues/332","id":196924111,"number":332,"title":"Mapzen isochrones failing because of QPS exceeded","user":{"login":"rafatower","id":1914276,"avatar_url":"https://avatars.githubusercontent.com/u/1914276?v=3","gravatar_id":"","url":"https://api.github.com/users/rafatower","html_url":"https://github.com/rafatower","followers_url":"https://api.github.com/users/rafatower/followers","following_url":"https://api.github.com/users/rafatower/following{/other_user}","gists_url":"https://api.github.com/users/rafatower/gists{/gist_id}","starred_url":"https://api.github.com/users/rafatower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafatower/subscriptions","organizations_url":"https://api.github.com/users/rafatower/orgs","repos_url":"https://api.github.com/users/rafatower/repos","events_url":"https://api.github.com/users/rafatower/events{/privacy}","received_events_url":"https://api.github.com/users/rafatower/received_events","type":"User","site_admin":false},"labels":[{"id":281548360,"url":"https://api.github.com/repos/CartoDB/dataservices-api/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-21T12:43:39Z","updated_at":"2016-12-23T12:11:54Z","closed_at":null,"body":"When no. of tracks is >= 5 the isocrhones service drops the requests with a \"Too many requests, QPS exceeded\" error message. We should throttle on our end to accommodate to the max qps param."},"comment":{"url":"https://api.github.com/repos/CartoDB/dataservices-api/issues/comments/268981379","html_url":"https://github.com/CartoDB/dataservices-api/issues/332#issuecomment-268981379","issue_url":"https://api.github.com/repos/CartoDB/dataservices-api/issues/332","id":268981379,"user":{"login":"ethervoid","id":741240,"avatar_url":"https://avatars.githubusercontent.com/u/741240?v=3","gravatar_id":"","url":"https://api.github.com/users/ethervoid","html_url":"https://github.com/ethervoid","followers_url":"https://api.github.com/users/ethervoid/followers","following_url":"https://api.github.com/users/ethervoid/following{/other_user}","gists_url":"https://api.github.com/users/ethervoid/gists{/gist_id}","starred_url":"https://api.github.com/users/ethervoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethervoid/subscriptions","organizations_url":"https://api.github.com/users/ethervoid/orgs","repos_url":"https://api.github.com/users/ethervoid/repos","events_url":"https://api.github.com/users/ethervoid/events{/privacy}","received_events_url":"https://api.github.com/users/ethervoid/received_events","type":"User","site_admin":false},"created_at":"2016-12-23T12:11:54Z","updated_at":"2016-12-23T12:11:54Z","body":"In this case the problem is not the QPS is the limit of countour (tracts) by Mapzen which is 4 as you can see in this response:\r\n\r\n```\r\n2016-12-23 12:10:10,530 dataservices_file_logger INFO     Isochrones info {'response_headers': {'Content-Length': '93', 'X-ApiaxleProxy-Qps-Left': '1', 'Connection': 'keep-alive', 'Date': 'Fri, 23 Dec 2016 12:10:10 GMT', 'access-control-allow-origin': '*', 'Server': 'nginx/1.4.6\r\n(Ubuntu)', 'Content-Type': 'application/json;charset=utf-8', 'X-ApiaxleProxy-Qpd-Left': '4976'}, 'response_content': u'{\"error_code\":152,\"error\":\"Exceeded max contours:4\",\"status_code\":400,\"status\":\"Bad Request\"}', 'response_status': 400, 'locations': {'lat': 41.380909, 'lon': 2.1731701}, 'reponse_url': u'https://matrix.mapzen.com/isochrone?json=%7B%22denoise%22%3A+0.3%2C+%22generalize%22%3A+50%2C+%22locations%22%3A+%5B%7B%22lat%22%3A+41.380909%2C+%22lon%22%3A+2.1731701%7D%5D%2C+%22costing%22%3A+%22pedestrian%22%2C+%22contours%22%3A+%5B%7B%22color%22%3A+%22tbd%22%2C+%22time%22%3A+5%7D%2C+%7B%22color%22%3A+%22tbd%22%2C+%22time%22%3A+11%7D%2C+%7B%22color%22%3A+%22tbd%22%2C+%22time%22%3A+16%7D%2C+%7B%22color%22%3A+%22tbd%22%2C+%22time%22%3A+22%7D%2C+%7B%22color%22%3A+%22tbd%22%2C+%22time%22%3A+28%7D%2C+%7B%22color%22%3A+%22tbd%22%2C+%22time%22%3A+33%7D%5D%7D', 'response_reason': 'Bad Request', 'costing': 'walk'}\r\n```"}}
{"actor":{"display_login":"ethervoid"}}