Lawrence Stewart writes:
> I'd like to add the blocking/throttling on s3 seems to be quite
> aggressive.
Agreed. I had a bit of success (10 warc files over a few hours) using
the CLI and setting AWS_RETRY_MODE=adaptive, but now nothing is
getting through regardless of how long I wait.
I tried --debug, and here's the failure:
2023-10-19 08:22:31,033 - 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 448, in send
File "urllib3/connectionpool.py", line 798, in urlopen
File "urllib3/util/retry.py", line 525, in increment
File "urllib3/packages/six.py", line 770, in reraise
File "urllib3/connectionpool.py", line 714, in urlopen
File "urllib3/connectionpool.py", line 415, in _make_request
File "urllib3/connection.py", line 244, in request
File "http/client.py", line 1286, in request
File "awscli/botocore/awsrequest.py", line 94, in _send_request
File "http/client.py", line 1332, in _send_request
File "http/client.py", line 1281, in endheaders
File "awscli/botocore/awsrequest.py", line 122, in _send_output
File "awscli/botocore/awsrequest.py", line 206, in send
File "http/client.py", line 979, in send
File "urllib3/connection.py", line 205, in connect
File "urllib3/connection.py", line 179, in _new_conn
urllib3.exceptions.ConnectTimeoutError: (<botocore.awsrequest.AWSHTTPConnection object at 0x7f92535dba50>, '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 383, in _fetch_metadata_token
File "awscli/botocore/httpsession.py", line 483, in send
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "
http://169.254.169.254/latest/api/token"
2023-10-19 08:22:31,047 - MainThread - urllib3.connectionpool - DEBUG - Starting new HTTP connection (2):
169.254.169.254:80
No sign of adaptive retrying -- the retry happens within
milliseconds (the timestamps are mine, in BST):
2023-10-19 08:22:31,047 - MainThread - urllib3.connectionpool - DEBUG - Starting new HTTP connection (2):
169.254.169.254:80
2023-10-19 08:22:32,048 - 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):
...
ht
--
Henry S. Thompson, School of Informatics, University of Edinburgh
10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail:
h...@inf.ed.ac.uk
URL:
http://www.ltg.ed.ac.uk/~ht/
[mail from me _always_ has a .sig like this -- mail without it is forged spam]