web-ui icon indicating copy to clipboard operation
web-ui copied to clipboard

Getting HTTPS Connection Error when running running Agent

Open ronakjm opened this issue 1 year ago • 4 comments

ERROR [posthog] error uploading: HTTPSConnectionPool(host='eu.i.posthog.com', port=443): Max retries exceeded with url: /batch/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)'))) INFO [backoff] Backing off send_request(...) for 0.5s (requests.exceptions.SSLError: HTTPSConnectionPool(host='eu.i.posthog.com', port=443): Max retries exceeded with url: /batch/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)')))) INFO [backoff] Backing off send_request(...) for 1.7s (requests.exceptions.SSLError: HTTPSConnectionPool(host='eu.i.posthog.com', port=443): Max retries exceeded with url: /batch/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)')))) INFO [backoff] Backing off send_request(...) for 3.0s (requests.exceptions.SSLError: HTTPSConnectionPool(host='eu.i.posthog.com', port=443): Max retries exceeded with url: /batch/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)')))) ERROR [backoff] Giving up send_request(...) after 4 tries (requests.exceptions.SSLError: HTTPSConnectionPool(host='eu.i.posthog.com', port=443): Max retries exceeded with url: /batch/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)')))) ERROR [posthog] error uploading: HTTPSConnectionPool(host='eu.i.posthog.com', port=443): Max retries exceeded with url: /batch/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)')))

ronakjm avatar Jan 23 '25 12:01 ronakjm

Same. It seems this is related to their compulsory telemetrics.

floogy avatar Jan 25 '25 09:01 floogy

Do we have a fix for this ?

gauravmalakar08 avatar Feb 04 '25 12:02 gauravmalakar08

Do we have a fix for this ?

Yeah disable what's blocking the ads. If you are using a custom dns or a vpn that block ads and trackers, the agent won't work

Faisal0x0 avatar Feb 08 '25 20:02 Faisal0x0

You don't need to disable your adblocker Edit your .env file on WSL/Linux cd web-ui nano .env

Edit the line that already exists in the .env file

# Set to false to disable anonymized telemetry
ANONYMIZED_TELEMETRY=false

By default it's true

andmpel avatar Feb 22 '25 13:02 andmpel