ice icon indicating copy to clipboard operation
ice copied to clipboard

AwsUtils.java has incorrect format for s3 download bucket

Open kdsounds opened this issue 6 years ago • 3 comments

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 avatar Apr 26 '18 17:04 kdsounds

@kdsounds The two definitions that you posted are identical. Can you share the actual before and after for that definition?

gino-u avatar Jun 04 '18 16:06 gino-u

Its currently 's3-' but it needs to be 's3.'

stephen-dayman avatar Jul 09 '18 17:07 stephen-dayman

this works! Thanks

hhh0505 avatar Jul 10 '18 16:07 hhh0505