"WARNING: A connection to https://maven.repository.xxxx.com/ was leaked. Did you forget to close a response body?" occurs in JBDS

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content