NoHttpResponseException in httpclient 4.5.4

2019-08-06 Thread Khare, Aparna
We are using httpclient 4.5.4 and httpcore 4.4.9 We are getting this error .. Any idea would help org.apache.http.NoHttpResponseException: saaa:443 failed to respond at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:141) at org.apache.http.impl.con

Re: Issue with Proxy / keep alive , getting NoHttpResponseException after a failed request

2018-12-18 Thread Philippe Mouawad
Hello Oleg, Thanks for your help, I confirm it works. So issue would be in JMeter Recorder. Thanks On Tue, Dec 18, 2018 at 2:53 PM Oleg Kalnichevski wrote: > On Tue, 2018-12-18 at 14:13 +0100, Philippe Mouawad wrote: > > Hello, > > We face a bug in JMeter when : > > > >- using proxy > >

Re: Issue with Proxy / keep alive , getting NoHttpResponseException after a failed request

2018-12-18 Thread Oleg Kalnichevski
On Tue, 2018-12-18 at 14:13 +0100, Philippe Mouawad wrote: > Hello, > We face a bug in JMeter when : > >- using proxy >- and using POST method which leads to a 404 >- The first request leads as expected to a 404 results >- BUT (bug is here) the second one triggers a >org.apache

Issue with Proxy / keep alive , getting NoHttpResponseException after a failed request

2018-12-18 Thread Philippe Mouawad
Hello, We face a bug in JMeter when : - using proxy - and using POST method which leads to a 404 - The first request leads as expected to a 404 results - BUT (bug is here) the second one triggers a org.apache.http.NoHttpResponseException: jmeter.apache.org:80 failed to respond B

Re: NoHttpResponseException in the async client

2016-11-12 Thread Oleg Kalnichevski
On Thu, 2016-11-10 at 11:31 +0100, Joan Balagueró - ventusproxy wrote: > Hello, > > We have replaced the httpclient by the async client in our application. > Everything works fine, but the ‘NoHttpResponseException’ has disappeared > from our error statistics reports. So, or wit

NoHttpResponseException in the async client

2016-11-11 Thread Joan Balagueró - ventusproxy
Hello, We have replaced the httpclient by the async client in our application. Everything works fine, but the ‘NoHttpResponseException’ has disappeared from our error statistics reports. So, or with the new async pool this error does not occur for some reason (that I don’t know) or we are not

NoHttpResponseException in the async client

2016-11-10 Thread Joan Balagueró
Hello, We have replaced the httpclient by the async client in our application. Everything works fine, but the ‘NoHttpResponseException’ has disappeared from our error statistics reports. So, or with the new async pool this error does not occur for some reason (that I don’t know) or we are not

Re: NoHttpResponseException Timer?

2016-11-10 Thread Oleg Kalnichevski
ould apply. Oleg > Thanks > > On 8 November 2016 at 07:35, Oleg Kalnichevski wrote: > > > On November 7, 2016 9:16:19 PM GMT+01:00, Murat Balkan > > wrote: > > >Hi, > > > > > >Which timer does the NoHttpResponseException use? My socket timeout

Re: NoHttpResponseException Timer?

2016-11-08 Thread Murat Balkan
; wrote: > >Hi, > > > >Which timer does the NoHttpResponseException use? My socket timeout is > >set > >around 30 and connection timeout is set to 20. However, I see that in > >some > >cases, this exception is thrown after more than 50 seconds. > > >

Re: NoHttpResponseException Timer?

2016-11-08 Thread Oleg Kalnichevski
On November 7, 2016 9:16:19 PM GMT+01:00, Murat Balkan wrote: >Hi, > >Which timer does the NoHttpResponseException use? My socket timeout is >set >around 30 and connection timeout is set to 20. However, I see that in >some >cases, this exception is thrown after more than 50

NoHttpResponseException Timer?

2016-11-07 Thread Murat Balkan
Hi, Which timer does the NoHttpResponseException use? My socket timeout is set around 30 and connection timeout is set to 20. However, I see that in some cases, this exception is thrown after more than 50 seconds. Is there a timeout for org.apache.http.NoHttpResponseException? Thanks Murat

Re: NoHttpResponseException received at startup

2016-05-06 Thread Pete Keyes
barely >>complete >> within 5ms. >> >> >> Any thoughts on how to stabilize this a bit at startup? Or glean more >> information about why apache-hc would fail with NoHttpResponseException >>so >> quickly. > >The best course of action would be

Re: NoHttpResponseException received at startup

