"WARNING: A connection to https://maven.repository.xxxx.com/ was leaked. Did you forget to close a response body?" occurs in JBDS
Issue
- Sometimes, some "WARN: A connection to https://maven.repository.xxxx.com/ was leaked. Did you forget to close a response body?" warning messages occurs in JBDS
10:34:06 Jan 12, 2018 10:34:04 AM okhttp3.internal.platform.Platform log
WARNING: A connection to https://maven.repository.redhat.com/ 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);
10:34:06 Jan 12, 2018 10:34:04 AM okhttp3.internal.platform.Platform log
WARNING: A connection to https://maven.repository.redhat.com/ 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);
10:34:06 Jan 12, 2018 10:34:04 AM okhttp3.internal.platform.Platform log
WARNING: A connection to https://maven.repository.redhat.com/ 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);
10:34:06 Jan 12, 2018 10:34:04 AM okhttp3.internal.platform.Platform log
WARNING: A connection to https://repo.fusesource.com/ 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);
10:34:06 Jan 12, 2018 10:34:04 AM okhttp3.internal.platform.Platform log
WARNING: A connection to https://repo.fusesource.com/ 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);
10:34:06 Jan 12, 2018 10:34:04 AM okhttp3.internal.platform.Platform log
WARNING: A connection to https://repo.fusesource.com/ 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);
10:34:06 Jan 12, 2018 10:34:04 AM okhttp3.internal.platform.Platform log
WARNING: A connection to https://maven.repository.redhat.com/ 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);
10:34:06 Jan 12, 2018 10:34:04 AM okhttp3.internal.platform.Platform log
WARNING: A connection to https://maven.repository.redhat.com/ 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);
10:34:06 Jan 12, 2018 10:34:04 AM okhttp3.internal.platform.Platform log
WARNING: A connection to https://maven.repository.redhat.com/ 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);
Environment
- Red Hat JBoss Developer Studio 11.3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.