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