# Flannel Connecting to Etcd Cluster Using AWS ELB Reports ERROR

## Problem

Cluster running on AWS and have an ELB, the flannel container logs reports below errors:

{% tabs %}
{% tab title="flannel logs" %}

```yaml
E0503 08:10:22.781361 1 watch.go:43] Watch subnets: client: etcd cluster is unavailable or misconfigured; error #0: unexpected EOF

E0503 08:15:08.904157 1 watch.go:171] Subnet watch failed: client: etcd cluster is unavailable or misconfigured; error #0: unexpected EOF
```

{% endtab %}
{% endtabs %}

## Environment

* Platform9 Managed Kubernetes - v5.3 and Higher
* Flannel CNI
* AWS ELB

## Cause

* This is a known upstream issue with Flannel <https://github.com/flannel-io/flannel/issues/508> and <https://github.com/flannel-io/flannel/issues/528> where AWS ELB close inactive connection and flannel trying reconnect.
* There are NO impacts and these logs can be ignored.

## Resolution

* Increase the ELD idle timeout from AWS console (under Load Balancing -> Loadbalancers -> Healthcheck -> Edit Health Check -> Response Timeout.)

{% hint style="warning" %}
**Warning**

Timeout value will be reset on any cluster update operation so should reapply post upgrade.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://platform9.com/kb/pmk/solutions/flannel-connecting-to-etcd-cluster-using-aws-elb-reports-error.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
