2025-02-12 09:14:53,776 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/2.24.2 Python/3.12.6 Darwin/23.6.0 exe/x86_64 2025-02-12 09:14:53,776 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['s3', 'cp', 'test.txt', 's3:///testrepo401/', '--profile', 'sc-prod', '--debug'] 2025-02-12 09:14:53,796 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler 2025-02-12 09:14:53,796 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler 2025-02-12 09:14:53,796 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler > 2025-02-12 09:14:53,796 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler 2025-02-12 09:14:53,796 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler 2025-02-12 09:14:53,796 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler 2025-02-12 09:14:53,796 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler 2025-02-12 09:14:53,796 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler > 2025-02-12 09:14:53,796 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler 2025-02-12 09:14:53,796 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler > 2025-02-12 09:14:53,797 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/awscli/data/cli.json 2025-02-12 09:14:53,798 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler 2025-02-12 09:14:53,798 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler 2025-02-12 09:14:53,798 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler 2025-02-12 09:14:53,798 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler 2025-02-12 09:14:53,798 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler 2025-02-12 09:14:53,798 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler 2025-02-12 09:14:53,798 - MainThread - botocore.session - DEBUG - Setting config variable for profile to 'sc-prod' 2025-02-12 09:14:53,798 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/2.24.2 Python/3.12.6 Darwin/23.6.0 exe/x86_64 2025-02-12 09:14:53,798 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['s3', 'cp', 'test.txt', 's3:///testrepo401/', '--profile', 'sc-prod', '--debug'] 2025-02-12 09:14:53,798 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler 2025-02-12 09:14:53,798 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler 2025-02-12 09:14:53,798 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler 2025-02-12 09:14:53,798 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler 2025-02-12 09:14:53,798 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler 2025-02-12 09:14:53,805 - MainThread - botocore.utils - DEBUG - IMDS ENDPOINT: http://169.254.169.254/ 2025-02-12 09:14:53,808 - MainThread - botocore.credentials - DEBUG - Skipping environment variable credential check because profile name was explicitly set. 2025-02-12 09:14:53,808 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler 2025-02-12 09:14:53,808 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler 2025-02-12 09:14:53,808 - MainThread - botocore.hooks - DEBUG - Event building-command-table.s3: calling handler 2025-02-12 09:14:53,808 - MainThread - botocore.hooks - DEBUG - Event building-command-table.s3: calling handler > 2025-02-12 09:14:53,808 - MainThread - botocore.hooks - DEBUG - Event building-command-table.s3_cp: calling handler 2025-02-12 09:14:53,808 - MainThread - botocore.hooks - DEBUG - Event building-command-table.s3_cp: calling handler > 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.paths: calling handler 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.dryrun: calling handler 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.cp: calling handler 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.quiet: calling handler 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.cp: calling handler 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.anonymous: calling handler 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.acl: calling handler 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.follow-symlinks: calling handler 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.cp: calling handler 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.anonymous: calling handler 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.sse: calling handler 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.sse-c: calling handler 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.sse-c-key: calling handler 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.sse-kms-key-id: calling handler 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.sse-c-copy-source: calling handler 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.sse-c-copy-source-key: calling handler 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.storage-class: calling handler 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.grants: calling handler 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.website-redirect: calling handler 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.content-type: calling handler 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.cache-control: calling handler 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.content-disposition: calling handler 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.content-encoding: calling handler 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.content-language: calling handler 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.expires: calling handler 2025-02-12 09:14:53,809 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.source-region: calling handler 2025-02-12 09:14:53,810 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.only-show-errors: calling handler 2025-02-12 09:14:53,810 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.cp: calling handler 2025-02-12 09:14:53,810 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.anonymous: calling handler 2025-02-12 09:14:53,810 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.page-size: calling handler 2025-02-12 09:14:53,810 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.ignore-glacier-warnings: calling handler 2025-02-12 09:14:53,810 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.cp: calling handler 2025-02-12 09:14:53,810 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.force-glacier-transfer: calling handler 2025-02-12 09:14:53,810 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.cp: calling handler 2025-02-12 09:14:53,810 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.request-payer: calling handler 2025-02-12 09:14:53,810 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.checksum-mode: calling handler 2025-02-12 09:14:53,810 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.checksum-algorithm: calling handler 2025-02-12 09:14:53,810 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.metadata: calling handler 2025-02-12 09:14:53,810 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.copy-props: calling handler 2025-02-12 09:14:53,810 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.cp: calling handler 2025-02-12 09:14:53,810 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.metadata-directive: calling handler 2025-02-12 09:14:53,810 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.expected-size: calling handler 2025-02-12 09:14:53,810 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.anonymous: calling handler 2025-02-12 09:14:53,810 - MainThread - botocore.utils - DEBUG - IMDS ENDPOINT: http://169.254.169.254/ 2025-02-12 09:14:53,810 - MainThread - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 169.254.169.254:80 2025-02-12 09:14:54,814 - MainThread - botocore.utils - DEBUG - Caught retryable HTTP exception while making metadata service request to http://169.254.169.254/latest/api/token: Connect timeout on endpoint URL: "http://169.254.169.254/latest/api/token" Traceback (most recent call last): File "urllib3/connection.py", line 174, in _new_conn File "urllib3/util/connection.py", line 95, in create_connection File "urllib3/util/connection.py", line 85, in create_connection TimeoutError: timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "awscli/botocore/httpsession.py", line 458, in send File "urllib3/connectionpool.py", line 802, in urlopen File "urllib3/util/retry.py", line 527, in increment File "urllib3/packages/six.py", line 770, in reraise File "urllib3/connectionpool.py", line 716, in urlopen File "urllib3/connectionpool.py", line 416, in _make_request File "urllib3/connection.py", line 244, in request File "http/client.py", line 1336, in request File "awscli/botocore/awsrequest.py", line 93, in _send_request File "http/client.py", line 1382, in _send_request File "http/client.py", line 1331, in endheaders File "awscli/botocore/awsrequest.py", line 121, in _send_output File "awscli/botocore/awsrequest.py", line 205, in send File "http/client.py", line 1035, in send File "urllib3/connection.py", line 205, in connect File "urllib3/connection.py", line 179, in _new_conn urllib3.exceptions.ConnectTimeoutError: (, 'Connection to 169.254.169.254 timed out. (connect timeout=1)') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "awscli/botocore/utils.py", line 390, in _fetch_metadata_token File "awscli/botocore/httpsession.py", line 493, in send botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/api/token" 2025-02-12 09:14:54,819 - MainThread - urllib3.connectionpool - DEBUG - Starting new HTTP connection (2): 169.254.169.254:80 2025-02-12 09:14:55,821 - MainThread - botocore.utils - DEBUG - Caught retryable HTTP exception while making metadata service request to http://169.254.169.254/latest/meta-data/placement/availability-zone/: Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/placement/availability-zone/" Traceback (most recent call last): File "urllib3/connection.py", line 174, in _new_conn File "urllib3/util/connection.py", line 95, in create_connection File "urllib3/util/connection.py", line 85, in create_connection TimeoutError: timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "awscli/botocore/httpsession.py", line 458, in send File "urllib3/connectionpool.py", line 802, in urlopen File "urllib3/util/retry.py", line 527, in increment File "urllib3/packages/six.py", line 770, in reraise File "urllib3/connectionpool.py", line 716, in urlopen File "urllib3/connectionpool.py", line 416, in _make_request File "urllib3/connection.py", line 244, in request File "http/client.py", line 1336, in request File "awscli/botocore/awsrequest.py", line 93, in _send_request File "http/client.py", line 1382, in _send_request File "http/client.py", line 1331, in endheaders File "awscli/botocore/awsrequest.py", line 121, in _send_output File "awscli/botocore/awsrequest.py", line 205, in send File "http/client.py", line 1035, in send File "urllib3/connection.py", line 205, in connect File "urllib3/connection.py", line 179, in _new_conn urllib3.exceptions.ConnectTimeoutError: (, 'Connection to 169.254.169.254 timed out. (connect timeout=1)') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "awscli/botocore/utils.py", line 440, in _get_request File "awscli/botocore/httpsession.py", line 493, in send botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/placement/availability-zone/" 2025-02-12 09:14:55,825 - MainThread - awscli.utils - DEBUG - Max number of attempts exceeded (1) when attempting to retrieve data from metadata service. 2025-02-12 09:14:55,825 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: assume-role 2025-02-12 09:14:55,825 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: assume-role-with-web-identity 2025-02-12 09:14:55,825 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: sso 2025-02-12 09:14:55,825 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: shared-credentials-file 2025-02-12 09:14:55,826 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: custom-process 2025-02-12 09:14:55,826 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: config-file 2025-02-12 09:14:55,827 - MainThread - botocore.credentials - INFO - Credentials found in config file: ~/.aws/config 2025-02-12 09:14:55,829 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/awscli/botocore/data/endpoints.json 2025-02-12 09:14:55,846 - MainThread - botocore.hooks - DEBUG - Event choose-service-name: calling handler 2025-02-12 09:14:55,855 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/awscli/botocore/data/s3/2006-03-01/service-2.json 2025-02-12 09:14:55,861 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/awscli/botocore/data/s3/2006-03-01/service-2.sdk-extras.json 2025-02-12 09:14:55,869 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/awscli/botocore/data/s3/2006-03-01/endpoint-rule-set-1.json 2025-02-12 09:14:55,871 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/awscli/botocore/data/partitions.json 2025-02-12 09:14:55,872 - MainThread - botocore.hooks - DEBUG - Event creating-client-class.s3: calling handler 2025-02-12 09:14:55,872 - MainThread - botocore.hooks - DEBUG - Event creating-client-class.s3: calling handler 2025-02-12 09:14:55,872 - MainThread - botocore.configprovider - DEBUG - Looking for endpoint for s3 via: environment_service 2025-02-12 09:14:55,872 - MainThread - botocore.configprovider - DEBUG - Looking for endpoint for s3 via: environment_global 2025-02-12 09:14:55,872 - MainThread - botocore.configprovider - DEBUG - Looking for endpoint for s3 via: config_service 2025-02-12 09:14:55,872 - MainThread - botocore.configprovider - DEBUG - Looking for endpoint for s3 via: config_global 2025-02-12 09:14:55,872 - MainThread - botocore.configprovider - INFO - Found endpoint for s3 via: config_global. 2025-02-12 09:14:55,876 - MainThread - botocore.endpoint - DEBUG - Setting s3 timeout as (60, 60) 2025-02-12 09:14:55,877 - MainThread - botocore.utils - DEBUG - Registering S3 region redirector handler 2025-02-12 09:14:55,877 - MainThread - botocore.utils - DEBUG - Registering S3Express Identity Resolver 2025-02-12 09:14:55,878 - MainThread - urllib3.connectionpool - DEBUG - Starting new HTTP connection (3): 169.254.169.254:80 2025-02-12 09:14:55,878 - MainThread - botocore.utils - DEBUG - Caught retryable HTTP exception while making metadata service request to http://169.254.169.254/latest/api/token: Could not connect to the endpoint URL: "http://169.254.169.254/latest/api/token" Traceback (most recent call last): File "urllib3/connection.py", line 174, in _new_conn File "urllib3/util/connection.py", line 95, in create_connection File "urllib3/util/connection.py", line 85, in create_connection OSError: [Errno 65] No route to host During handling of the above exception, another exception occurred: Traceback (most recent call last): File "awscli/botocore/httpsession.py", line 458, in send File "urllib3/connectionpool.py", line 802, in urlopen File "urllib3/util/retry.py", line 527, in increment File "urllib3/packages/six.py", line 770, in reraise File "urllib3/connectionpool.py", line 716, in urlopen File "urllib3/connectionpool.py", line 416, in _make_request File "urllib3/connection.py", line 244, in request File "http/client.py", line 1336, in request File "awscli/botocore/awsrequest.py", line 93, in _send_request File "http/client.py", line 1382, in _send_request File "http/client.py", line 1331, in endheaders File "awscli/botocore/awsrequest.py", line 121, in _send_output File "awscli/botocore/awsrequest.py", line 205, in send File "http/client.py", line 1035, in send File "urllib3/connection.py", line 205, in connect File "urllib3/connection.py", line 186, in _new_conn urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 65] No route to host During handling of the above exception, another exception occurred: Traceback (most recent call last): File "awscli/botocore/utils.py", line 390, in _fetch_metadata_token File "awscli/botocore/httpsession.py", line 487, in send botocore.exceptions.EndpointConnectionError: Could not connect to the endpoint URL: "http://169.254.169.254/latest/api/token" 2025-02-12 09:14:55,879 - MainThread - urllib3.connectionpool - DEBUG - Starting new HTTP connection (4): 169.254.169.254:80 2025-02-12 09:14:55,879 - MainThread - botocore.utils - DEBUG - Caught retryable HTTP exception while making metadata service request to http://169.254.169.254/latest/meta-data/placement/availability-zone/: Could not connect to the endpoint URL: "http://169.254.169.254/latest/meta-data/placement/availability-zone/" Traceback (most recent call last): File "urllib3/connection.py", line 174, in _new_conn File "urllib3/util/connection.py", line 95, in create_connection File "urllib3/util/connection.py", line 85, in create_connection OSError: [Errno 64] Host is down During handling of the above exception, another exception occurred: Traceback (most recent call last): File "awscli/botocore/httpsession.py", line 458, in send File "urllib3/connectionpool.py", line 802, in urlopen File "urllib3/util/retry.py", line 527, in increment File "urllib3/packages/six.py", line 770, in reraise File "urllib3/connectionpool.py", line 716, in urlopen File "urllib3/connectionpool.py", line 416, in _make_request File "urllib3/connection.py", line 244, in request File "http/client.py", line 1336, in request File "awscli/botocore/awsrequest.py", line 93, in _send_request File "http/client.py", line 1382, in _send_request File "http/client.py", line 1331, in endheaders File "awscli/botocore/awsrequest.py", line 121, in _send_output File "awscli/botocore/awsrequest.py", line 205, in send File "http/client.py", line 1035, in send File "urllib3/connection.py", line 205, in connect File "urllib3/connection.py", line 186, in _new_conn urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 64] Host is down During handling of the above exception, another exception occurred: Traceback (most recent call last): File "awscli/botocore/utils.py", line 440, in _get_request File "awscli/botocore/httpsession.py", line 487, in send botocore.exceptions.EndpointConnectionError: Could not connect to the endpoint URL: "http://169.254.169.254/latest/meta-data/placement/availability-zone/" 2025-02-12 09:14:55,880 - MainThread - awscli.utils - DEBUG - Max number of attempts exceeded (1) when attempting to retrieve data from metadata service. 2025-02-12 09:14:55,880 - MainThread - botocore.hooks - DEBUG - Event choose-service-name: calling handler 2025-02-12 09:14:55,881 - MainThread - botocore.hooks - DEBUG - Event creating-client-class.s3: calling handler 2025-02-12 09:14:55,881 - MainThread - botocore.hooks - DEBUG - Event creating-client-class.s3: calling handler 2025-02-12 09:14:55,881 - MainThread - botocore.configprovider - DEBUG - Looking for endpoint for s3 via: environment_service 2025-02-12 09:14:55,881 - MainThread - botocore.configprovider - DEBUG - Looking for endpoint for s3 via: environment_global 2025-02-12 09:14:55,881 - MainThread - botocore.configprovider - DEBUG - Looking for endpoint for s3 via: config_service 2025-02-12 09:14:55,881 - MainThread - botocore.configprovider - DEBUG - Looking for endpoint for s3 via: config_global 2025-02-12 09:14:55,881 - MainThread - botocore.configprovider - INFO - Found endpoint for s3 via: config_global. 2025-02-12 09:14:55,882 - MainThread - botocore.endpoint - DEBUG - Setting s3 timeout as (60, 60) 2025-02-12 09:14:55,883 - MainThread - botocore.utils - DEBUG - Registering S3 region redirector handler 2025-02-12 09:14:55,883 - MainThread - botocore.utils - DEBUG - Registering S3Express Identity Resolver 2025-02-12 09:14:55,883 - MainThread - urllib3.connectionpool - DEBUG - Starting new HTTP connection (5): 169.254.169.254:80 2025-02-12 09:14:55,883 - MainThread - botocore.utils - DEBUG - Caught retryable HTTP exception while making metadata service request to http://169.254.169.254/latest/api/token: Could not connect to the endpoint URL: "http://169.254.169.254/latest/api/token" Traceback (most recent call last): File "urllib3/connection.py", line 174, in _new_conn File "urllib3/util/connection.py", line 95, in create_connection File "urllib3/util/connection.py", line 85, in create_connection OSError: [Errno 64] Host is down During handling of the above exception, another exception occurred: Traceback (most recent call last): File "awscli/botocore/httpsession.py", line 458, in send File "urllib3/connectionpool.py", line 802, in urlopen File "urllib3/util/retry.py", line 527, in increment File "urllib3/packages/six.py", line 770, in reraise File "urllib3/connectionpool.py", line 716, in urlopen File "urllib3/connectionpool.py", line 416, in _make_request File "urllib3/connection.py", line 244, in request File "http/client.py", line 1336, in request File "awscli/botocore/awsrequest.py", line 93, in _send_request File "http/client.py", line 1382, in _send_request File "http/client.py", line 1331, in endheaders File "awscli/botocore/awsrequest.py", line 121, in _send_output File "awscli/botocore/awsrequest.py", line 205, in send File "http/client.py", line 1035, in send File "urllib3/connection.py", line 205, in connect File "urllib3/connection.py", line 186, in _new_conn urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 64] Host is down During handling of the above exception, another exception occurred: Traceback (most recent call last): File "awscli/botocore/utils.py", line 390, in _fetch_metadata_token File "awscli/botocore/httpsession.py", line 487, in send botocore.exceptions.EndpointConnectionError: Could not connect to the endpoint URL: "http://169.254.169.254/latest/api/token" 2025-02-12 09:14:55,885 - MainThread - urllib3.connectionpool - DEBUG - Starting new HTTP connection (6): 169.254.169.254:80 2025-02-12 09:14:55,885 - MainThread - botocore.utils - DEBUG - Caught retryable HTTP exception while making metadata service request to http://169.254.169.254/latest/meta-data/placement/availability-zone/: Could not connect to the endpoint URL: "http://169.254.169.254/latest/meta-data/placement/availability-zone/" Traceback (most recent call last): File "urllib3/connection.py", line 174, in _new_conn File "urllib3/util/connection.py", line 95, in create_connection File "urllib3/util/connection.py", line 85, in create_connection OSError: [Errno 64] Host is down During handling of the above exception, another exception occurred: Traceback (most recent call last): File "awscli/botocore/httpsession.py", line 458, in send File "urllib3/connectionpool.py", line 802, in urlopen File "urllib3/util/retry.py", line 527, in increment File "urllib3/packages/six.py", line 770, in reraise File "urllib3/connectionpool.py", line 716, in urlopen File "urllib3/connectionpool.py", line 416, in _make_request File "urllib3/connection.py", line 244, in request File "http/client.py", line 1336, in request File "awscli/botocore/awsrequest.py", line 93, in _send_request File "http/client.py", line 1382, in _send_request File "http/client.py", line 1331, in endheaders File "awscli/botocore/awsrequest.py", line 121, in _send_output File "awscli/botocore/awsrequest.py", line 205, in send File "http/client.py", line 1035, in send File "urllib3/connection.py", line 205, in connect File "urllib3/connection.py", line 186, in _new_conn urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 64] Host is down During handling of the above exception, another exception occurred: Traceback (most recent call last): File "awscli/botocore/utils.py", line 440, in _get_request File "awscli/botocore/httpsession.py", line 487, in send botocore.exceptions.EndpointConnectionError: Could not connect to the endpoint URL: "http://169.254.169.254/latest/meta-data/placement/availability-zone/" 2025-02-12 09:14:55,886 - MainThread - awscli.utils - DEBUG - Max number of attempts exceeded (1) when attempting to retrieve data from metadata service. 2025-02-12 09:14:55,886 - MainThread - botocore.hooks - DEBUG - Event choose-service-name: calling handler 2025-02-12 09:14:55,886 - MainThread - botocore.hooks - DEBUG - Event creating-client-class.s3: calling handler 2025-02-12 09:14:55,886 - MainThread - botocore.hooks - DEBUG - Event creating-client-class.s3: calling handler 2025-02-12 09:14:55,886 - MainThread - botocore.configprovider - DEBUG - Looking for endpoint for s3 via: environment_service 2025-02-12 09:14:55,886 - MainThread - botocore.configprovider - DEBUG - Looking for endpoint for s3 via: environment_global 2025-02-12 09:14:55,886 - MainThread - botocore.configprovider - DEBUG - Looking for endpoint for s3 via: config_service 2025-02-12 09:14:55,886 - MainThread - botocore.configprovider - DEBUG - Looking for endpoint for s3 via: config_global 2025-02-12 09:14:55,886 - MainThread - botocore.configprovider - INFO - Found endpoint for s3 via: config_global. 2025-02-12 09:14:55,887 - MainThread - botocore.endpoint - DEBUG - Setting s3 timeout as (60, 60) 2025-02-12 09:14:55,888 - MainThread - botocore.utils - DEBUG - Registering S3 region redirector handler 2025-02-12 09:14:55,888 - MainThread - botocore.utils - DEBUG - Registering S3Express Identity Resolver 2025-02-12 09:14:55,889 - MainThread - awscli.customizations.s3.factory - DEBUG - S3 CRT client optimized for system: False 2025-02-12 09:14:55,889 - MainThread - awscli.customizations.s3.factory - DEBUG - Auto resolved s3 transfer client to: classic 2025-02-12 09:14:55,889 - MainThread - awscli.customizations.s3.factory - DEBUG - Using a multipart threshold of 8388608 and a part size of 8388608 2025-02-12 09:14:55,890 - MainThread - s3transfer.utils - DEBUG - Acquiring 0 2025-02-12 09:14:55,891 - ThreadPoolExecutor-1_0 - s3transfer.tasks - DEBUG - UploadSubmissionTask(transfer_id=0, {'transfer_future': }) about to wait for the following futures [] 2025-02-12 09:14:55,891 - ThreadPoolExecutor-1_0 - s3transfer.tasks - DEBUG - UploadSubmissionTask(transfer_id=0, {'transfer_future': }) done waiting for dependent futures 2025-02-12 09:14:55,891 - ThreadPoolExecutor-1_0 - s3transfer.tasks - DEBUG - Executing task UploadSubmissionTask(transfer_id=0, {'transfer_future': }) with kwargs {'client': , 'config': , 'osutil': , 'request_executor': , 'transfer_future': } 2025-02-12 09:14:55,893 - ThreadPoolExecutor-1_0 - s3transfer.futures - DEBUG - Submitting task PutObjectTask(transfer_id=0, {'bucket': '', 'key': 'testrepo401/test.txt', 'extra_args': {'ChecksumAlgorithm': 'CRC64NVME', 'ContentType': 'text/plain'}}) to executor for transfer request: 0. 2025-02-12 09:14:55,893 - ThreadPoolExecutor-1_0 - s3transfer.utils - DEBUG - Acquiring 0 2025-02-12 09:14:55,893 - ThreadPoolExecutor-0_0 - s3transfer.tasks - DEBUG - PutObjectTask(transfer_id=0, {'bucket': '', 'key': 'testrepo401/test.txt', 'extra_args': {'ChecksumAlgorithm': 'CRC64NVME', 'ContentType': 'text/plain'}}) about to wait for the following futures [] 2025-02-12 09:14:55,893 - ThreadPoolExecutor-0_0 - s3transfer.tasks - DEBUG - PutObjectTask(transfer_id=0, {'bucket': '', 'key': 'testrepo401/test.txt', 'extra_args': {'ChecksumAlgorithm': 'CRC64NVME', 'ContentType': 'text/plain'}}) done waiting for dependent futures 2025-02-12 09:14:55,893 - ThreadPoolExecutor-1_0 - s3transfer.utils - DEBUG - Releasing acquire 0/None 2025-02-12 09:14:55,893 - ThreadPoolExecutor-0_0 - s3transfer.tasks - DEBUG - Executing task PutObjectTask(transfer_id=0, {'bucket': '', 'key': 'testrepo401/test.txt', 'extra_args': {'ChecksumAlgorithm': 'CRC64NVME', 'ContentType': 'text/plain'}}) with kwargs {'client': , 'fileobj': , 'bucket': '', 'key': 'testrepo401/test.txt', 'extra_args': {'ChecksumAlgorithm': 'CRC64NVME', 'ContentType': 'text/plain'}} 2025-02-12 09:14:55,893 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event provide-client-params.s3.PutObject: calling handler 2025-02-12 09:14:55,893 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event before-parameter-build.s3.PutObject: calling handler 2025-02-12 09:14:55,893 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event before-parameter-build.s3.PutObject: calling handler 2025-02-12 09:14:55,893 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event before-parameter-build.s3.PutObject: calling handler 2025-02-12 09:14:55,893 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event before-parameter-build.s3.PutObject: calling handler 2025-02-12 09:14:55,893 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event before-parameter-build.s3.PutObject: calling handler 2025-02-12 09:14:55,893 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event before-parameter-build.s3.PutObject: calling handler > 2025-02-12 09:14:55,893 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event before-parameter-build.s3.PutObject: calling handler > 2025-02-12 09:14:55,893 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event before-parameter-build.s3.PutObject: calling handler 2025-02-12 09:14:55,893 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event before-parameter-build.s3.PutObject: calling handler 2025-02-12 09:14:55,893 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event before-endpoint-resolution.s3: calling handler 2025-02-12 09:14:55,893 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event before-endpoint-resolution.s3: calling handler > 2025-02-12 09:14:55,893 - ThreadPoolExecutor-0_0 - botocore.regions - DEBUG - Calling endpoint provider with parameters: {'Bucket': '', 'Region': 'aws-global', 'UseFIPS': False, 'UseDualStack': False, 'Endpoint': 'https://data.source.coop', 'ForcePathStyle': True, 'Accelerate': False, 'UseGlobalEndpoint': False, 'Key': 'testrepo401/test.txt', 'DisableMultiRegionAccessPoints': False, 'UseArnRegion': True} 2025-02-12 09:14:55,894 - ThreadPoolExecutor-0_0 - botocore.regions - DEBUG - Endpoint provider result: https://data.source.coop/ 2025-02-12 09:14:55,894 - ThreadPoolExecutor-0_0 - botocore.regions - DEBUG - Selecting from endpoint provider's list of auth schemes: "sigv4". User selected auth scheme is: "None" 2025-02-12 09:14:55,894 - ThreadPoolExecutor-0_0 - botocore.regions - DEBUG - Selected auth type "v4" as "v4" with signing context params: {'region': 'us-east-1', 'signing_name': 's3', 'disableDoubleEncoding': True} 2025-02-12 09:14:55,894 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event before-call.s3.PutObject: calling handler 2025-02-12 09:14:55,894 - ThreadPoolExecutor-0_0 - botocore.handlers - DEBUG - Adding expect 100 continue header to request. 2025-02-12 09:14:55,894 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event before-call.s3.PutObject: calling handler > 2025-02-12 09:14:55,894 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event before-call.s3.PutObject: calling handler 2025-02-12 09:14:55,894 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event before-call.s3.PutObject: calling handler 2025-02-12 09:14:55,894 - ThreadPoolExecutor-0_0 - botocore.endpoint - DEBUG - Making request for OperationModel(name=PutObject) with params: {'url_path': '/testrepo401/test.txt', 'query_string': {}, 'method': 'PUT', 'headers': {'x-amz-sdk-checksum-algorithm': 'CRC64NVME', 'Content-Type': 'text/plain', 'User-Agent': 'aws-cli/2.24.2 md/awscrt#0.23.8 ua/2.0 os/macos#23.6.0 md/arch#x86_64 lang/python#3.12.6 md/pyimpl#CPython cfg/retry-mode#standard md/installer#exe md/prompt#off md/command#s3.cp', 'Expect': '100-continue', 'Transfer-Encoding': 'chunked', 'Content-Encoding': 'aws-chunked', 'X-Amz-Trailer': 'x-amz-checksum-crc64nvme', 'X-Amz-Decoded-Content-Length': '18'}, 'body': , 'auth_path': '//testrepo401/test.txt', 'url': 'https://data.source.coop//testrepo401/test.txt', 'context': {'client_region': 'aws-global', 'client_config': , 'has_streaming_input': True, 'auth_type': 'v4', 'unsigned_payload': None, 's3_redirect': {'redirected': False, 'bucket': '', 'params': {'Bucket': '', 'Key': 'testrepo401/test.txt', 'Body': , 'ChecksumAlgorithm': 'CRC64NVME', 'ContentType': 'text/plain'}}, 'S3Express': {'bucket_name': ''}, 'signing': {'region': 'us-east-1', 'signing_name': 's3', 'disableDoubleEncoding': True}, 'endpoint_properties': {'authSchemes': [{'disableDoubleEncoding': True, 'name': 'sigv4', 'signingName': 's3', 'signingRegion': 'us-east-1'}]}, 'checksum': {'request_algorithm': {'algorithm': 'crc64nvme', 'in': 'trailer', 'name': 'x-amz-checksum-crc64nvme'}}}} 2025-02-12 09:14:55,894 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event request-created.s3.PutObject: calling handler 2025-02-12 09:14:55,894 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event request-created.s3.PutObject: calling handler > 2025-02-12 09:14:55,894 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event choose-signer.s3.PutObject: calling handler 2025-02-12 09:14:55,894 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event before-sign.s3.PutObject: calling handler 2025-02-12 09:14:55,894 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event before-sign.s3.PutObject: calling handler 2025-02-12 09:14:55,894 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event before-sign.s3.PutObject: calling handler > 2025-02-12 09:14:55,895 - ThreadPoolExecutor-0_0 - botocore.auth - DEBUG - Calculating signature using v4 auth. 2025-02-12 09:14:55,895 - ThreadPoolExecutor-0_0 - botocore.auth - DEBUG - CanonicalRequest: PUT //testrepo401/test.txt content-encoding:aws-chunked content-type:text/plain host:data.source.coop x-amz-content-sha256:STREAMING-UNSIGNED-PAYLOAD-TRAILER x-amz-date:20250212T171455Z x-amz-decoded-content-length:18 x-amz-sdk-checksum-algorithm:CRC64NVME x-amz-trailer:x-amz-checksum-crc64nvme content-encoding;content-type;host;x-amz-content-sha256;x-amz-date;x-amz-decoded-content-length;x-amz-sdk-checksum-algorithm;x-amz-trailer STREAMING-UNSIGNED-PAYLOAD-TRAILER 2025-02-12 09:14:55,895 - ThreadPoolExecutor-0_0 - botocore.auth - DEBUG - StringToSign: AWS4-HMAC-SHA256 20250212T171455Z 20250212/us-east-1/s3/aws4_request xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 2025-02-12 09:14:55,895 - ThreadPoolExecutor-0_0 - botocore.auth - DEBUG - Signature: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 2025-02-12 09:14:55,895 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event request-created.s3.PutObject: calling handler 2025-02-12 09:14:55,895 - ThreadPoolExecutor-0_0 - botocore.endpoint - DEBUG - Sending http request: /testrepo401/test.txt, headers={'x-amz-sdk-checksum-algorithm': b'CRC64NVME', 'Content-Type': b'text/plain', 'User-Agent': b'aws-cli/2.24.2 md/awscrt#0.23.8 ua/2.0 os/macos#23.6.0 md/arch#x86_64 lang/python#3.12.6 md/pyimpl#CPython cfg/retry-mode#standard md/installer#exe md/prompt#off md/command#s3.cp', 'Expect': b'100-continue', 'Transfer-Encoding': b'chunked', 'Content-Encoding': b'aws-chunked', 'X-Amz-Trailer': b'x-amz-checksum-crc64nvme', 'X-Amz-Decoded-Content-Length': b'18', 'X-Amz-Date': b'20250212T171455Z', 'X-Amz-Content-SHA256': b'STREAMING-UNSIGNED-PAYLOAD-TRAILER', 'Authorization': b'AWS4-HMAC-SHA256 Credential=SCDAK9PA4BGMV2WURBR6A0ZV/20250212/us-east-1/s3/aws4_request, SignedHeaders=content-encoding;content-type;host;x-amz-content-sha256;x-amz-date;x-amz-decoded-content-length;x-amz-sdk-checksum-algorithm;x-amz-trailer, Signature=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}> 2025-02-12 09:14:55,895 - ThreadPoolExecutor-0_0 - botocore.httpsession - DEBUG - Certificate path: /usr/local/aws-cli/awscli/botocore/cacert.pem 2025-02-12 09:14:55,896 - ThreadPoolExecutor-0_0 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): data.source.coop:443 2025-02-12 09:14:56,548 - ThreadPoolExecutor-0_0 - urllib3.connectionpool - DEBUG - https://data.source.coop:443 "PUT //testrepo401/test.txt HTTP/1.1" 401 0 2025-02-12 09:14:56,548 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event before-parse.s3.PutObject: calling handler 2025-02-12 09:14:56,548 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event before-parse.s3.PutObject: calling handler 2025-02-12 09:14:56,549 - ThreadPoolExecutor-0_0 - botocore.parsers - DEBUG - Response headers: {'Date': 'Wed, 12 Feb 2025 17:14:56 GMT', 'Content-Length': '0', 'Connection': 'keep-alive', 'access-control-allow-credentials': 'true', 'x-version': '0.1.20', 'vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'} 2025-02-12 09:14:56,549 - ThreadPoolExecutor-0_0 - botocore.parsers - DEBUG - Response body: b'' 2025-02-12 09:14:56,553 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event needs-retry.s3.PutObject: calling handler 2025-02-12 09:14:56,553 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event needs-retry.s3.PutObject: calling handler > 2025-02-12 09:14:56,553 - ThreadPoolExecutor-0_0 - botocore.retries.standard - DEBUG - Not retrying request. 2025-02-12 09:14:56,553 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event needs-retry.s3.PutObject: calling handler > 2025-02-12 09:14:56,553 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event after-call.s3.PutObject: calling handler 2025-02-12 09:14:56,553 - ThreadPoolExecutor-0_0 - botocore.hooks - DEBUG - Event after-call.s3.PutObject: calling handler > 2025-02-12 09:14:56,554 - ThreadPoolExecutor-0_0 - s3transfer.tasks - DEBUG - Exception raised. Traceback (most recent call last): File "awscli/s3transfer/tasks.py", line 139, in __call__ File "awscli/s3transfer/tasks.py", line 162, in _execute_main File "awscli/s3transfer/upload.py", line 798, in _main File "awscli/botocore/client.py", line 364, in _api_call File "awscli/botocore/client.py", line 744, in _make_api_call botocore.exceptions.ClientError: An error occurred (401) when calling the PutObject operation: Unauthorized 2025-02-12 09:14:56,555 - ThreadPoolExecutor-0_0 - s3transfer.utils - DEBUG - Releasing acquire 0/None upload failed: ./test.txt to s3:///testrepo401/test.txt An error occurred (401) when calling the PutObject operation: Unauthorized 2025-02-12 09:14:56,555 - Thread-1 - awscli.customizations.s3.results - DEBUG - Shutdown request received in result processing thread, shutting down result thread.