{"action":"created","issue":{"url":"https://api.github.com/repos/CartoDB/cartodb/issues/3914","labels_url":"https://api.github.com/repos/CartoDB/cartodb/issues/3914/labels{/name}","comments_url":"https://api.github.com/repos/CartoDB/cartodb/issues/3914/comments","events_url":"https://api.github.com/repos/CartoDB/cartodb/issues/3914/events","html_url":"https://github.com/CartoDB/cartodb/issues/3914","id":84678209,"number":3914,"title":"Syncs get queued and blocked","user":{"login":"iriberri","id":1730320,"avatar_url":"https://avatars.githubusercontent.com/u/1730320?v=3","gravatar_id":"","url":"https://api.github.com/users/iriberri","html_url":"https://github.com/iriberri","followers_url":"https://api.github.com/users/iriberri/followers","following_url":"https://api.github.com/users/iriberri/following{/other_user}","gists_url":"https://api.github.com/users/iriberri/gists{/gist_id}","starred_url":"https://api.github.com/users/iriberri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iriberri/subscriptions","organizations_url":"https://api.github.com/users/iriberri/orgs","repos_url":"https://api.github.com/users/iriberri/repos","events_url":"https://api.github.com/users/iriberri/events{/privacy}","received_events_url":"https://api.github.com/users/iriberri/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CartoDB/cartodb/labels/0%20-%20Backlog","name":"0 - Backlog","color":"CCCCCC"},{"url":"https://api.github.com/repos/CartoDB/cartodb/labels/2%20-%20Working","name":"2 - Working","color":"CCCCCC"}],"state":"open","locked":false,"assignee":{"login":"Kartones","id":2085449,"avatar_url":"https://avatars.githubusercontent.com/u/2085449?v=3","gravatar_id":"","url":"https://api.github.com/users/Kartones","html_url":"https://github.com/Kartones","followers_url":"https://api.github.com/users/Kartones/followers","following_url":"https://api.github.com/users/Kartones/following{/other_user}","gists_url":"https://api.github.com/users/Kartones/gists{/gist_id}","starred_url":"https://api.github.com/users/Kartones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kartones/subscriptions","organizations_url":"https://api.github.com/users/Kartones/orgs","repos_url":"https://api.github.com/users/Kartones/repos","events_url":"https://api.github.com/users/Kartones/events{/privacy}","received_events_url":"https://api.github.com/users/Kartones/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/CartoDB/cartodb/milestones/40","html_url":"https://github.com/CartoDB/cartodb/milestones/Castrillo","labels_url":"https://api.github.com/repos/CartoDB/cartodb/milestones/40/labels","id":1090930,"number":40,"title":"Castrillo","description":"- [ ] New modals (@vikingo, @javierarce and @jmedina)\r\n- [ ] 5k users (@juanignaciosl with @jmedina)\r\n- [ ] BLT (@alonsogarciapablo)\r\n- [ ] Medusa v3 (@rochoa)\r\n- [ ] Explore API v2 (@zenitram)\r\n- [ ] TempWo (@saleiva)\r\n- [ ] GM Geocoder (@ratorre)","creator":{"login":"saleiva","id":132149,"avatar_url":"https://avatars.githubusercontent.com/u/132149?v=3","gravatar_id":"","url":"https://api.github.com/users/saleiva","html_url":"https://github.com/saleiva","followers_url":"https://api.github.com/users/saleiva/followers","following_url":"https://api.github.com/users/saleiva/following{/other_user}","gists_url":"https://api.github.com/users/saleiva/gists{/gist_id}","starred_url":"https://api.github.com/users/saleiva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saleiva/subscriptions","organizations_url":"https://api.github.com/users/saleiva/orgs","repos_url":"https://api.github.com/users/saleiva/repos","events_url":"https://api.github.com/users/saleiva/events{/privacy}","received_events_url":"https://api.github.com/users/saleiva/received_events","type":"User","site_admin":false},"open_issues":29,"closed_issues":51,"state":"open","created_at":"2015-04-30T11:36:06Z","updated_at":"2015-06-09T17:14:24Z","due_on":"2015-06-10T22:00:00Z","closed_at":null},"comments":2,"created_at":"2015-06-03T17:31:19Z","updated_at":"2015-06-09T18:19:38Z","closed_at":null,"body":"Example:\r\n\r\n                  id                  |              name              | interval |               url                |  state  |          created_at           |          updated_at           |\r\n                  1d2d04d8-d8a1-11e4-a11d-0e9d821ea90d | intelcenter_cti                |     3600 |                                  | queued  | 2015-04-01 18:58:41.893565+00 | 2015-06-02 23:13:35.295962+00\r\n\r\nError is:     99999 | Unknown\r\n\r\n\r\nThis happened a week ago in ~15 cases in the total system that I set up to \"success\" manually according to @Kartones instructions."},"comment":{"url":"https://api.github.com/repos/CartoDB/cartodb/issues/comments/110454062","html_url":"https://github.com/CartoDB/cartodb/issues/3914#issuecomment-110454062","issue_url":"https://api.github.com/repos/CartoDB/cartodb/issues/3914","id":110454062,"user":{"login":"Kartones","id":2085449,"avatar_url":"https://avatars.githubusercontent.com/u/2085449?v=3","gravatar_id":"","url":"https://api.github.com/users/Kartones","html_url":"https://github.com/Kartones","followers_url":"https://api.github.com/users/Kartones/followers","following_url":"https://api.github.com/users/Kartones/following{/other_user}","gists_url":"https://api.github.com/users/Kartones/gists{/gist_id}","starred_url":"https://api.github.com/users/Kartones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kartones/subscriptions","organizations_url":"https://api.github.com/users/Kartones/orgs","repos_url":"https://api.github.com/users/Kartones/repos","events_url":"https://api.github.com/users/Kartones/events{/privacy}","received_events_url":"https://api.github.com/users/Kartones/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T18:19:38Z","updated_at":"2015-06-09T18:19:38Z","body":"I'm checking and once an import is set as `enqueued` [because is too big for direct frontend upload](https://github.com/CartoDB/cartodb/blob/master/app/helpers/file_upload_helper.rb#L46), the only logic that puls/loads them and operates with them once enqueued is [a Rake](https://github.com/CartoDB/cartodb/blob/master/lib/tasks/import.rake#L26) that should be called by devops, `cartodb:upload_to_s3`.\r\n\r\nThat rake should be called by some cron. Somebody from devops should check that the cron didn't failed, or if all failed syncs were from the same machine, etc., but APIs don't do anything outside that rake."}}