Skip to content

IndicoKtorClient okhttp3.OkHttpClient warning: A connection to https://beta-indico.xxx.com/ was leaked #42

@denglitong

Description

@denglitong

I start my server locally and perform load testing on it, maybe my load test code does not work well yet but I see the warning log which like:

16:20:14.628 [OkHttp ConnectionPool] WARN okhttp3.OkHttpClient - A connection to https://beta-indico.xxx.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);

image

And I see that the OkHttpClient is used in IndicoKtorClient#L26, so I wonder perhaps there is something went wrong in the code when it request to Indico instance internal api?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions