Tracer Version(s)
2.20.0
Python Version(s)
3.10.9
Pip Version(s)
22.3.1
Bug Report
We host a django app served by gunicorn using the following command
exec ddtrace-run gunicorn \
--preload -w 3 \
--log-level debug \
-p /run/gunicorn_sr.pid \
-b 0.0.0.0:9000 \
--timeout=60 \
--max-requests=200 \
--forwarded-allow-ips 127.0.0.1 \
--chdir "$(pwd)" \
--config "$(pwd)/<app-name>/gunicorn_config.py" \
<app-name>.wsgi:application
it would successfully do gunicorn pre/post fork work then just flat out not hand over control to the django site.
Pinning wrapt to 1.17.3 was the fix.
This failure was very silent with no error logging of any kind - we only found the issue by comparing good and bad images to find wrapt being the only diff.
Reproduction Code
No response
Error Logs
No response
Libraries in Use
No response
Operating System
python:3.10-slim (debian)