Skip to content

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

Open
@kdsounds

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions