santthosh / aws-es-kibana

AWS ElasticSearch Kibana Proxy
Apache License 2.0
323 stars 134 forks source link

Security Key Invalid Error #19

Closed iammohan83 closed 7 years ago

iammohan83 commented 7 years ago

Hi ,

i am getting error as security key invalid when we try to access using AWS STS credentials. But using that profile credentials i am able to access all aws services. I am using that same role in other programs for signing it works fine. When i try to use the same credentials in aws-es-kibana getting security key invalid error. Kindly some one help me to solve this issue.

Mohan

abigpotostew commented 7 years ago

Same problem. This was working, but now amazon rejects it with message "The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method."

shanloid commented 7 years ago

Seeing the same problem. This was working until very recently. We migrated to an alternative proxy, which doesn't seem to suffer from this issue.

nlv09165 commented 7 years ago

Had the same problem, but the cause was the wrong use of the proxy. The endpoint argument should be the hostname part of the URL! This fixed the issue for me. so instead of:

aws-es-kibana https://search-xxxxxxxxxxxxxxxxxxxxx.eu-west-1.es.amazonaws.com

you should do:

aws-es-kibana search-xxxxxxxxxxxxxxxxxxxxx.eu-west-1.es.amazonaws.com
santthosh commented 7 years ago

Resolved, Please drop protocol Thanks @nlv09165