java.net.ProtocolException: Expected HTTP 101 response but was '200 OK'

GitHub | remy-phelipot | 7 months 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

    Impossible to watch a kubernetes resource

    GitHub | 7 months ago | remy-phelipot
    java.net.ProtocolException: Expected HTTP 101 response but was '200 OK'
  2. 0

    GitHub comment 496#257726048

    GitHub | 5 months ago | akroston
    java.net.ProtocolException: Expected HTTP 101 response but was '200 OK'
  3. 0

    spark-submit must work with the local kubectl proxy endpoint

    GitHub | 2 months ago | foxish
    java.net.ProtocolException: Expected HTTP 101 response but was '200 OK'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 2289#245163981

    GitHub | 7 months ago | rarora13
    java.net.ProtocolException: Expected HTTP 101 response but was '503 Endpoint Creation Failed'

    Root Cause Analysis

    1. java.net.ProtocolException

      Expected HTTP 101 response but was '200 OK'

      at okhttp3.ws.WebSocketCall.createWebSocket()
    2. okhttp3.ws
      WebSocketCall$1.onResponse
      1. okhttp3.ws.WebSocketCall.createWebSocket(WebSocketCall.java:122)[com.squareup.okhttp3.okhttp-ws-3.4.1.jar:na]
      2. okhttp3.ws.WebSocketCall.access$000(WebSocketCall.java:41)[com.squareup.okhttp3.okhttp-ws-3.4.1.jar:na]
      3. okhttp3.ws.WebSocketCall$1.onResponse(WebSocketCall.java:97)[com.squareup.okhttp3.okhttp-ws-3.4.1.jar:na]
      3 frames
    3. okhttp3
      RealCall$AsyncCall.execute
      1. okhttp3.RealCall$AsyncCall.execute(RealCall.java:126)[com.squareup.okhttp3.okhttp-3.4.1.jar:na]
      1 frame
    4. okhttp3.internal
      NamedRunnable.run
      1. okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)[com.squareup.okhttp3.okhttp-3.4.1.jar:na]
      1 frame
    5. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_102]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_102]
      3. java.lang.Thread.run(Thread.java:745)[na:1.8.0_102]
      3 frames