-
-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Version 3.1.0 always claims that response body is empty #203
Comments
Hey @NekroMancer |
I only bumped chucker update. And downgrading fixes the issue, so it must be version issue :) |
Thanks for a really fast feedback. @cortinico It is also might be the case for adding some other test requests into sample to catch such cases as well as add tests in code. |
As to size, -1 is returned by OkHttp if size is unknown. As to error - yeah, this happens with multiple interceptors. I am still struggling with the issue, so we might not be able to release an update today. P.S. thanks for a fast reply. Removed my request to you because also detected an issue with IllegalStateException |
Take your time, no pressure from me. Happy to test out new versions |
@NekroMancer It is me again. |
Ok, so on version 3.1.1: Response size is still -1 on some bodies, but as i understand that means that size is unknown.
|
Thanks. |
Sure I'll move it first thing tomorrow morning. Just a big json |
Funny enough - i cannot reproduce this on my work computer. Maybe that issue was caused by some version upgrade issue. Anyhow - so far it's working great (apart of -1 response size, but that's pretty minor inconvenience) |
Thanks for providing additional info. I wasn't able to reproduce as well by trying to get responses around 800 kb in size. |
📢 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
The text was updated successfully, but these errors were encountered: