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

Authorization Header not passed in Request #69

Open
ajvs opened this issue Aug 31, 2021 · 0 comments
Open

Authorization Header not passed in Request #69

ajvs opened this issue Aug 31, 2021 · 0 comments

Comments

@ajvs
Copy link

ajvs commented Aug 31, 2021

I'm trying to use v7.1.0 with Elasticsearch.net v7.7 and Nest v7.14.1. After upgrading from v6.0, I am now getting 403 response from my AWS Elasticsearch endpoint. I found out that with the latest version the Authorization Header is not passed to the request.

Please see sample code below for creating the ElasticClient.

var httpConnection = new AwsHttpConnection(new BasicAWSCredentials(
                    AWSAccessKey,
                    AWSSecretKey
                ), Amazon.RegionEndpoint.USEast1);
                
                ConnectionSettings settings = new ConnectionSettings(pool, httpConnection);

               ElasticClient client = new ElasticClient(settings);
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

1 participant