cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR:An error occurred [The target server failed to respond]

SOLVED
SVSingh
Occasional Contributor

ERROR:An error occurred [The target server failed to respond]

Hi,

 

I am getting an error while hitting the server with Soap Post request with error.

Please note i am getting response in case same request has been sent to same server via any other client like Postman etc.

Increase the timeount = 10 mins, tried all tricks

 

Issue seems with soapui/Ready api 1.X.X(tried with 1.7.0 and 1.8.0)

 

Please suggest some resolution.

 

Error details:

 

Thu Jul 28 16:08:29 IST 2016:ERROR:An error occurred [The target server failed to respond], see error log for details

 

Error:

Thu Jul 28 16:14:13 IST 2016:ERROR:org.apache.http.NoHttpResponseException: The target server failed to respond
org.apache.http.NoHttpResponseException: The target server failed to respond
at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:101)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:252)
at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:281)
at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:247)
at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:219)
at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$SoapUIHttpRequestExecutor.doReceiveResponse(HttpClientSupport.java:147)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:633)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:454)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$Helper.execute(HttpClientSupport.java:233)
at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.execute(HttpClientSupport.java:323)
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.submitRequest(HttpClientRequestTransport.java:290)
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:220)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:119)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

sukhveer
2 ACCEPTED SOLUTIONS

Accepted Solutions
SVSingh
Occasional Contributor

Re: ERROR:An error occurred [The target server failed to respond]

Got the solution, by enabling auth as Pre-emptive auth with value as Authenticate pre-emptively worked
sukhveer

View solution in original post

noegh_mmi
Occasional Contributor

Re: ERROR:An error occurred [The target server failed to respond]

Hi 

I am running a API withouth Auth, and i get the same error: "Status code extraction error"

 

Regards

Noegh

View solution in original post

2 REPLIES 2
SVSingh
Occasional Contributor

Re: ERROR:An error occurred [The target server failed to respond]

Got the solution, by enabling auth as Pre-emptive auth with value as Authenticate pre-emptively worked
sukhveer

View solution in original post

noegh_mmi
Occasional Contributor

Re: ERROR:An error occurred [The target server failed to respond]

Hi 

I am running a API withouth Auth, and i get the same error: "Status code extraction error"

 

Regards

Noegh

View solution in original post

New Here?
Join us and watch the welcome video:
Building with the Collaborator API

Help Documenation
The Collaborator API is a JSON-RPC API that lets you integrate with Collaborator 9.0 and above. For more information about how the API works, check out the API description here:


Sample Plugins
For an example of an add-in that uses the API, take a look at the Microsoft Word Add-in for Collaborator:


We list all the great plugins our network has already built on this page on the SmartBear website.