Answer the question
In order to leave comments, you need to log in
How to replace RubyOnRails credentials in AWS Elasticsearch?
Hello!
My ROR application is hosted on AWS EC2 and uses the Elasticsearch domain.
I accidentally flashed the keys and had to delete the user and create a new one.
S3 accepted new keys normally and gives pictures. But Elastic does not want to.
Bugsnag caught an error: Elasticsearch::Transport::Transport::Errors::Forbidden welcome#index
[403] {"message":"The security token included in the request is invalid."}
Tell me where this token is and how to get it update?
Is it related to IAM at all?
Answer the question
In order to leave comments, you need to log in
The problem was IAM rights. I rechecked and the error was there. It was just necessary to add the user the right to use ES.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question