0
Amazon S3で初めてです。単純なJavaメソッドを使用してAmazon S3からファイルにアクセスしようとすると、次のエラーが発生します。Amazon S3ファイルの読み取りタイムアウト。 Javaを使用してファイルをダウンロードしようとしています
2016-08-23 09:46:48 INFO request:450 - Received successful response:200, AWS Request ID: F5EA01DB74D0D0F5
Caught an AmazonClientException, which means the client encountered an
internal error while trying to communicate with S3, such as not being
able to access the network.
Error Message: Unable to store object contents to disk: Read timed out
正確なコード行が昨日働いていました。私は12GBで5GBファイルの100%をダウンロードできました。今日私はより良い接続環境ですが、ファイルの2%または3%しかダウンロードされず、プログラムが失敗します。
ダウンロードに使用しているコード。
s3Client.getObject(new GetObjectRequest("mybucket", file.getKey()), localFile);