Skip to content

Error in AWS Authentication : cannot get Region #70

@Shinobi47

Description

@Shinobi47

Hello,
I was trying to use AWSAuthentication to connect a EC2 instance with Amazon ElasticSearch instance. but I was getting this error while trying to start the app :

com.amazonaws.SdkClientException: Unable to find a region via the region provider chain.

After debugging, the Region was null.

I Fixed the AWSAuthentication in order to get the default region of the server.

Here is the pull request : #69

with this fix, it gets the correct Region.

Metadata

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