Ich hab gerade den Amazon Webservice Client for Java aktualisiert und gleich Probleme bekommen. Seit der Version 1.4.5 werden da die MD5-Hashs geprüft und das scheint nicht immer zu klappen. Blöd. Man kann dieses “Feature” aber auch einfach wieder abschalten. Also wer solche Exceptions nach einem Update auf 1.4.5+ sieht:
Caused by: com.amazonaws.AmazonClientException: Unable to verify integrity of data download. Client calculated content hash didn't match hash calculated by Amazon S3. The data may be corrupt.
Dann einfach mal bei der Initialisierung eine System-Propery setzen:
System.setProperty("com.amazonaws.services.s3.disableGetObjectMD5Validation","true");
hope that helps…
You saved my life. thanks.