INFO: Backoff: Backing off send_request(...)

I think the issue below is due to the telemetry with posthog. Crewai on Mac. Just to notice, it does not interfere with crewai run.

Running the Crew
INFO:backoff:Backing off send_request(...) for 0.4s (requests.exceptions.ConnectionError: HTTPSConnectionPool(host='us.i.posthog.com', port=443): Max retries exceeded with url: /batch/ (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x12e4beb10>: Failed to establish a new connection: [Errno 61] Connection refused')))
INFO:backoff:Backing off send_request(...) for 0.9s (requests.exceptions.ConnectionError: HTTPSConnectionPool(host='us.i.posthog.com', port=443): Max retries exceeded with url: /batch/ (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x16939c7d0>: Failed to establish a new connection: [Errno 61] Connection refused')))
INFO:backoff:Backing off send_request(...) for 3.5s (requests.exceptions.ConnectionError: HTTPSConnectionPool(host='us.i.posthog.com', port=443): Max retries exceeded with url: /batch/ (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x16939f5f0>: Failed to establish a new connection: [Errno 61] Connection refused')))
ERROR:backoff:Giving up send_request(...) after 4 tries (requests.exceptions.ConnectionError: HTTPSConnectionPool(host='us.i.posthog.com', port=443): Max retries exceeded with url: /batch/ (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x16938bef0>: Failed to establish a new connection: [Errno 61] Connection refused')))
# Agent: A

Can some help understand how to avoid this issue?
Thanks

Facing same issue. I am windows machine. I am getting this issue when i am using CSVSearchTool. While my code was running without tools, I did not get this error. Any pointers to solve / work-around will be helpful

Can you share you code repo?

It’s on my company laptop… but let me create a representative code to reproduce the issue. I am trying to use bedrock APIs … And CSV rag tool with cohere embedding and anthropic llm

1 Like