2016-05-06 Thread Oleg Kalnichevski
on settings for CloseableHttpClient a failure within > 5ms seems unlikely. The trip to the F5 VIP and back would barely complete > within 5ms. > > > Any thoughts on how to stabilize this a bit at startup? Or glean more > information about why apache-hc would fail with NoHttpResponseEx

Re: NoHttpResponseException received at startup

2016-05-05 Thread Pete Keyes
the F5 VIP and back would barely complete within 5ms. Any thoughts on how to stabilize this a bit at startup? Or glean more information about why apache-hc would fail with NoHttpResponseException so quickly. Stack trace for the error: org.apache.http.NoHttpResponseException: crm-asp

NoHttpResponseException received at startup

2016-05-04 Thread Pete Keyes
We have an odd issue wherein at Tomcat(TomEE) startup apache-hc execution requests throw a NoHttpResponseException within less than 1 second. After a few minutes this behavior completely stops and isn’t seen again until the next time we stop and restart Tomcat(TomEE). Basic apache-hc

Re: Do I need to worry about NoHttpResponseException?

2015-07-31 Thread Oleg Kalnichevski
k) I am assured that the server never > got my message. If I get a NoHttpResponseException, I don't know anything. > > Are these statements correct: > > If I send a message to buy an airline ticket, and I get a Connection Refused > message, I need to re-send the message. Sin

RE: Do I need to worry about NoHttpResponseException?

2015-07-29 Thread Mark A. Claassen
> Only idempotent methods are safe to retry regardless of the type of i/o error. Maybe I am using "idempotent" more loosely than I should. If I get a Connection Refused error, than (I think) I am assured that the server never got my message. If I get a NoHttpResponseException,

Re: Do I need to worry about NoHttpResponseException?

2015-07-29 Thread Oleg Kalnichevski
st before > the 5 seconds is up. Then, the server closes the connection as it is on the > way and an error occurs. If this is the case, would I be safe to retry that > request? > > However, the name "NoHttpResponseException" seems to imply that the server > m

RE: Do I need to worry about NoHttpResponseException?

2015-07-28 Thread Mark A. Claassen
it is on the way and an error occurs. If this is the case, would I be safe to retry that request? However, the name "NoHttpResponseException" seems to imply that the server may have received the request, but the response cannot be read. That would imply that I would NOT

Re: Do I need to worry about NoHttpResponseException?

2015-07-14 Thread Stefan Magnus Landrø
Sendt fra min iPhone > Den 13. jul. 2015 kl. 22.30 skrev Check Peck : > > I see. Do I need to worry about this error I would. I would check server logs at relevant times. > and how can I avoid this error. Fix your server so it performs consistently or fix the fw config so it allows long li

Re: Do I need to worry about NoHttpResponseException?

2015-07-13 Thread Check Peck
I see. Do I need to worry about this error and how can I avoid this error. Any idea? On Mon, Jul 13, 2015 at 1:56 AM, Stefan Magnus Landrø < stefan.lan...@gmail.com> wrote: > Your server is overloaded or persistent connections got shutdown by a fw > > Sendt fra min iPhone > > > Den 13. jul. 2015

Re: Do I need to worry about NoHttpResponseException?

2015-07-13 Thread Stefan Magnus Landrø
Your server is overloaded or persistent connections got shutdown by a fw Sendt fra min iPhone > Den 13. jul. 2015 kl. 09.58 skrev Check Peck : > > Does anyone have any idea on this? > >> On Sat, Jul 11, 2015 at 6:24 PM, Check Peck wrote: >> >> I am using Apache HttpClient 4.5 version in my l

Re: Do I need to worry about NoHttpResponseException?

