[GH-ISSUE #1453] Large json response shows as binary #1447

Open
opened 2026-03-03 19:51:36 +03:00 by kerem · 7 comments
Owner

Originally created by @stodirascu on GitHub (Dec 2, 2022).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1453

Originally assigned to: @NghiaTranUIT on GitHub.

Description

I have a certain request for which I can't preview the response in Proxyman. I'm attaching the raw request/response pairs in case that helps (the binary data itself is omitted). I'm assuming it's due to the json size (68kb), because for smaller jsons on the same endpoint, I can preview the response.

Big-JSON-request.zip

Environment

  • App version: Proxyman 3.14.0
  • macOS version: macOS Monterey 12.6
Originally created by @stodirascu on GitHub (Dec 2, 2022). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1453 Originally assigned to: @NghiaTranUIT on GitHub. ## Description I have a certain request for which I can't preview the response in Proxyman. I'm attaching the raw request/response pairs in case that helps (the binary data itself is omitted). I'm assuming it's due to the json size (68kb), because for smaller jsons on the same endpoint, I can preview the response. [Big-JSON-request.zip](https://github.com/ProxymanApp/Proxyman/files/10142307/Big-JSON.zip) ## Environment - App version: Proxyman 3.14.0 - macOS version: macOS Monterey 12.6
Author
Owner

@NghiaTranUIT commented on GitHub (Dec 2, 2022):

Hey @stodirascu can you export as ProxymanLogV2 and share with me via support@proxyman.io

The log you've sent doesn't contain the actual body, so I could not reproduce it.

<!-- gh-comment-id:1335434416 --> @NghiaTranUIT commented on GitHub (Dec 2, 2022): Hey @stodirascu can you export as ProxymanLogV2 and share with me via support@proxyman.io The log you've sent doesn't contain the actual body, so I could not reproduce it.
Author
Owner

@stodirascu commented on GitHub (Dec 2, 2022):

Sure thing.

<!-- gh-comment-id:1335442256 --> @stodirascu commented on GitHub (Dec 2, 2022): Sure thing.
Author
Owner

@NghiaTranUIT commented on GitHub (Dec 3, 2022):

@stodirascu let's use this Beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_3.14.0_Fix_br_content_encoding.dmg

<!-- gh-comment-id:1336178544 --> @NghiaTranUIT commented on GitHub (Dec 3, 2022): @stodirascu let's use this Beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_3.14.0_Fix_br_content_encoding.dmg
Author
Owner

@stodirascu commented on GitHub (Dec 4, 2022):

Works 🙌
Thanks for your quick turnaround, Noah!
P.S. Keep building this awesome product

<!-- gh-comment-id:1336366141 --> @stodirascu commented on GitHub (Dec 4, 2022): Works 🙌 Thanks for your quick turnaround, Noah! P.S. Keep building this awesome product
Author
Owner

@cstrouse commented on GitHub (Dec 8, 2022):

I was having similar issues with 1MB responses and this fixed it. Thanks.

<!-- gh-comment-id:1342595358 --> @cstrouse commented on GitHub (Dec 8, 2022): I was having similar issues with 1MB responses and this fixed it. Thanks.
Author
Owner

@SpacyRicochet commented on GitHub (Dec 25, 2022):

I wanted to chime in that this beta works for my case as well, though that's with HTML. ❤️

Weirdly enough, I have one site that renders as binary, even though it's HTML (a parser I wrote still works fine). However, an equivalent site for another client, renders as HTML as expected. Weirdly enough, the latter is a lot larger than the incorrect one. I wonder what causes that… large response size doesn't seem to be it 🤔

But, it is solved with the new beta. Just dropping this here to add test cases and coverage if necessary.

<!-- gh-comment-id:1364660684 --> @SpacyRicochet commented on GitHub (Dec 25, 2022): I wanted to chime in that this beta works for my case as well, though that's with HTML. ❤️ Weirdly enough, I have one site that renders as binary, even though it's HTML (a parser I wrote still works fine). However, an equivalent site for another client, renders as HTML as expected. Weirdly enough, the latter is a lot larger than the incorrect one. I wonder what causes that… large response size doesn't seem to be it 🤔 * renders incorrectly as binary; [www.mijnafvalwijzer.nl_12-25-2022-11-39-28.proxymanlogv2.zip](https://github.com/ProxymanApp/Proxyman/files/10299757/www.mijnafvalwijzer.nl_12-25-2022-11-39-28.proxymanlogv2.zip) * renders correctly as html; [afvalkalender.rova.nl_12-25-2022-11-40-37.proxymanlogv2.zip](https://github.com/ProxymanApp/Proxyman/files/10299759/afvalkalender.rova.nl_12-25-2022-11-40-37.proxymanlogv2.zip) But, it is solved with the new beta. Just dropping this here to add test cases and coverage if necessary.
Author
Owner

@NghiaTranUIT commented on GitHub (Dec 27, 2022):

Thank @SpacyRicochet. I will add a Unit Test with your file 👍

<!-- gh-comment-id:1365545948 --> @NghiaTranUIT commented on GitHub (Dec 27, 2022): Thank @SpacyRicochet. I will add a Unit Test with your file 👍
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#1447
No description provided.