ice
ice copied to clipboard
AwsUtils.java has incorrect format for s3 download bucket
Get error: Caused by UnknownHostException: bucketname.s3-us-east-1.amazonaws.com ->> 1280 | getAllByName0 in java.net.InetAddress
Cause: /src/java/com/netflix/ice/common/AwsUtils.java has a "public static boolean downloadFileIfChangedSince" definition that is incorrectly formatting "s3Client.setEndpoint" as "("s3." + bucketFileRegion + ".amazonaws.com").
Resolution: Manually modifying the local AwsUtils.java file, changing as follows: ("s3." + bucketFileRegion + ".amazonaws.com").
Restart service and errors should go away. Need this part of the codebase updated!!!
@kdsounds The two definitions that you posted are identical. Can you share the actual before and after for that definition?
Its currently 's3-' but it needs to be 's3.'
this works! Thanks