zobnec commented on issue #8164: URL: https://github.com/apache/airflow/issues/8164#issuecomment-629621571
This also happened to me.I use a celery worker start a dag and use gevent monkey path in dag code.I can run dag by python command, but with airflow celery worker it reports that (NOT patched): ['urllib3.util...]; So I added gevent monkey path Code at the top of **dagbag.py**, Just like this and **solve** it: ``` import gevent from gevent import monkey, pool monkey.patch_all() import hashlib import imp import importlib``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
