You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2020-04-06 08:58:58 +0000] [4986] [INFO] Booting worker with pid: 4986 /home/ec2-user/venv/local/lib/python3.6/site-packages/gunicorn/workers/ggevent.py:65: MonkeyPatchWarning: Monkey-patching ssl after ssl has already been imported may lead to errors, including RecursionError on Python 3.6. It may also silently lead to incorrect behaviour on Python 3.7. Please monkey-patch earlier. See gevent/gevent#1016. Modules that had direct imports (NOT patched): ['urllib3.util (/home/ec2-user/venv/local/lib/python3.6/site-packages/urllib3/util/init.py)', 'urllib3.util.ssl_ (/home/ec2-user/venv/local/lib/python3.6/site-packages/urllib3/util/ssl_.py)']. monkey.patch_all(subprocess=True) /home/ec2-user/venv/local/lib/python3.6/site-packages/gunicorn/workers/ggevent.py:65: MonkeyPatchWarning: Monkey-patching ssl after ssl has already been imported may lead to errors, including RecursionError on Python 3.6. It may also silently lead to incorrect behaviour on Python 3.7. Please monkey-patch earlier. See gevent/gevent#1016. Modules that had direct imports (NOT patched): ['urllib3.util (/home/ec2-user/venv/local/lib/python3.6/site-packages/urllib3/util/init.py)', 'urllib3.util.ssl_ (/home/ec2-user/venv/local/lib/python3.6/site-packages/urllib3/util/ssl_.py)']. monkey.patch_all(subprocess=True) [2020-04-06 08:58:58,803] {init.py:51} INFO - Using executor LocalExecutor [2020-04-06 08:58:58,805] {dagbag.py:403} INFO - Filling up the DagBag from /home/ec2-user/airflow/dags
The text was updated successfully, but these errors were encountered:
Closing as invalid -- that error is not being reported by Airflow, but by gunicorn when using gevent worker, and most of all does not indicate a problem.
If this is causing any actual problems then please give more details.
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```
[2020-04-06 08:58:58 +0000] [4986] [INFO] Booting worker with pid: 4986 /home/ec2-user/venv/local/lib/python3.6/site-packages/gunicorn/workers/ggevent.py:65: MonkeyPatchWarning: Monkey-patching ssl after ssl has already been imported may lead to errors, including RecursionError on Python 3.6. It may also silently lead to incorrect behaviour on Python 3.7. Please monkey-patch earlier. See gevent/gevent#1016. Modules that had direct imports (NOT patched): ['urllib3.util (/home/ec2-user/venv/local/lib/python3.6/site-packages/urllib3/util/init.py)', 'urllib3.util.ssl_ (/home/ec2-user/venv/local/lib/python3.6/site-packages/urllib3/util/ssl_.py)']. monkey.patch_all(subprocess=True) /home/ec2-user/venv/local/lib/python3.6/site-packages/gunicorn/workers/ggevent.py:65: MonkeyPatchWarning: Monkey-patching ssl after ssl has already been imported may lead to errors, including RecursionError on Python 3.6. It may also silently lead to incorrect behaviour on Python 3.7. Please monkey-patch earlier. See gevent/gevent#1016. Modules that had direct imports (NOT patched): ['urllib3.util (/home/ec2-user/venv/local/lib/python3.6/site-packages/urllib3/util/init.py)', 'urllib3.util.ssl_ (/home/ec2-user/venv/local/lib/python3.6/site-packages/urllib3/util/ssl_.py)']. monkey.patch_all(subprocess=True) [2020-04-06 08:58:58,803] {init.py:51} INFO - Using executor LocalExecutor [2020-04-06 08:58:58,805] {dagbag.py:403} INFO - Filling up the DagBag from /home/ec2-user/airflow/dags
The text was updated successfully, but these errors were encountered: