Amazon S3 File Read Timeout. Trying to download a file using JAVA
<p>New to Amazon S3 usage.I get the following error when trying to access the file from Amazon S3 using a simple java method.</p>

<pre><code>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
</code></pre>

<p>The exact lines of code worked yesterday.I was able to download 100% of 5GB file in 12 min. Today I'm in a better connected environment but only 2% or 3% of the file is downloaded and then the program fails.</p>

<p>Code that I'm using to download.</p>

<pre><code>s3Client.getObject(new GetObjectRequest("mybucket", file.getKey()), localFile); 
</code></pre>