2015-07-13 Thread Check Peck
Does anyone have any idea on this? On Sat, Jul 11, 2015 at 6:24 PM, Check Peck wrote: > I am using Apache HttpClient 4.5 version in my library and I am seeing > below exception coming up always: I am not sure from where this exception > is coming. > > I/O exception (org.apache.http.NoHttpRes

Do I need to worry about NoHttpResponseException?

2015-07-11 Thread Check Peck
I am using Apache HttpClient 4.5 version in my library and I am seeing below exception coming up always: I am not sure from where this exception is coming. I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {}->http://machineA:8080: The target server fail

Re: NoHttpResponseException: :443 failed to respond

2015-07-01 Thread Stefan Magnus Landrø
> > > From: Oleg Kalnichevski > > To: HttpClient User Discussion > > Cc: Preethi Ghalke/India/IBM@IBMIN > > Date: 07/01/2015 04:28 PM > > Subject: Re: NoHttpResponseException: :443 failed to respond > > > > > > > > _

Re: NoHttpResponseException: :443 failed to respond

2015-07-01 Thread Oleg Kalnichevski
, Ravi C Chamarthy wrote: > Hi All, > > From: Oleg Kalnichevski > To: HttpClient User Discussion > Cc: Preethi Ghalke/India/IBM@IBMIN > Date: 07/01/2015 04:28 PM > Subject: Re: NoHttpResponseException: :443 failed to respond > > > >

Re: NoHttpResponseException: :443 failed to respond

2015-07-01 Thread Ravi C Chamarthy
: 07/01/2015 04:28 PM Subject:Re: NoHttpResponseException: :443 failed to respond On Wed, 2015-07-01 at 07:12 +0530, Ravi C Chamarthy wrote: > Hi All, > > We are currently using Apache HTTPClient 4.3.6 and are running into > the following issue intermittently: > I see simil

Re: NoHttpResponseException: :443 failed to respond

2015-07-01 Thread Oleg Kalnichevski
On Wed, 2015-07-01 at 07:12 +0530, Ravi C Chamarthy wrote: > Hi All, > > We are currently using Apache HTTPClient 4.3.6 and are running into > the following issue intermittently: > I see similar issue logged at > https://issues.apache.org/jira/browse/HTTPCLIENT-1610 and closed as > fixed in 4.4.1.

Re: NoHttpResponseException: :443 failed to respond

2015-07-01 Thread Michael Osipov
Hi, please do not use HTML mails! > We are currently using Apache HTTPClient 4.3.6 and are running into the > following issue intermittently: > I see similar issue logged at > https://issues.apache.org/jira/browse/HTTPCLIENT-1610 and closed as fixed in > 4.4.1. > We are at point of our beta re

NoHttpResponseException: :443 failed to respond

2015-06-30 Thread Ravi C Chamarthy
Hi All, We are currently using Apache HTTPClient 4.3.6 and are running into the following issue intermittently: I see similar issue logged at https://issues.apache.org/jira/browse/HTTPCLIENT-1610 and closed as fixed in 4.4.1. We are at point of our beta release where we cannot just yet upgrade t

Re: NoHttpResponseException

2015-02-18 Thread Oleg Kalnichevski
anceof UnknownHostException) || (exception instanceof ConnectException) > || (exception instanceof SSLException) ) return false; > > > > return (!(HttpClientContext.adapt(context).getRequest() instanceof > HttpEntityEnclosingRequest)); > > } > > } > > >

NoHttpResponseException

2015-02-17 Thread Joan Balagueró
Hello, I’m occassionally getting the following error (HC 4.3.4) There was no reply from the server org.apache.http.NoHttpResponseException: 10.150.3.159:80 failed to respond at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpRes ponseParser.java:143)

NoHttpResponseException , Retry and Keepalive

2011-10-13 Thread Vadheraju, Rajeshwar
We are currently using HttpClient 3.1 and running into NoHttpResponseException (server failed to respond), Connection Reset errors under load. One of the solutions, I found searching use list is to "Retry" the request. I reviewed Default Retry Handler code in version 3.1 and 4.1 and

Re: ContentEncodingHttpClient throws NoHttpResponseException

2011-04-26 Thread Pololang
; At any rate this does not look like a problem with HttpClient > > Oleg > > -- View this message in context: http://old.nabble.com/ContentEncodingHttpClient-throws-NoHttpResponseException-tp31296663p31477913.html Sent from the HttpCl

Re: ContentEncodingHttpClient throws NoHttpResponseException

2011-04-02 Thread Oleg Kalnichevski
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 n

ContentEncodingHttpClient throws NoHttpResponseException

