cors request did not successd
Author: DingDangCat2Created Apr 26, 2024Updated Apr 20, 2025
Hi. Why is there such an error? I can't solve it. I added the configuration in elasticsearch.yml
http.cors.enabled: true http.cors.allow-origin: "*" http.cors.allow-methods: OPTIONS,HEAD,GET,POST,PUT,DELETE http.cors.allow-headers: X-Requested-With,Content-Type,Content-Length http.detailed_errors.enabled: true
Source: mobz/elasticsearch-head