Hi,
It looks like the server just terminated the connection without returning HTTP
response, but not with timeout. You may want to check raw server response by
telnet or something.
Thanks,
Tomo
On 02/22/2017 11:29 PM, ishant_ag wrote:
Hi All,
I am getting the following exception after 10 seconds of execution of the
http request. But I have used httpClient.socketTimeout=60000, and
httpClient.connectTimeout=60000 in my url. So can anyone please suggest me
which timeout variable should I use and change its value, so that I don't
get this exception after 10 seconds .
Or it could be that the server I am hitting is closing the http connection
after 10 seconds ????
Camel HTTP exception with message order-update:8099 failed to respond
org.apache.http.NoHttpResponseException: order-update:8099 failed to respond
at
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:143)
at
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
at
org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)
at
org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)
at
org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)
at
org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)
at
org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)
at
org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)
at
org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
at
org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
at
org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at
org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
--
View this message in context:
http://camel.465427.n5.nabble.com/using-apache-camel-org-apache-http-NoHttpResponseException-after-10-seconds-of-request-tp5794285.html
Sent from the Camel - Users mailing list archive at Nabble.com.