2011-04-01 Thread Pololang
Selector { private List proxies; public MklProxySelector() { super(); proxies = new ArrayList(); proxies.add(new Proxy(Proxy.Type.HTTP, new InetSocketAddress(AppUtils.get

Re: getting NoHttpResponseException("The target server failed to respond")

2011-01-04 Thread Ittay Dror
Oleg Kalnichevski wrote: On Tue, 2011-01-04 at 19:32 +0100, Oleg Kalnichevski wrote: In which case HttpClent would use chunk coding to signal the end of the message body. That means there would be at least a closing tag. I don't know HttpClient like you, but once I put some content in the fi

Re: getting NoHttpResponseException("The target server failed to respond")

2011-01-04 Thread Oleg Kalnichevski
On Tue, 2011-01-04 at 19:32 +0100, Oleg Kalnichevski wrote: > > >>> > > > In which case HttpClent would use chunk coding to signal the end of the > > > message body. That means there would be at least a closing tag. > > > > I don't know HttpClient like you, but once I put some content in the > >

Re: getting NoHttpResponseException("The target server failed to respond")

2011-01-04 Thread Oleg Kalnichevski
> >>> > > In which case HttpClent would use chunk coding to signal the end of the > > message body. That means there would be at least a closing tag. > > I don't know HttpClient like you, but once I put some content in the > file everything works. > > Please produce wire log of the HTTP sessio

Re: getting NoHttpResponseException("The target server failed to respond")

2011-01-04 Thread Ittay Dror
Oleg Kalnichevski wrote: "Ittay Dror" wrote: Oleg Kalnichevski wrote: "Ittay Dror" wrote: Oleg Kalnichevski wrote: On Tue, 2011-01-04 at 17:30 +0200, Ittay Dror wrote: It turns out this is because my warmupInput file was empty. The server responded with 100 (continue), but because

Re: getting NoHttpResponseException("The target server failed to respond")

2011-01-04 Thread Oleg Kalnichevski
"Ittay Dror" wrote: > > >Oleg Kalnichevski wrote: >> "Ittay Dror" wrote: >> >>> >>> Oleg Kalnichevski wrote: On Tue, 2011-01-04 at 17:30 +0200, Ittay Dror wrote: > It turns out this is because my warmupInput file was empty. The >>> server > responded with 100 (continue), but because

Re: getting NoHttpResponseException("The target server failed to respond")

2011-01-04 Thread Ittay Dror
Oleg Kalnichevski wrote: "Ittay Dror" wrote: Oleg Kalnichevski wrote: On Tue, 2011-01-04 at 17:30 +0200, Ittay Dror wrote: It turns out this is because my warmupInput file was empty. The server responded with 100 (continue), but because the file was empty nothing was written to the ou

Re: getting NoHttpResponseException("The target server failed to respond")

2011-01-04 Thread Oleg Kalnichevski
"Ittay Dror" wrote: > > >Oleg Kalnichevski wrote: >> On Tue, 2011-01-04 at 17:30 +0200, Ittay Dror wrote: >>> It turns out this is because my warmupInput file was empty. The >server >>> responded with 100 (continue), but because the file was empty >nothing >>> was written to the output stream, so

Re: getting NoHttpResponseException("The target server failed to respond")

2011-01-04 Thread Ittay Dror
Oleg Kalnichevski wrote: On Tue, 2011-01-04 at 17:30 +0200, Ittay Dror wrote: It turns out this is because my warmupInput file was empty. The server responded with 100 (continue), but because the file was empty nothing was written to the output stream, so after a while there was a timeout. IM

Re: getting NoHttpResponseException("The target server failed to respond")

2011-01-04 Thread Oleg Kalnichevski
On Tue, 2011-01-04 at 17:30 +0200, Ittay Dror wrote: > It turns out this is because my warmupInput file was empty. The server > responded with 100 (continue), but because the file was empty nothing > was written to the output stream, so after a while there was a timeout. > > IMHO, this is a bug.

Re: getting NoHttpResponseException("The target server failed to respond")

2011-01-04 Thread Ittay Dror
It turns out this is because my warmupInput file was empty. The server responded with 100 (continue), but because the file was empty nothing was written to the output stream, so after a while there was a timeout. IMHO, this is a bug. Either an empty input should be posted, or I should get a mo

getting NoHttpResponseException("The target server failed to respond")

2011-01-04 Thread Ittay Dror
Hello I'm trying to send a POST request to "http://localhost:8090/my/path";, and getting the exception in the subject. The request goes to a the same process. The servlet handling requests is jersey's ServletContainer. Requests from an external tool (both to http://localhost:8090/my/path and

NoHttpResponseException second time around...

2008-10-13 Thread Sagi Mann
"Date: " + new Date() + "\r\n" + "Server: mysrv\r\n" + "Connection: close\r\n\r\n"; try { response = ByteBuffer.wrap(responseStr.getBytes("ISO-8859-1")); } catch (Throwable

Client Certificate prompt causes NoHttpResponseException

2008-02-19 Thread Manis Sorensen, Carolyn
is on (default is on), HttpClient gets into a retry loop and finally gives up with NoHttpResponseException. If I turn the feature off, the connection goes through with no problem. Is there a way that I can prevent this problem with the default connection looking for a Client Certificate? Note: