Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(batch-exports): treat S3 SSL handshake errors as non-retryable (#72213)

Rossf7be64c0cbab
diff --git a/products/batch_exports/backend/temporal/destinations/s3_batch_export.py b/products/batch_exports/backend/temporal/destinations/s3_batch_export.py
index bc0d2167e191..bf243fa22ce5 100644
--- a/products/batch_exports/backend/temporal/destinations/s3_batch_export.py
+++ b/products/batch_exports/backend/temporal/destinations/s3_batch_export.py
@@ -78,6 +78,8 @@ NON_RETRYABLE_ERROR_TYPES = (
"NoSuchBucket",
# Couldn't connect to custom S3 endpoint
"EndpointConnectionError",
+ # TLS handshake failed against a custom S3 endpoint
+ "SSLError",
# User provided an invalid S3 key
"InvalidS3Key",
# Invalid S3 endpoint URL