Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amazon AWS check for existing indices throws forbidden #63

Open
ernie58 opened this issue Dec 21, 2016 · 5 comments
Open

Amazon AWS check for existing indices throws forbidden #63

ernie58 opened this issue Dec 21, 2016 · 5 comments
Assignees

Comments

@ernie58
Copy link

ernie58 commented Dec 21, 2016

This line sets a body on the request with method HEAD, which is forbidden on Amazon AWS ES

https://github.com/strongloop-community/loopback-connector-elastic-search/blob/ca47fc6cd01f2c1be610aac0a33f61d81f61681e/lib/setupIndex.js#L38

Isn't it enough to just provide the indexName like this:

return self.db.indices.exists({index: indexName})
@ernie58
Copy link
Author

ernie58 commented Jan 4, 2017

Anyone?

@pulkitsinghal
Copy link

pulkitsinghal commented Jan 5, 2017

@ernie58 - Hey boss! thanks for reporting this, sorry that I missed it until today, so ... thanks again for the re-ping! Will work on this on the weekend.

@ernie58
Copy link
Author

ernie58 commented Jan 6, 2017

You want me to make a PR?

@pulkitsinghal
Copy link

You want me to make a PR?

@ernie58 - yes that would be super.

@aquid
Copy link

aquid commented Jul 29, 2018

@ernie58 Any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants