-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Describe the bug
Hello,
We added some nonfatal in the listener LDStatusListener and we noticed a quantity of INVALID_RESPONSE_BODY when the app is in the background (346 non-fatal events affecting 293 users in the last 24 hours).
The LDFailure.message is Exception while handling flag fetch response
The LDFailure.cause is mostly
java.io.IOException: gzip finished without exhausting sourceBut we also have many of
java.io.IOException: failed to rename /data/user/0/fr.vestiairecollective/cache/com.launchdarkly.http-cache/824d4750cb4389481dda7bf14c725579.0.tmp to /data/user/0/fr.vestiairecollective/cache/com.launchdarkly.http-cache/824d4750cb4389481dda7bf14c725579.0 3So I would like to understand better the impact of this error, why it happens only in the background, and if there's something that we could do to avoid it.
To reproduce
I couldn’t reproduce it locally.
Expected behavior
Not having INVALID_RESPONSE_BODY, like it happens when the app is in the foreground.
SDK version
3.1.1
Language version, developer tools
Kotlin 1.5.31, building with AGP 7.0.4 and Gradle 7.1
Let me know if you need more information.
Thank you