GitHub user uplsh580 edited a comment on the discussion: S3 Remote Logging Failure After Upgrading Airflow from 2.9.3 to 2.10.3
(Self-Answer) This issue occurs with versions of `boto3`, an AWS-related package, that are 1.36.0 or higher. It can be resolved using the following method. **Hint Log** ``` │ botocore.exceptions.ClientError: An error occurred (MissingContentLength) when calling the PutObject operation: The internal error code is -2011 ``` **Solution: Set below environment variables** ``` export AWS_REQUEST_CHECKSUM_CALCULATION=when_required export AWS_RESPONSE_CHECKSUM_VALIDATION=when_required ``` Ref: https://github.com/aws/aws-cli/issues/9214#issuecomment-2606619168 GitHub link: https://github.com/apache/airflow/discussions/51106#discussioncomment-13340193 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
