Hi.
We have an Elastic Cloud 7.17.18 managed instance we use for our staging app, along with two others we use for Training and Production.
In the staging environment we’re rather frequently unable to connect to our Elasticsearch instance due to connection refused or similar errors. It really looks like a throttling mechanism, but we’re unable to identify the cause of this blocking, as we’re not doing anything that could lead to this behavior.
Well, of course this could be accidental, and we don’t know (yet). What I’m looking for, here, is help on identifying proofs of this blocks, if it can happen in Elastic and where should I look for such errors.
I tried in Monitoring > Logs and metrics, Access and security > Network security, I see no error logs or other evidence.
Where should I find if our app is being blocked for too many attempts, or for unkind usage?
As a background, our app is PHP8.2 based, using Elastica library to connect over HTTPS.
The error happens at:
Elastica\Exception\Connection\HttpException Couldn't connect to host, Elasticsearch down?
vendor/ruflin/elastica/src/Transport/Http.php:186 Elastica\Transport\Http::exec
vendor/ruflin/elastica/src/Request.php:183 Elastica\Request::send
vendor/ruflin/elastica/src/Client.php:545 Elastica\Client::request
vendor/ruflin/elastica/src/Client.php:580 Elastica\Client::requestEndpoint
vendor/ruflin/elastica/src/Cluster.php:60 Elastica\Cluster::refresh
vendor/ruflin/elastica/src/Cluster.php:48 Elastica\Cluster::__construct
thanks