java.net.ProtocolException: Unexpected status line: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

Stack Overflow | Cliff Burton | 5 months ago
  1. 0

    java.net.ProtocolException: Unexpected status line: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

    Stack Overflow | 5 months ago | Cliff Burton
    java.net.ProtocolException: Unexpected status line: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  2. 0

    ProtocolException: unexpected end of stream

    Stack Overflow | 8 months ago | MatejS
    java.net.ProtocolException: unexpected end of stream
  3. 0

    When Posting using Xamarin.Android.Net.AndroidClientHandler, receiving "Unexpected end of stream error"

    Xamarin Bugzilla | 7 months ago | alex.blount
    java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 567#243026290

    GitHub | 3 months ago | rastapapolis
    java.net.ProtocolException: unexpected end of stream
  6. 0

    Retrofit + OkHttp Unexpected Status Line <!DOCType html>

    Stack Overflow | 1 year ago | savepopulation
    java.net.ProtocolException: Unexpected status line: <!DOCType html>

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.net.ProtocolException

      Unexpected status line: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

      at com.android.okhttp.internal.http.StatusLine.parse()
    2. Android
      HttpEngine.readResponse
      1. com.android.okhttp.internal.http.StatusLine.parse(StatusLine.java:54)
      2. com.android.okhttp.internal.http.HttpConnection.readResponse(HttpConnection.java:191)
      3. com.android.okhttp.internal.http.HttpTransport.readResponseHeaders(HttpTransport.java:80)
      4. com.android.okhttp.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:905)
      5. com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:789)
      5 frames
    3. com.android.okhttp
      HttpURLConnectionImpl.getInputStream
      1. com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:443)
      2. com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:388)
      3. com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:231)
      3 frames
    4. it.codesnippet.dots
      LoginActivity$1.run
      1. it.codesnippet.dots.LoginActivity$1$override.run(LoginActivity.java:49)
      2. it.codesnippet.dots.LoginActivity$1$override.access$dispatch(LoginActivity.java)
      3. it.codesnippet.dots.LoginActivity$1.run(LoginActivity.java:0)
      3 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:818)
      1 frame