我正在尝试将大文件上传到 S3 存储桶(~2.3 GB)。传输开始,但在一段时间后突然失败。我第一次尝试时,我能够成功上传,这应该意味着该命令工作正常。
我的命令:aws s3 cp local\path\to\file s3://bucket/remotepath
这是一段时间以来的进展情况:
Completed 136.8 MiB/2.3 GiB (542.4 KiB/s) with 1 file(s) remaining
上传开始并在一段时间后失败,例外情况:
upload failed: local\path\to\file to s3://bucket/remotepath Could not connect to the endpoint URL: "https://bucket.s3.us-east-1.amazonaws.com/remotepath?uploadId=someUploadId"
凭证看起来不错:
aws configure
AWS Access Key ID [****************XXXX]:
AWS Secret Access Key [****************XXXX]:
Default region name [us-east-1]:
Default output format [json]:
Run Code Online (Sandbox Code Playgroud)
互联网连接也保持一致。
nslookup s3.amazonaws.com
Server: modem.Home
Address: 192.168.0.1
Non-authoritative answer:
Name: s3-1.amazonaws.com
Address: 52.X.X.X
Aliases: s3.amazonaws.com
ping s3.amazonaws.com
Ping statistics for 52.X.X.X:
Packets: Sent = …Run Code Online (Sandbox Code Playgroud)