unknown error

Post Reply
cpm18
Posts: 39
Joined: Mon Apr 13, 2009 3:21 pm

unknown error

Post by cpm18 »

What does the following error mean?

58: Cannot decode deflate data via zlib: incorrect header check in the function TXzlibTranslate
is invalid

The page I had fetched seems to have problems when <urlcp httpversion 1.1> is set. When it is set to 1.0 there is no problems.

I am just curious about this because generally I have found some pages which are problematic when fetched with 1.0 set. Setting to 1.1 usually solved those problems. Perhaps it was just a fluke, but I haden't yet seen any cases where 1.0 worked better then 1.1.
User avatar
Kai
Site Admin
Posts: 1272
Joined: Tue Apr 25, 2000 1:27 pm

unknown error

Post by Kai »

The error could indicate problems with the source data, or a problem with how <fetch> is dealing with it. Is it a public URL that you can list (mark private if needed, or open a tech support ticket). We'd need to reproduce it to diagnose further.
cpm18
Posts: 39
Joined: Mon Apr 13, 2009 3:21 pm

unknown error

Post by cpm18 »

User avatar
Kai
Site Admin
Posts: 1272
Joined: Tue Apr 25, 2000 1:27 pm

unknown error

Post by Kai »

Yes, I get your message #1 error on that URL. Contact support at Thunderstone (link above); this appears to be an issue with the deflate decoder in <fetch>.
User avatar
Kai
Site Admin
Posts: 1272
Joined: Tue Apr 25, 2000 1:27 pm

unknown error

Post by Kai »

Turns out it is actually an issue with the web server not being 100% in line with the HTTP/1.1 spec for the deflate encoding. But it also appears to be a common "violation" on the web, so we're adapting <fetch> to it.

In the meantime, a workaround is to disable the deflate decoder in <fetch>, so that the web server will have to choose another encoding:

<urlcp encodings del deflate>
Post Reply