{"action":"created","issue":{"url":"https://api.github.com/repos/mxabierto/sara/issues/92","labels_url":"https://api.github.com/repos/mxabierto/sara/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/mxabierto/sara/issues/92/comments","events_url":"https://api.github.com/repos/mxabierto/sara/issues/92/events","html_url":"https://github.com/mxabierto/sara/issues/92","id":98016072,"number":92,"title":"El worker de evaluate_petition se rompe","user":{"login":"rodowi","id":705860,"avatar_url":"https://avatars.githubusercontent.com/u/705860?v=3","gravatar_id":"","url":"https://api.github.com/users/rodowi","html_url":"https://github.com/rodowi","followers_url":"https://api.github.com/users/rodowi/followers","following_url":"https://api.github.com/users/rodowi/following{/other_user}","gists_url":"https://api.github.com/users/rodowi/gists{/gist_id}","starred_url":"https://api.github.com/users/rodowi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodowi/subscriptions","organizations_url":"https://api.github.com/users/rodowi/orgs","repos_url":"https://api.github.com/users/rodowi/repos","events_url":"https://api.github.com/users/rodowi/events{/privacy}","received_events_url":"https://api.github.com/users/rodowi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mxabierto/sara/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-07-29T19:51:35Z","updated_at":"2015-08-06T23:55:50Z","closed_at":null,"body":"```bash\r\n➜  sara git:(86-PUT-exceptions) ✗ docker exec 89ec tail -f /logs/sara-celery.log\r\n[2015-07-29 19:40:58,635: INFO/MainProcess] Received task: tasks.evaluate_petition[88d8465e-9945-4b70-903a-3c4ec680fbac]\r\n[2015-07-29 19:40:58,638: INFO/MainProcess] Received task: tasks.catch_bad_words_in_text[4539838c-1800-4616-8c94-e487f251f323]\r\n[2015-07-29 19:40:58,659: WARNING/Worker-1] {u'vivienda': 0, u'el': 0, u'de': 0, u'para': 0, u'material': 0, u'construccion': 0, u'su': 0, u'apoyo': 0, u'mejoramiento': 0, u'con': 0}\r\n[2015-07-29 19:40:58,670: INFO/MainProcess] Task tasks.catch_bad_words_in_text[4539838c-1800-4616-8c94-e487f251f323] succeeded in 0.0297197149994s: {'profanity_score': 0, 'text': u'apoyo con material de construcci\\xf3n para el mejoramiento de su vivienda'}\r\n[2015-07-29 19:43:12,840: ERROR/MainProcess] Process 'Worker-3' pid:42 exited with 'signal 9 (SIGKILL)'\r\n[2015-07-29 19:43:12,872: ERROR/MainProcess] Task tasks.evaluate_petition[88d8465e-9945-4b70-903a-3c4ec680fbac] raised unexpected: WorkerLostError('Worker exited prematurely: signal 9 (SIGKILL).',)\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/billiard/pool.py\", line 1171, in mark_as_worker_lost\r\n    human_status(exitcode)),\r\nWorkerLostError: Worker exited prematurely: signal 9 (SIGKILL).\r\n```\r\n\r\nsiguiendo las instrucciones de \r\nhttps://github.com/mxabierto/sara/wiki/Deployment"},"comment":{"url":"https://api.github.com/repos/mxabierto/sara/issues/comments/128541781","html_url":"https://github.com/mxabierto/sara/issues/92#issuecomment-128541781","issue_url":"https://api.github.com/repos/mxabierto/sara/issues/92","id":128541781,"user":{"login":"rodowi","id":705860,"avatar_url":"https://avatars.githubusercontent.com/u/705860?v=3","gravatar_id":"","url":"https://api.github.com/users/rodowi","html_url":"https://github.com/rodowi","followers_url":"https://api.github.com/users/rodowi/followers","following_url":"https://api.github.com/users/rodowi/following{/other_user}","gists_url":"https://api.github.com/users/rodowi/gists{/gist_id}","starred_url":"https://api.github.com/users/rodowi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodowi/subscriptions","organizations_url":"https://api.github.com/users/rodowi/orgs","repos_url":"https://api.github.com/users/rodowi/repos","events_url":"https://api.github.com/users/rodowi/events{/privacy}","received_events_url":"https://api.github.com/users/rodowi/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T23:55:49Z","updated_at":"2015-08-06T23:55:49Z","body":"Jaló el primero\r\n\r\n```bash\r\n[2015-08-06 23:53:24,206: INFO/MainProcess] Task tasks.evaluate_petition[de20e1c9-d669-4d33-9e3a-66b51071e484] succeeded in 19.981417154s: {'agency': 0, 'id': u'201412015PMGMQ'}\r\n[2015-08-06 23:53:24,485: INFO/Worker-2] Starting new HTTP connection (1): example.com\r\n[2015-08-06 23:53:30,483: WARNING/Worker-2] Updating:\r\n[2015-08-06 23:53:30,486: WARNING/Worker-2] {\"text\": \"apoyo con material de construcci?n para el mejoramiento de su vivienda\", \"agency\": 0, \"id\": \"201412015PMGMQ\", \"proceeds\": {\"value\": true}}\r\n[2015-08-06 23:53:30,487: WARNING/Worker-2] PUT request to\r\n[2015-08-06 23:53:30,488: WARNING/Worker-2] http://example.com/update\r\n[2015-08-06 23:53:30,488: WARNING/Worker-2] was\r\n[2015-08-06 23:53:30,489: WARNING/Worker-2] 502\r\n[2015-08-06 23:53:30,490: WARNING/Worker-2] HTTP ERROR occured, status code 502\r\n[2015-08-06 23:53:30,490: WARNING/Worker-2] ERROR reason: Bad Gateway\r\n[2015-08-06 23:53:30,491: WARNING/Worker-2] 502 Server Error: Bad Gateway\r\n[2015-08-06 23:53:30,510: INFO/MainProcess] Task tasks.update_remote_petition[a1c45666-493e-4648-95c6-49a80c267902] succeeded in 6.255711402s: None\r\n```\r\n\r\nfalló el segundo\r\n\r\n```\r\n[2015-08-06 23:54:05,619: INFO/MainProcess] Received task: tasks.evaluate_petition[77ecd3ff-93b3-41e7-b14e-ce26c5594d20]\r\n[2015-08-06 23:54:05,622: INFO/MainProcess] Received task: tasks.catch_bad_words_in_text[3d1c3425-6d58-4886-a5e0-d0caf14ab727]\r\n[2015-08-06 23:54:05,660: WARNING/Worker-3] {u'rolense': 0, u'beca': 0, u'una': 0}\r\n[2015-08-06 23:54:05,676: INFO/MainProcess] Task tasks.catch_bad_words_in_text[3d1c3425-6d58-4886-a5e0-d0caf14ab727] succeeded in 0.0493980270003s: {'profanity_score': 0, 'text': u'rolense una beca'}\r\n[2015-08-06 23:54:38,260: ERROR/MainProcess] Process 'Worker-4' pid:41 exited with 'signal 9 (SIGKILL)'\r\n[2015-08-06 23:54:38,365: ERROR/MainProcess] Task tasks.evaluate_petition[77ecd3ff-93b3-41e7-b14e-ce26c5594d20] raised unexpected: WorkerLostError('Worker exited prematurely: signal 9 (SIGKILL).',)\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/billiard/pool.py\", line 1171, in mark_as_worker_lost\r\n    human_status(exitcode)),\r\nWorkerLostError: Worker exited prematurely: signal 9 (SIGKILL).\r\n\r\n```"}}