Getting java.net.SocketTimeoutException while reading larger files from S3.
You can set the time-outs
You can set the time-outs
ClientConfiguration config = new ClientConfiguration();
config.setSocketTimeout(0); // 0 is infinite timeout
AmazonS3 s3Conn = new AmazonS3Client(awsCreds, config);
Comments
Post a Comment