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

Fix region retrieving in AWSAuthentication #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Shinobi47
Copy link

@Shinobi47 Shinobi47 commented Apr 1, 2020

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.

I created an Issue too for the matter : #70

with this fix, it gets the correct Region.

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

Successfully merging this pull request may close these issues.

2 participants