Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AwsUtils.java has incorrect format for s3 download bucket #284

Open
kdsounds opened this issue Apr 26, 2018 · 3 comments
Open

AwsUtils.java has incorrect format for s3 download bucket #284

kdsounds opened this issue Apr 26, 2018 · 3 comments

Comments

@kdsounds
Copy link

kdsounds commented Apr 26, 2018

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!!!

@gino-u
Copy link

gino-u commented Jun 4, 2018

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

@stephen-dayman
Copy link

stephen-dayman commented Jul 9, 2018

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

@hhh0505
Copy link

hhh0505 commented Jul 10, 2018

this works! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants