# Error with ECK Operator 2.3.0 - Failed to get API Group-Resources

**URL:** <https://discuss.elastic.co/t/error-with-eck-operator-2-3-0-failed-to-get-api-group-resources/312674>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [August 23, 2022, 6:32am UTC](https://discuss.elastic.co/t/error-with-eck-operator-2-3-0-failed-to-get-api-group-resources/312674 "2022-08-23T06:32:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![x00m](https://avatars.discourse-cdn.com/v4/letter/x/90db22/32.png) [@x00m](https://discuss.elastic.co/u/x00m)\
**Post date:** [August 23, 2022, 6:32am UTC](https://discuss.elastic.co/t/error-with-eck-operator-2-3-0-failed-to-get-api-group-resources/312674/1 "2022-08-23T06:32:33Z")

</div>

Using a fresh installation of ECK Operator 2.3.0, and installing Elasticsearch version 7.16.2, Running on **Azure Kubernetes Service** , and with **ISTIO** service mesh.

The operator eventually runs fine but restarts once in a while.

Here is an error that causes restart:

```auto
08-16-2022 12:05:41
Failed to get API Group-Resources
manager.eck-operator
{"message":"Failed to get API Group-Resources","namespace":null}
Get "https://10.0.0.1:443/api?timeout=1m0s": dial tcp 10.0.0.1:443: connect: connection refused

08-16-2022 12:05:41Failed to get API Group-Resources
manager.eck-operator
{"message":"Failed to get API Group-Resources","namespace":null}Get "https://10.0.0.1:443/api?timeout=1m0s": dial tcp 10.0.0.1:443: connect: connection refused

08-16-2022 12:05:41
Failed to create controller manager
manager
{"message":"Failed to create controller manager","namespace":null}
Get "https://10.0.0.1:443/api?timeout=1m0s": dial tcp 10.0.0.1:443: connect: connection refused

08-16-2022 12:05:41
Operator stopped with error
manager{"message":"Operator stopped with error","namespace":null}
Get "https://10.0.0.1:443/api?timeout=1m0s": dial tcp 10.0.0.1:443: connect: connection refused

08-16-2022 12:05:41
Shutting down due to error 
manager
{"message":"Shutting down due to error","namespace":null}
Get "https://10.0.0.1:443/api?timeout=1m0s": dial tcp 10.0.0.1:443: connect: connection refused

```

---

<div class="post-metadata">

**Author:** ![pebrc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pebrc/32/101790_2.png) [@pebrc](https://discuss.elastic.co/u/pebrc)\
**Post date:** [August 24, 2022, 12:43pm UTC](https://discuss.elastic.co/t/error-with-eck-operator-2-3-0-failed-to-get-api-group-resources/312674/2 "2022-08-24T12:43:34Z")

</div>

The ECK operator exits because it fails to connect to the Kubernetes API server. I assume you are proxying these connections with Istio? If so, I would start looking on the Istio side why the connections are being blocked, are the proxies healthy? or are these genuine failures of the Kubernetes control plane then I would start looking into the health of the Kubernetes API server. You posted a similar question about failed leader elections here [ECK Operator - Leader Election Lost causes Restart - #2 by pebrc](https://discuss.elastic.co/t/eck-operator-leader-election-lost-causes-restart/312677/2) that points to the same underlying problem.

---

<div class="post-metadata">

**Author:** ![x00m](https://avatars.discourse-cdn.com/v4/letter/x/90db22/32.png) [@x00m](https://discuss.elastic.co/u/x00m)\
**Post date:** [August 26, 2022, 9:59am UTC](https://discuss.elastic.co/t/error-with-eck-operator-2-3-0-failed-to-get-api-group-resources/312674/3 "2022-08-26T09:59:55Z")

</div>

Thanks for the info, Peter. I'll check Istio and K8s API Server.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 23, 2022, 10:00am UTC](https://discuss.elastic.co/t/error-with-eck-operator-2-3-0-failed-to-get-api-group-resources/312674/4 "2022-09-23T10:00:10Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
