Skip to content

Authorization Header not passed in Request #69

Open
@ajvs

Description

@ajvs

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions