Skip to content

A connection to https://us.posthog.com/ was leaked #60

Open
@shalom938

Description

we are seeing this kind of error , its an intellij plugin.
I think when it happens some events are not sent

2024-08-21 17:10:41,395 [ 313941] WARN - com.posthog.java.shaded.okhttp3.OkHttpClient - A connection to https://us.posthog.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);

we initialize posthog like that
PostHog.Builder(TOKEN).build()

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