📢 Describe the bug
After upgrading chucker to version 3.1.0 every single response shows 0 byte size and null body. In app everything works as expected. Downgrading to 3.0.1 fixes the issue
💣 To Reproduce
Do some api request. Go to chucker and click on it. Request is properly shown, but response body is "null". Response size is always 0 bytes"
🔧 Expected behavior
Body should be always properly shown.
📷 Screenshots


📱 Smartphone
- Device: Android Emulator
- OS: Android 9
- Lib version: 3.1.0
📄 Additional context
Whole request copied as text:
URL: <redacted>
Method: GET
Protocol: http/1.1
Status: Complete
Response: 200 OK
SSL: Yes
Request time: Fri Jan 24 10:58:58 GMT+01:00 2020
Response time: Fri Jan 24 10:58:58 GMT+01:00 2020
Duration: 67 ms
Request size: 0 B
Response size: 0 B
Total size: 0 B
---------- Request ----------
appInstallId: cc5a34e6-9ccf-46d4-9297-04f74a18355e
User-Agent: Android: 1.0.7-rc-dbg-dev (5) ; debug ; debuggableDev
Device-Name: AOSP On IA Emulator
HMAC: 6a2b11
Authorization: Bearer <token here>
---------- Response ----------
content-type: application/json; charset=utf-8
vary: Accept-Encoding
server: envoy
api-supported-versions: 1.0
date: Fri, 24 Jan 2020 09:58:56 GMT
x-envoy-upstream-service-time: 22
null
My chucker setup is fairly typical:
// setup collector
val chuckerCollector = ChuckerCollector(
context = applicationContext,
showNotification = false,
retentionPeriod = RetentionManager.Period.ONE_DAY
)
// adding interceptor
builder.addInterceptor(
ChuckerInterceptor(
context,
collector = chuckerCollector
)
)
I have quite a few interceptors along the way. ChuckerInterceptor is almost last in the chain, after it there is only RetryInterceptor
📢 Describe the bug
After upgrading chucker to version 3.1.0 every single response shows 0 byte size and null body. In app everything works as expected. Downgrading to 3.0.1 fixes the issue
💣 To Reproduce
Do some api request. Go to chucker and click on it. Request is properly shown, but response body is "null". Response size is always 0 bytes"
🔧 Expected behavior
Body should be always properly shown.
📷 Screenshots
📱 Smartphone
📄 Additional context
Whole request copied as text:
My chucker setup is fairly typical:
I have quite a few interceptors along the way. ChuckerInterceptor is almost last in the chain, after it there is only
RetryInterceptor