sentry-capacitor
sentry-capacitor copied to clipboard
Android: W/OkHttpClient: A connection to <sentry url> was leaked. Did you forget to close a response body?
Environment
How do you use Sentry? self-hosted/on-premise
Which SDK and version? Capacitor latest (0.4.0)
Steps to Reproduce
- Start the app with sentry integration
- according to the integrations, create sentry events
- at some point this error occurs in logcat
Expected Result
No warning should be logged by okhttpclient
Actual Result
The warning is logged to logcat, which indicates a memory leak:
W/OkHttpClient: A connection to <sentry url> was leaked. Did you forget to close a response body?
Thanks for raising and sorry for the delay. Where are those warning coming from? We'd need a repro to look into this as this isn't something we've seen before
@bruno-garcia I described all steps in the bug description. I didn't check since then and just occurred in logcat, when logs are transmitted to sentry server.
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