Fabric icon indicating copy to clipboard operation
Fabric copied to clipboard

us-api.i.posthog.com Error while using PraisonAI (--agents)

Open bamit99 opened this issue 1 year ago • 6 comments
trafficstars

I am getting the errors below when using the --agents switch with fabric. I think this is probably because the tool is reaching some sort of limit while doing Internet Search or similar. How to avoid it? The tool comes back with the answers but I am guessing with limited information since we run into limitations. I am using Deepseek v2 for OpenAI and the usual Google Keys for YT and Google API,

2024-05-23 12:07:37,907 - 139747531929152 - _common.py-_common:120 - ERROR: Giving up send_request(...) after 4 tries (requests.exceptions.ConnectionError: HTTPSConnectionPool(host='us-api.i.posthog.com', port=443): Max retries exceeded with url: /batch/ (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f198c61d550>: Failed to establish a new connection: [Errno 111] Connection refused'))) 2024-05-23 12:07:38,170 - 139747020236352 - _common.py-_common:120 - ERROR: Giving up send_request(...) after 4 tries (requests.exceptions.ConnectionError: HTTPSConnectionPool(host='us-api.i.posthog.com', port=443): Max retries exceeded with url: /batch/ (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f198c563c10>: Failed to establish a new connection: [Errno 111] Connection refused'))) 2024-05-23 12:07:38,841 - 139746995058240 - _common.py-_common:120 - ERROR: Giving up send_request(...) after 4 tries (requests.exceptions.ConnectionError: HTTPSConnectionPool(host='us-api.i.posthog.com', port=443): Max retries exceeded with url: /batch/ (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f198c503d50>: Failed to establish a new connection: [Errno 111] Connection refused'))) 2024-05-23 12:07:39,284 - 139747011843648 - _common.py-_common:120 - ERROR: Giving up send_request(...) after 4 tries (requests.exceptions.ConnectionError: HTTPSConnectionPool(host='us-api.i.posthog.com', port=443): Max retries exceeded with url: /batch/ (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f198c502250>: Failed to establish a new connection: [Errno 111] Connection refused'))

bamit99 avatar May 23 '24 06:05 bamit99

can u create agents with praison ai using fabric

gamercoder153 avatar May 24 '24 12:05 gamercoder153

Yes. Fabric folder shows a test.yaml file that has all the PraisonAI agents needed for the request to work.

bamit99 avatar May 26 '24 16:05 bamit99

You can set the environment variable EC_TELEMETRY to false or some other non true boolean value to disable the anonymous embed chain telemetry collection.

eous avatar May 29 '24 05:05 eous

Let me try and get back to you.

bamit99 avatar May 30 '24 01:05 bamit99

You can set the environment variable EC_TELEMETRY to false or some other non true boolean value to disable the anonymous embed chain telemetry collection.

Canyou tell me where is that EC_TELEMETRY located? Thanks

julliannailluj avatar Jun 01 '24 20:06 julliannailluj

https://github.com/embedchain/embedchain/blob/9544c69c55618b9ff0e3d413b9a246647a0338c3/embedchain/telemetry/posthog.py#L21

eous avatar Jun 03 '24 16:06 eous