elastic / elastic/elasticsearch-php

ElasticsearchResurrect fails to resurrect ElasticCloud cluster

Open
#1,461 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
5.3k
Forks
963
PR merge metrics
No merged PRs in 30d

Description

### Summary of problem or feature request

The `ping` method of ElasticsearchResurrect sends unauthenticated `HEAD` requests. This fails if the cluster is deployed on ElasticCloud, resulting in the cluster being permanently unreachable within the same process.

### System details

- Operating System: Ubuntu 22.04.1 LTS
- PHP Version: 8.14.0
- ES-PHP client version: 8.14.0
- Elasticsearch version: 8.14.0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.