-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
The promise was rejected: When using ElasticSearch SDK #945
Comments
@Skiddle As it is an uncaught exception, I don't think there is any recent changes in php SDK relates to elastic search, did you check whether there is any update in elastic search SDK? Is there any other changes made today could cause this trouble? |
I'm not aware of anything. I just did an upgrade to check if anything changed, from 3.17.2 => 3.17.3 Same issue though. I just caught the exception and the message is:
|
The example in the docs is intended as more of a starting point than a complete implementation, as you would need to implement some form of error handling for a full solution. Since Amazon Elasticsearch Service launched and that example was written, more Elasticsearch tooling has added support for AWS Authentication. There's official support in Elastica >= 3.1.1, and a plugin for Elasticsearch-PHP that decorates the standard handler can be found here. |
We've been successfully trialling the ES service, using the PHP AWS SDK and the ElasticSearch SDK
This was working fine, however today when we've attempted to run the code, we're getting the following:
I have no idea where to start with this error?
Here's a snip of our code (pretty much pulled from docs)
The text was updated successfully, but these errors were encountered: