[Android SDK] Network requests are being cut
complete
A
Alex Branti
We noticed that some network requests are being cut and it is not possible to check the full payload using Shake dashboard.
I wonder if this is a bug or if there is a maximum size allowed for network requests/responses supported by Shake dashboard.
Log In
Mislav Stanic
complete
Mislav Stanic
in progress
Mislav Stanic
open
Mislav Stanic
planned
M
Mislav Stanić
Hi Alex,
There is a limit for network request and response body. If the request or response body is larger than 5kb it will be cut off. We'll update the docs to make it clear.
Regards
A
Alex Branti
Mislav Stanić: Got it. Thank you!
A
Augusto Pedroza
Mislav Stanić: This is a deal breaker for us. In order to investigate certain issues we need the full response. Having the full response is more important than having 1000 entries in the log. I would like to discuss options to address this.
Mislav Stanic
Augusto Pedroza: Hi Augusto,
The Activity history is limited to 1000 events where each network request is up to 5kb per network request and response. Additionally, the total report size is limited to 5MB.
If that is important for you, we can consider increasing limits for network requests, but in that case, if limits are reached some other data from activity history will be excluded.
Just curious, what is your typical network request size?
I am open to your suggestions.
A
Augusto Pedroza
Mislav Stanic: The larger ones could get close to 100kb. The 5MB seems very reasonable but it would be nice to have a way to determine how much of that is allotted. In our case net responses are one of our most critical pieces of info so It would be great to have the option to prioritize responses over number of events.
A
Augusto Pedroza
Is there any way that we could have access to the full log before it is truncated? We might be able to post that to an S3 bucket for a more in-depth analysis.
Mislav Stanic
Augusto Pedroza: Thanks, we'll update network requests size limits and the way events are prioritized in the activity history.
Regarding the full logs - there is a way to get the full network requests but just on iOS SDK. You can register network requests filter and serialize network request object in the callback before data is trimmed.
A
Augusto Pedroza
Mislav Stanic: This is an issue in IOS as well and is becoming a blocker for us. Could you provide an ETA?
Mislav Stanic
Augusto Pedroza: Hi Augusto,
We'll make a quick update and increase the limit for request and response body to 100kB.
The release of new 15 SDK will be during next week.
Regards