org.apache.commons.httpclient.ProtocolException: The server ssltest.tnsi.com failed to respond with a valid HTTP response at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodB ase.java:1850) at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBas e.java:1599) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.jav a:1010) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpM ethodDirector.java:392) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMeth odDirector.java:178) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java: 437) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java: 324)

hc-httpclient-users | Michael Becke | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Re: Invalid HTTP Response

    hc-httpclient-users | 1 decade ago | Michael Becke
    org.apache.commons.httpclient.ProtocolException: The server ssltest.tnsi.com failed to respond with a valid HTTP response at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodB ase.java:1850) at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBas e.java:1599) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.jav a:1010) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpM ethodDirector.java:392) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMeth odDirector.java:178) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java: 437) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java: 324)

    Root Cause Analysis

    1. org.apache.commons.httpclient.ProtocolException

      The server ssltest.tnsi.com failed to respond with a valid HTTP response at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodB ase.java:1850) at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBas e.java:1599) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.jav a:1010) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpM ethodDirector.java:392) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMeth odDirector.java:178) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java: 437) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java: 324)

      at com.ta.vital.net.TestConnection.testConnect()
    2. com.ta.vital
      TestConnection.testConnect
      1. com.ta.vital.net.TestConnection.testConnect(TestConnection.java:65)
      1 frame
    3. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame