[ 
https://issues.apache.org/jira/browse/NUTCH-1647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13861471#comment-13861471
 ] 

Markus Jelsma commented on NUTCH-1647:
--------------------------------------

Hmm http.redirect.max already works on the Fetcher level, not in protocol 
plugins. I don't think we should allow protocol impl's to automatically follow 
redirects.

> protocol-http throws unzipBestEffort returned null for some pages
> -----------------------------------------------------------------
>
>                 Key: NUTCH-1647
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1647
>             Project: Nutch
>          Issue Type: Bug
>          Components: protocol
>    Affects Versions: 1.7
>            Reporter: Markus Jelsma
>             Fix For: 1.8
>
>
> bin/nutch indexchecker 
> http://www.provinciegroningen.nl/actueel/dossiers/rwe-centrale  
> Fetch failed with protocol status: exception(16), lastModified=0: 
> java.io.IOException: unzipBestEffort returned null
> {code}
> 2013-10-01 13:44:55,612 INFO  http.Http - http.proxy.host = null
> 2013-10-01 13:44:55,612 INFO  http.Http - http.proxy.port = 8080
> 2013-10-01 13:44:55,612 INFO  http.Http - http.timeout = 12000
> 2013-10-01 13:44:55,612 INFO  http.Http - http.content.limit = 5242880
> 2013-10-01 13:44:55,612 INFO  http.Http - http.agent = Mozilla/5.0 
> (compatible; OpenindexSpider; 
> +http://www.openindex.io/en/webmasters/spider.html)
> 2013-10-01 13:44:55,612 INFO  http.Http - http.accept.language = 
> en-us,en-gb,en;q=0.7,*;q=0.3
> 2013-10-01 13:44:55,613 INFO  http.Http - http.accept = 
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> 2013-10-01 13:44:55,925 ERROR http.Http - Failed to get protocol output
> java.io.IOException: unzipBestEffort returned null
>         at 
> org.apache.nutch.protocol.http.api.HttpBase.processGzipEncoded(HttpBase.java:317)
>         at 
> org.apache.nutch.protocol.http.HttpResponse.<init>(HttpResponse.java:164)
>         at org.apache.nutch.protocol.http.Http.getResponse(Http.java:64)
>         at 
> org.apache.nutch.protocol.http.api.HttpBase.getProtocolOutput(HttpBase.java:140)
>         at 
> org.apache.nutch.indexer.IndexingFiltersChecker.run(IndexingFiltersChecker.java:86)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>         at 
> org.apache.nutch.indexer.IndexingFiltersChecker.main(IndexingFiltersChecker.java:150)
> {code}
> Haven't got a clue yet as to what the exact issue is.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to