hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Crawford <samcrawf...@gmail.com>
Subject Re: HttpCore NIO IOReactorException
Date Fri, 11 Jun 2010 12:20:31 GMT
Answered my own question...

I've checked the source, and it appears that the same issue affects
4.1 trunk as well.

Thanks,

Sam


On 11 June 2010 13:05, Sam Crawford <samcrawford@gmail.com> wrote:
> Okay, will do.
>
> Also, is it still worth trying the latest 4.0.x code? If so, is
> /httpcomponents/httpcore/branches/4.0.x the correct location for it in
> svn?
>
> Thanks,
>
> Sam
>
>
> On 11 June 2010 13:02, Oleg Kalnichevski <olegk@apache.org> wrote:
>> On Fri, 2010-06-11 at 12:25 +0100, Sam Crawford wrote:
>>> Well, that was quick. I can indeed reproduce it by sending an empty
>>> entity enclosing request to the server. The correct "Content-Length:
>>> 0" header is present, so I would have thought this is a valid request,
>>> no?
>>>
>>
>> Yes, the request is perfectly valid. Please raise a JIRA for this bug.
>>
>> Cheers
>>
>> Oleg
>>
>>
>>
>>>
>>> [sam@dev3 ~]$ curl -v -d "" https://proj.acmecorp.com/
>>> * About to connect() to proj.acmecorp.com port 443
>>> *   Trying 192.168.254.22... connected
>>> * Connected to proj.acmecorp.com (192.168.254.22) port 443
>>> * SSL certificate verify ok.
>>> > POST / HTTP/1.1
>>> > User-Agent: curl/7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b
zlib/1.2.3 libidn/0.6.5
>>> > Host: proj.acmecorp.com
>>> > Accept: */*
>>> > Content-Length: 0
>>> > Content-Type: application/x-www-form-urlencoded
>>> >
>>> (No response received)
>>>
>>>
>>> Exception is the same as before:
>>>
>>> INFO com.acmecorp.proj.http.HttpSSLServer: Connection open:
>>> [proj.acmecorp.com/192.168.254.22:47992]
>>> ERROR com.acmecorp.proj.http.HttpSSLServer: I/O error
>>> org.apache.http.nio.reactor.IOReactorException: I/O dispatch worker
>>> terminated abnormally
>>>         at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:326)
>>>         at com.acmecorp.proj.http.HttpSSLServer$1.run(HttpSSLServer.java:162)
>>> Caused by: java.lang.NullPointerException
>>>         at org.apache.http.nio.protocol.AsyncNHttpServiceHandler.inputReady(AsyncNHttpServiceHandler.java:317)
>>>         at org.apache.http.impl.nio.DefaultNHttpServerConnection.consumeInput(DefaultNHttpServerConnection.java:179)
>>>         at org.apache.http.impl.nio.SSLServerIOEventDispatch.inputReady(SSLServerIOEventDispatch.java:225)
>>>         at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:153)
>>>         at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:314)
>>>         at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:294)
>>>         at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:256)
>>>         at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:96)
>>>         at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:556)
>>>         at java.lang.Thread.run(Thread.java:619)
>>> INFO com.acmecorp.proj.http.HttpSSLServer: Shutdown HTTP server
>>>
>>>
>>> I'll try the latest 4.0.x trunk build now.
>>>
>>> Thanks,
>>>
>>> Sam
>>>
>>>
>>>
>>> On 11 June 2010 12:07, Oleg Kalnichevski <olegk@apache.org> wrote:
>>> > On Fri, 2010-06-11 at 11:46 +0100, Sam Crawford wrote:
>>> >> I should add that we're using HttpCore 4.01. The issue sounds similar
>>> >> to HTTPCORE-180.
>>> >>
>>> >> We're using the following JVM:
>>> >>
>>> >> java version "1.6.0_17"
>>> >> Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
>>> >> Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)
>>> >>
>>> >> Thanks,
>>> >>
>>> >> Sam
>>> >>
>>> >
>>> > I have been back-porting bug fixes to the 4.0.x branch. However, it
>>> > would be easier if you could use the latest snapshot off the trunk while
>>> > trying to pinpoint the cause of the problem.
>>> >
>>> > Oleg
>>> >
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
>>> > For additional commands, e-mail: httpclient-users-help@hc.apache.org
>>> >
>>> >
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
>>> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
>> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>>
>>
>

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


Mime
View raw message