Closed pditommaso closed 9 years ago
I am not sure.. eventually I got this error, but i supose that is a internet problem or amazon AWS problem. I use this library to upload files to amazon and download it in production, and I am not getting these problems.
I think the same, it could have been a network hiccup. However I think it could be useful having the ability to tune the connection timeout and max retry. I saw you are using the AWS ClientConfiguration defaults.
I would propose to have in the lib some configuration properties to override the ClientConfiguration defaults.
Also since that exception is thrown on the close method invocation, maybe that exception could be catched and reported just a warning.
What do you think?
@pditommaso I think the ability to cange the ClientConfiguration would be awesome. I also think reporting a warn is more useful than throwing an exception since there's nothing you can do to fix it and generates noise in the logs.
You can change the settings with the new version. Check out the readme.
I got a
SocketTimeoutException
while reading some files attributes. I'm was wondering if someone has ever experienced this problem and if setting a higher read timeout could eventually help to avoid this error.Here it is the error stack trace: