Idle timeout istio 1.5

Raised https://github.com/istio/istio/issues/24387 but not had any answers,

We keep seeing this:

2020-06-19T08:39:53.097132Z debug envoy http [external/envoy/source/common/http/conn_manager_impl.cc:483] [C88462] idle timeout

We have apps that connect to redis and they have the connection timed out underneath them. This causes us to see this message next time the app tries to connect to redis:

redis.clients.jedis.exceptions.JedisConnectionException: Unexpected end of stream.] with root cause

it then takes about 20 seconds for it to be able to connect to redis again as it has to re-establish a connection.

We are seeing this on istio .1.5.4

We weren’t seeing this on istio 1.4

We need to know how to control this. Even though connectivity to redis isn’t a HTTP connection, we have tried this destination rule:

kind: DestinationRule
metadata:
  name: redis
  namespace: rsb
spec:
  host: redis-opensource.rsb.svc.cluster.local
  trafficPolicy:
    connectionPool:
      http:
        idleTimeout: 1m

literally did this to test if I could change the timeout but it makes no difference

have also tried this as a keeplive and makes no difference:

kind: DestinationRule
metadata:
  name: redis-announce
  namespace: rsb
spec:
  host: redis-opensource.rsb.svc.cluster.local
  trafficPolicy:
    connectionPool:
      tcp:
        tcpKeepalive:
          time: 80s