confuciussayuhm

Results 12 comments of confuciussayuhm

Getting the same error. Here's the full error trace: ``` Process exited with code 1 Uncaught Error Error: Error: incorrect header check at (/home/me/opt/me/me.js:385:22) at zlibBufferOnError (zlib:146:8) at emit (events:513:28)...

You might find [this relevant](https://commandlinefanatic.com/cgi-bin/showarticle.cgi?article=art053). The header bytes starting in buffer1 should start with `1f` `8b` for the payload to be valid gzip. Furthermore, there are various bytes that follow...

The response decodes! Party! Something strange though (and perhaps I'm just doing a stupid), the last response passes through `transparent-proxy` to the client before hitting the zlib.gunzip() function. Here is...

Facepalm. Thanks. I've used `zlib.gunzipSync()` instead. Got a new error: ``` Error: invalid stored block lengths at Zlib.zlibOnError [as onerror] (/home/me/opt/me/lib/zlib.js:189:17) at Zlib.callbackTrampoline (/home/me/opt/me/lib/internal/async_hooks.js:130:17) at processChunkSync (/home/me/opt/me/lib/zlib.js:457:12) at zlibBufferSync (/home/me/opt/me/lib/zlib.js:178:12)...

I've given the new version a go. Got a new error: ``` Error: unexpected end of file at Zlib.zlibOnError [as onerror] (/home/me/opt/me/lib/zlib.js:189:17) at Zlib.callbackTrampoline (/home/me/opt/me/lib/internal/async_hooks.js:130:17) at processChunkSync (/home/me/opt/me/lib/zlib.js:457:12) at zlibBufferSync...

Ok. The error occurs on the second line when receiving a "large" response from the server: ``` const zlib = require("zlib"); session._response.body = zlib.gunzipSync(session.rawResponse).toString(); ```

Howzit @gr3p1p3. I need to build a PoC that serves the same chunked server response to you that I am getting so you can debug. You've put some fire under...

Howzit @gr3p1p3. I'm back at this again. I see the error I am getting is back to the `Z_DATA_ERROR`: ``` Error: incorrect header check at Zlib.zlibOnError [as onerror] (/home/bob/opt/splat/lib/zlib.js:189:17) at...

I get a crash on `HttpMirro.js:113` with the following: ``` Process exited with code 1 Uncaught Error Error: connect ECONNRESET ::1:35777 at __node_internal_captureLargerStackTrace (internal/errors:491:5) at __node_internal_exceptionWithHostPort (internal/errors:669:12) at afterConnect (net:1481:16)...