hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Moved] (HTTPCORE-353) Http Client may throw an IllegalArgumentException with certain cookies
Date Thu, 03 Oct 2013 07:43:42 GMT

     [ https://issues.apache.org/jira/browse/HTTPCORE-353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oleg Kalnichevski moved HTTPCLIENT-1411 to HTTPCORE-353:
--------------------------------------------------------

          Component/s:     (was: HttpClient)
                       HttpCore
    Affects Version/s:     (was: 4.3 Final)
                       4.3
             Workflow: classic default workflow  (was: Default workflow, editable Closed status)
                  Key: HTTPCORE-353  (was: HTTPCLIENT-1411)
              Project: HttpComponents HttpCore  (was: HttpComponents HttpClient)

> Http Client may throw an IllegalArgumentException with certain cookies
> ----------------------------------------------------------------------
>
>                 Key: HTTPCORE-353
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-353
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>          Components: HttpCore
>    Affects Versions: 4.3
>            Reporter: Sebastiano Vigna
>            Priority: Minor
>
> During a crawl of the EU web we got this exception:
> 2013-10-03 00:06:16,495 26567121 ERROR [FetchingThread-1927] i.u.d.l.b.f.FetchingThread
- Unexpected exception
> java.lang.IllegalArgumentException: Host may not be blank
>         at org.apache.http.util.Args.notBlank(Args.java:68) ~[httpcore.jar:4.3]
>         at org.apache.http.cookie.CookieOrigin.<init>(CookieOrigin.java:50) ~[httpclient.jar:4.3]
>         at org.apache.http.client.protocol.RequestAddCookies.process(RequestAddCookies.java:141)
~[httpclient.jar:4.3]
>         at org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:131)
~[httpcore.jar:4.3]
>         at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:192)
~[httpclient.jar:4.3]
>         at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:85) ~[httpclient.jar:4.3]
>         at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
~[httpclient.jar:4.3]
>         at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186)
~[httpclient.jar:4.3]
>         at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)
~[httpclient.jar:4.3]
>         at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:214)
~[httpclient.jar:4.3]
>         at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:185)
~[httpclient.jar:4.3]
>         at it.unimi.di.law.bubing.util.FetchData.fetch(FetchData.java:308) ~[bubing-2.1.jar:na]
> Apparently some poisoned Cookie caused a mistake in the parsing process. Unfortunately
due to the level of logging we are using we have no way to know which Cookie caused the problem,
but maybe this rings a bell.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message