sentry-capacitor icon indicating copy to clipboard operation
sentry-capacitor copied to clipboard

Android: W/OkHttpClient: A connection to <sentry url> was leaked. Did you forget to close a response body?

Open phal0r opened this issue 4 years ago • 2 comments

Environment

How do you use Sentry? self-hosted/on-premise

Which SDK and version? Capacitor latest (0.4.0)

Steps to Reproduce

  1. Start the app with sentry integration
  2. according to the integrations, create sentry events
  3. 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?

phal0r avatar Oct 11 '21 10:10 phal0r

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 avatar Jan 11 '22 23:01 bruno-garcia

@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.

phal0r avatar Feb 13 '22 21:02 phal0r

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 🥀

github-actions[bot] avatar May 30 '23 00:05 github-actions[bot]