You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tika.apache.org by raghu vittal <rr...@live.com> on 2016/03/01 07:40:51 UTC

Unable to extract content from 250 MB document giving me TikaException: "Zip bomb detected!"

Hi All,


I am using Tika server REST api to extract the content from large files.


I was able to extract the content  up to 100 MB files. when i try to send files more than 100 MB giving me "Zip bomb detected" Tika exception.


I tried three ways of sending the file to tika


1. multipart/form-data http://localhost:9998/tika/form<http://localhost:9998/tika/form";>

2. zip stream http://localhost:9998/unpack/all

3. tika string <http://localhost:9998/unpack/all> http://localhost:9998/tika


with all these three options i am getting the same exception.


i am working on .NET project and using HTTPClient to send request to Tika server.

Even i tried setting large timeouts for HTTPClient but no luck. any help would be much appreciated.



Regards,

Raghu.

Re: Unable to extract content from 250 MB document giving me TikaException: "Zip bomb detected!"

Posted by raghu vittal <rr...@live.com>.
Hi All,

I don't see any suggestions.please help me solve this zip bomb issue.

Regards,
Raghu.

________________________________
From: raghu vittal <rr...@live.com>
Sent: Tuesday, March 1, 2016 12:10 PM
To: user@tika.apache.org
Subject: Unable to extract content from 250 MB document giving me TikaException: "Zip bomb detected!"


Hi All,


I am using Tika server REST api to extract the content from large files.


I was able to extract the content  up to 100 MB files. when i try to send files more than 100 MB giving me "Zip bomb detected" Tika exception.


I tried three ways of sending the file to tika


1. multipart/form-data http://localhost:9998/tika/form<http://localhost:9998/tika/form";>

2. zip stream http://localhost:9998/unpack/all

3. tika string <http://localhost:9998/unpack/all> http://localhost:9998/tika


with all these three options i am getting the same exception.


i am working on .NET project and using HTTPClient to send request to Tika server.

Even i tried setting large timeouts for HTTPClient but no luck. any help would be much appreciated.



Regards,

Raghu.