{"action":"created","issue":{"url":"https://api.github.com/repos/celery/celery/issues/3630","repository_url":"https://api.github.com/repos/celery/celery","labels_url":"https://api.github.com/repos/celery/celery/issues/3630/labels{/name}","comments_url":"https://api.github.com/repos/celery/celery/issues/3630/comments","events_url":"https://api.github.com/repos/celery/celery/issues/3630/events","html_url":"https://github.com/celery/celery/issues/3630","id":192136306,"number":3630,"title":"Migrate from 3.1.25 to 4.0.0 (SQS)","user":{"login":"jairhenrique","id":81854,"avatar_url":"https://avatars.githubusercontent.com/u/81854?v=3","gravatar_id":"","url":"https://api.github.com/users/jairhenrique","html_url":"https://github.com/jairhenrique","followers_url":"https://api.github.com/users/jairhenrique/followers","following_url":"https://api.github.com/users/jairhenrique/following{/other_user}","gists_url":"https://api.github.com/users/jairhenrique/gists{/gist_id}","starred_url":"https://api.github.com/users/jairhenrique/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jairhenrique/subscriptions","organizations_url":"https://api.github.com/users/jairhenrique/orgs","repos_url":"https://api.github.com/users/jairhenrique/repos","events_url":"https://api.github.com/users/jairhenrique/events{/privacy}","received_events_url":"https://api.github.com/users/jairhenrique/received_events","type":"User","site_admin":false},"labels":[{"id":60278485,"url":"https://api.github.com/repos/celery/celery/labels/Component:%20Amazon%20SQS%20Broker","name":"Component: Amazon SQS Broker","color":"339999","default":false},{"id":405285110,"url":"https://api.github.com/repos/celery/celery/labels/Version:%204.0","name":"Version: 4.0","color":"b60205","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-11-28T22:36:32Z","updated_at":"2016-12-05T13:17:40Z","closed_at":null,"body":"## Checklist\r\n\r\n- [x] I have included the output of ``celery -A proj report`` in the issue.\r\n      (if you are not able to do this, then at least specify the Celery\r\n       version affected).\r\n- [x] I have verified that the issue exists against the `master` branch of Celery.\r\n\r\n```bash\r\nDjango==1.10.3\r\nboto==2.43.0\r\nboto3==1.4.1\r\nbotocore==1.4.78\r\n\r\nsoftware -> celery:4.0.0 (latentcall) kombu:4.0.0 py:2.7.6\r\n            billiard:3.5.0.2 sqs:N/A\r\nplatform -> system:Linux arch:64bit, ELF imp:CPython\r\nloader   -> celery.loaders.app.AppLoader\r\nsettings -> transport:sqs results:disabled\r\n```\r\n\r\n## Steps to reproduce\r\nJust a project upgrade dependency.\r\n\r\n## Actual behavior\r\nCelery work stops when start, only with `sqs` broker. My test environment run with `redis` broker and works fine.\r\n\r\nWith `... worker -l debug`, I can see my `sqs` queues and the worker stop with this message:\r\n\r\n\r\n```\r\n[2016-11-28 20:31:58,487: DEBUG/MainProcess] Canceling task consumer...\r\n[2016-11-28 20:31:59,493: DEBUG/MainProcess] Canceling task consumer...\r\n[2016-11-28 20:31:59,493: DEBUG/MainProcess] Closing consumer channel...\r\n[2016-11-28 20:31:59,493: DEBUG/MainProcess] closing all HTTP connections\r\n[2016-11-28 20:31:59,493: DEBUG/MainProcess] closing all HTTP connections\r\n[2016-11-28 20:31:59,494: DEBUG/MainProcess] removing tasks from inqueue until task handler finished\r\n```\r\n\r\n\r\nPS: The messages are delayed to queue normally.\r\n "},"comment":{"url":"https://api.github.com/repos/celery/celery/issues/comments/264851460","html_url":"https://github.com/celery/celery/issues/3630#issuecomment-264851460","issue_url":"https://api.github.com/repos/celery/celery/issues/3630","id":264851460,"user":{"login":"rafales","id":919812,"avatar_url":"https://avatars.githubusercontent.com/u/919812?v=3","gravatar_id":"","url":"https://api.github.com/users/rafales","html_url":"https://github.com/rafales","followers_url":"https://api.github.com/users/rafales/followers","following_url":"https://api.github.com/users/rafales/following{/other_user}","gists_url":"https://api.github.com/users/rafales/gists{/gist_id}","starred_url":"https://api.github.com/users/rafales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafales/subscriptions","organizations_url":"https://api.github.com/users/rafales/orgs","repos_url":"https://api.github.com/users/rafales/repos","events_url":"https://api.github.com/users/rafales/events{/privacy}","received_events_url":"https://api.github.com/users/rafales/received_events","type":"User","site_admin":false},"created_at":"2016-12-05T13:17:40Z","updated_at":"2016-12-05T13:17:40Z","body":"I had the same issue, but in my case my django logging configuration simply hid the error. So If you have any problem, try commenting out `LOGGING` configuration in django and running the worker again.\r\n\r\n(In my case it was this error: `ImportError: The curl client requires the pycurl library.`)"}}
{"actor":{"display_login":"rafales"}}