【发布时间】:2020-05-29 06:42:43
【问题描述】:
https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-use-postman-to-call-api.html
我按照上述文档,通过 Postman 连接到我的 AWS Elastic Search。
我想要实现发送请求并获得响应。
我也把所有与身份验证相关的东西都放了,但它仍然给出超时错误。
它给出了错误'Could not get any response'。
我的与 SSL 相关的 Postman 设置也是正确的
示例网址:
https://vpc-abc-yqb7jfwa6tw6ebwzphynyfvaka.ap-southeast-1.es.amazonaws.com/elasticsearch_index/_search?source={"query":{"bool":{"should":[{"multi_match":{"query":"abc","fields":["name.suggestion"],"fuzziness":1}}]}},"size":10,"_source":["name"],"highlight":{"fields":{"name.suggestion":{}},"pre_tags":["\u003Cem\u003E"],"post_tags":["\u003C\/em\u003E"]}}&source_content_type=application/json
【问题讨论】:
-
您的 ES 域在 vpc 中。您是如何启用对它的访问权限的?
-
通过安全组并允许端口@Marcin
标签: amazon-web-services elasticsearch postman aws-elasticsearch