HTTPSConnectionPool(host=‘telemetry.crewai.com’, port=4319): Max retries exceeded with url: /v1/traces (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x30bd95150>, ‘Connection to telemetry.crewai.com timed out. (connect timeout=30)’))
i am constantly getting this error and it gets stuck in the there thinking.
ERROR - HTTPSConnectionPool(host=‘telemetry.crewai. com’, port=4319): Max retries exceeded with url: /v1/traces (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x15fe472e0>, ‘Connection to telemetry.crewai. com timed out. (connect timeout=29.999999046325684)’))
This was supposed to be fixed back in March, but it’s happening again
2025-08-10 12:46:11,262 - 130807915476672 - telemetry.py-telemetry:51 - ERROR: HTTPSConnectionPool(host=‘telemetry.crewai.com’, port=4319): Max retries exceeded with url: /v1/traces (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x76f807211b10>, ‘Connection to telemetry.crewai.com timed out. (connect timeout=30)’))
I’m getting this error, please can you consider these two topics
how to avoid to connect external system
Why is it happening? I did not define nothing to have this behaviour. Many times production envs don’t allow to communicate with external systems. Is it default configuration? Where in documentation is described
I’m seeing the same error. I stopped it by deleting the related code in the source, since setting environment variables didn’t work.
This is, at best, deceptive behavior enabling telemetry without any consent or warning. Many production environments don’t allow outbound connections, so this kind of default behavior can cause serious issues.
To make it extra clear that you do not wish to send telemetry data, redundantly declare the following:
import os
# ⚠️ Use the string "true", not the boolean True
os.environ["OTEL_SDK_DISABLED"] = "true"
os.environ["CREWAI_DISABLE_TELEMETRY"] = "true"
os.environ["CREWAI_DISABLE_TRACKING"] = "true"