Invalid signature: 0x8080014 when piping from HTTP
See original GitHub issueI am getting the following error when running node-unzip in combination with a http.get request, then piping it into node-unzip.
The code I use:
var extractor = unzip.Extract({path: tempPath});
extractor.on("close", function() {
log.debug("Done downloading "+file);
callback(null, file);
});
extractor.on("error", function (err) {
log.error(err);
callback(err, null);
});
http.get(url, function (res) {
res.pipe(extractor);
});
tempPath
is defined properly, and the said code works fine on Windows. Now, on my CentOS server, it outputs the error like this: invalid signature: 0x8080014
I’m 100% sure the XML file is valid, the exact file works on Windows.
Issue Analytics
- State:
- Created 9 years ago
- Comments:11
Top Results From Across the Web
unzip error [Error: invalid signature: 0xff000001] - Stack Overflow
pipe(extractor);. The problem that In some zip file Im getting the error (in others its works fine) [Error: invalid signature: 0x8080014] [ ...
Read more >Error "Invalid Signature" while downloading programs.
Click on "Advanced" tab. d. Scroll down to the Security section, check the Allow software to run or install even if the signature...
Read more >(node:90923) UnhandledPromiseRejectionWarning: Error ...
I'm trying to send a serialized transaction but got the following error: (node:90923) UnhandledPromiseRejectionWarning: Error: Returned error: ...
Read more >javascript - 要素 - php ページ タイトル 変更 - 入門サンプル
createReadStream(req.file.path).pipe(unzip. ... パッケージを必要とする、今問題は次のエラーunzipを取得しているIm:Error:invalid signature:0xff000001.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you @dvalentiate
Bad news: This repo appears to be abandoned. Good news: https://www.npmjs.com/package/unzip2 patches this problem and streaming of uncompressed zip content.
It comes down to the lines in
lib/parse.js:161
should be