Elasticsearch logs show Did you forget to close a response body
Issue
The logging-elasticsearch pods have a lot of this message:
WARNING: A connection to https://10.101.16.1/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);
Jul 22, 2021 7:37:15 PM okhttp3.internal.platform.Platform log
Environment
- Red Hat OpenShift Container Platform
- 3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.