This is a migrated thread and some comments may be shown as answers.

Decompress gzip content removes the content

5 Answers 578 Views
Windows
This is a migrated thread and some comments may be shown as answers.
M
Top achievements
Rank 1
M asked on 20 Oct 2014, 12:35 PM
Hi Eric -- Thx a lot for a great product and I have been using this close to a decade. 

I have seen this issue and I thought try to figure out what's going on, is this a bug or a somekind of security feature that this page invented (sorry this shows up in one of the application and am not able to get you the direct url, so I thought capture it -- but I can save the response if you want). Thx.


http://screencast.com/t/zimnTCx2V

5 Answers, 1 is accepted

Sort by
0
Eric Lawrence
Telerik team
answered on 20 Oct 2014, 03:30 PM
Cool! This looks like a bug in Fiddler's decompression code or a 3rd party library; I'd love to have a look and fix it. Please use File > Save Session Archive to save the session that exhibits this behavior, and attach the .SAZ file to an email you send to me using Help > Send Feedback.

thanks a bunch!

Eric Lawrence
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Kurt
Top achievements
Rank 1
answered on 11 Oct 2016, 09:54 PM

Hey, Eric

I'm having a similar problem with a specific website.   The web request is proprietary (API) and includes client credentials so I can't really post it here.

When I send the request to the url via a .NET application, it communicates fine, receives the result and displays it to me without any issue.  However when I attempt to view the response data through Fiddler, I am prompted with the following message:

"Fiddler: UnGZip failed

The content could not be decompressed.

The magic number in GZip header is not correct. Make sure you are passing in a GZip stream"

This is on latest version of Fiddler (4.6.2.32002).

I have talked to the developer of the website, and they have suggested they are setting some headers improperly, but aren't sure how to fix on their end.  I'm not sure what the issue is exactly.  Is there a way to "relax" the error checking on the GZip in the same way that allows .NET and web browsers to load the content fine without any errors?

Thanks!

~ Kurt

0
zohaib
Top achievements
Rank 1
answered on 16 Aug 2019, 11:48 AM

The content could not be decompressed.
The magic number in GZip header is not correct. make sure you passing ini a GZip stream.

 

Any solution of this problem ? 


0
Eric R | Senior Technical Support Engineer
Telerik team
answered on 21 Aug 2019, 01:50 PM
Hi Zohaib,

It looks like this may be something with the headers or compression on the server. I recommend using Gzip Test to verify that everything is properly configured. 

Please give this a try and let me know the results. Thank you and I look forward to your reply.

Regards,

Eric R | Technical Support Engineer
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Doc
Top achievements
Rank 1
Iron
answered on 17 May 2021, 12:06 PM | edited on 17 May 2021, 12:42 PM

Any news on this?

The error "the magic number in the GZIP header is incorrect" is still present for requests. gzip ist correct.

But if I drag and drop it to the composer, it works.

What ist the difference? Can I call the composer decompress/decode functions within fiddler script?

Thanks in advance!
doc

Nick Iliev
Telerik team
commented on 18 May 2021, 07:31 AM

Hey Doc BT,

 

Would it be possible to share the session that contains the request with the failing GZIP?

Tags
Windows
Asked by
M
Top achievements
Rank 1
Answers by
Eric Lawrence
Telerik team
Kurt
Top achievements
Rank 1
zohaib
Top achievements
Rank 1
Eric R | Senior Technical Support Engineer
Telerik team
Doc
Top achievements
Rank 1
Iron
Share this question
or