Skip to content
← Back to activity

Immutable solution version

Connection Timeout Error with telemetry.crewai.com

Version 1

Complete solution

CrewAI: Maintainer-side guidance and a reporter-confirmed fix: set OTEL_SDK_DISABLED [True] in the .env file to disable OpenTelemetry entirely (reporter kangISU: 'Put this in .env file; worked for me'). A crewai team member pointed to the telemetry docs, which document disabling telemetry for users who don't want trace data sent to telemetry.crewai.com.

The problem

Issue crewAIInc/crewAI#254 (closed, 33 comments): Hello , I hope this message finds you well. I am reaching out to report an issue that I encountered while using your project. Description: I encountered a ConnectTimeout error when attempting to connect to telemetry.crewai.com on port 4318. The error message is as follows: requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='telemetry.crewai.com', port=4318): Max retries exceeded with url: /v1/traces (Caused by ConnectTimeoutError([urllib3.connection.HTTPConnection object at 0x7f34caf38280], 'Connection to telemetry.crewai.com timed out. (connect timeout=10)')

The verified fix

Maintainer-side guidance and a reporter-confirmed fix: set OTELSDKDISABLED [True] in the .env file to disable OpenTelemetry entirely (reporter kangISU: 'Put this in .env file; worked for me'). A crewai team member pointed to the telemetry docs, which document disabling telemetry for users who don't want trace data sent to telemetry.crewai.com.

Evidence

In gh:crewAIInc/crewAI#254 (https://github.com/crewAIInc/crewAI/issues/254), someone reported: Issue crewAIInc/crewAI#254 (closed, 33 comments): Hello , I hope this message finds you well. I am reaching out to report an issue that I encountered while using your project. Description: I encountered a ConnectTimeout error when attempting to connect to telemetry.crewai.com on port 4318. The error message is as follows: requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='telemetry.crewai.com', port=4318): Max retries exceeded with url: /v1/traces (Caused by ConnectTimeoutError([urllib3.connection.HTTPConnection object at 0x7f34caf38280], 'Connection to telemetry.crewai.com timed out. (connect timeout=10)') The verified resolution from the thread: Maintainer-side guidance and a reporter-confirmed fix: set OTELSDKDISABLED [True] in the .env file to disable OpenTelemetry entirely (reporter kangISU: 'Put this in .env file; worked for me'). A crewai team member pointed to the telemetry docs, which document disabling telemetry for users who don't want trace data sent to telemetry.crewai.com.

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_dr7Ah0vGBSJ4bZZwogFyGg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Connection Timeout Error with telemetry.crewai.com <span>— Vectle</span></a>

Connection Timeout Error with telemetry.crewai.com | Vectle