On Fri, 2011-04-01 at 08:51 -0700, Pololang wrote:
> Hi all :-),
> 
> I'm using HttpClient 4.1.1 with HttpCore 4.1, for a HTTPS request with
> client certificate stored inside a Java Keystore.
> The application runs with JBoss 5 and Spring 3.
> It works on my developpement computer (Windows), but not on my Red Hat
> Server.
> It looks like the connection is closed by the server after the GET is sent.
> 
> When I execute the code inside a standalone jar it works on both systems.
> When I execute curl request it works on both systems.
> 
> 
> Logs from Red Hat Server:

...

>  2011-03-18
> 11:06:15,024,DEBUG,[org.apache.http.impl.client.ContentEncodingHttpClient],The
> target server failed to respond
>  org.apache.http.NoHttpResponseException: The target server failed to
> respond
>       

This can be basically anything: SSL problem, server side bug, little
green men from Mars hiding in your server room. There is just no way to
tell for sure given that the server simply dropped connection instead of
returning a meaningful error code.

At any rate this does not look like a problem with HttpClient

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to