Skip to content

Unable to proceed with elasticsearch-evolution on aws elasticsearch #114

@ttj4

Description

@ttj4

Not sure if this would be an issue with this library, to begin with.

I'm on AWS ES 7.10 and using a high-level rest client with 7.10 version as well (I'm on Java 8). While trying to run the template schema migration I see the following error :

curl -iX POST 'https://some-domain-name.us-east-1.es.amazonaws.com/es_evolution/_refresh?ignore_throttled=false&ignore_unavailable=true&expand_wildcards=open&allow_no_indices=true'
# HTTP/1.1 403 Forbidden
# Date: Mon, 21 Mar 2022 14:33:12 GMT
# Content-Type: application/json
# Content-Length: 192
# Connection: keep-alive
# x-amzn-RequestId: abcdef-ghij-klmno-pqrstu-vwxuyz
# Access-Control-Allow-Origin: *
#
# {"message": "The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details."}

But I could see the following request as well which returns a success.

 | 2022-03-21 | 14:33:10.793 | main | TRACE | (RequestLogger.java:logResponse:83) | curl -iX HEAD 'https://some-domain-name.us-east-1.es.amazonaws.com/es_evolution'
# HTTP/1.1 200 OK
# Date: Mon, 21 Mar 2022 14:33:10 GMT
# Content-Type: application/json; charset=UTF-8
# Content-Length: 243
# Connection: keep-alive
# Access-Control-Allow-Origin: *

I'm not sure what is going on here. Any help would be appreciated
Thank you!

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