Payload size isn't correct for some transactions
See original GitHub issue📢 Describe the bug
Some transactions show payload size as -1
. It is totally fine, since OkHttp returns this value in case the size is unknown. However, when I wanted to handle this value in Chucker UI I decided to check what other network interceptors show and found out that Stetho show sizes for transactions, which show -1
in Chucker.
🔧 Expected behavior
Transactions show actual size instead of -1
.
📷 Screenshots
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Deep Dive: Lambda's Response Payload Size Limit (1/2)
Everything you should know about Lambda's response payload size limit, ResponseSizeTooLarge errors, and how API Gateway fits in.
Read more >Max number of assets and max size of payload in single ...
I have millions of assets, ingesting into Fabric network. Maximum assets(Key-Value) can be added into the single transaction are 1000(Correct if ...
Read more >Tracking Very Large Transactions With Google Analytics and ...
We do this by breaking the transaction into chunks, then changing the data very slightly between hits. Unfortunately, this approach has some ...
Read more >Missing Google Analytics Transactions? Here are the solutions
Learn how to identify and fix missing Google Analytics transactions. Some tips involve Google Tag Manager, others -- developers.
Read more >Dual-write limits for live synchronization - Finance & Operations
A payload size limit on Dataverse limits the number of records that can be transferred. The limit is 116.85 megabytes (MB) per transaction....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Great. As discussed above we’re probably going to decouple the
Content-Length
to the actual payload size in two different fields.I was thinking about this feature lately and see couple of things that could be done.
Content-Length
is available Chucker could just use this value to determine the size of the response.Content-Length
is not available Chucker could wait for the response to be read in aTeeSource
and be informed about bytes read once upstream is depleted. The problem occurs if the consumer does not read bytes fully like reported in #287. In this case there is no way of knowing what would be the size of the response.Content-Length
or fromTeeSource
if exhausted). It would require some UI changes on most of the screens.8 kB
,16 kB
,24 kB
and so on. Not really sure if there is a need for this. It would also require some UI changes.