hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sébastien Geindre <sebastien.gein...@meteo.fr>
Subject Re: socket time out
Date Thu, 06 Dec 2007 15:16:15 GMT
Roland Weber a écrit :
> Hello Sébastien,
>
> this doesn't look like a full trace to me:
>
>   
>> 2007-12-04 17:40:38,780 main TRACE methods.EntityEnclosingMethod - enter
>> EntityEnclosingMethod.hasRequestContent()
>> 2007-12-04 17:40:38,780 main TRACE httpclient.HttpConnection - enter
>> HttpConnection.getRequestOutputStream()
>>     
> (*)
>   
>> 2007-12-04 *17:40:48*,807 main DEBUG httpclient.HttpMethodDirector -
>> Closing the connection.
>> 2007-12-04 17:40:48,807 main TRACE httpclient.HttpConnection - enter
>> HttpConnection.close()
>> 2007-12-04 17:40:48,807 main TRACE httpclient.HttpConnection - enter
>> HttpConnection.closeSockedAndStreams()
>> 2007-12-04 17:40:48,808 main DEBUG transformer.WFSProxyHttpClient -
>> HttpMethodRetryHandler Exception : Broken pipe
>>     
>
> What's going on around (*)? Is the request body written correctly?
> Any IOExceptions? Feel free to remove actual data of the body, but
> please provide the parts of the log that tell us what's happening.
>   
no nothing between this 2 steps...no trace...
in fact in the code :
        OutputStream outstream = conn.getRequestOutputStream();
       
        if (contentLength < 0) {
            outstream = new ChunkedOutputStream(outstream);
        }
       
        requestEntity.writeRequest(outstream);

so it took time to write the request...
the post is an xml post of data, quite heavy...
646213  bytes of data, is too heavy ?
> cheers,
>   Roland
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>
>
>   


-- 
Sébastien Geindre
DPREVI/AERO/DEV
sebastien.geindre __at__ meteo.fr




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


Mime
View raw message