java.lang.IllegalStateException: Listener failed to call close on message payload.

GitHub | antoinerousseau | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 6370#236766039

    GitHub | 7 months ago | antoinerousseau
    java.lang.IllegalStateException: Listener failed to call close on message payload.
  2. 0

    Listener failed to call close on message payload. okhttp-ws:3.0.1

    GitHub | 1 year ago | whylee259
    java.lang.IllegalStateException: Listener failed to call close on message payload.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Listener failed to call close on message payload.

      at okhttp3.internal.ws.WebSocketReader.readMessageFrame()
    2. okhttp3.internal.ws
      RealWebSocket.readMessage
      1. okhttp3.internal.ws.WebSocketReader.readMessageFrame(WebSocketReader.java:244)
      2. okhttp3.internal.ws.WebSocketReader.processNextFrame(WebSocketReader.java:108)
      3. okhttp3.internal.ws.RealWebSocket.readMessage(RealWebSocket.java:97)
      3 frames
    3. okhttp3.ws
      WebSocketCall$1.onResponse
      1. okhttp3.ws.WebSocketCall.createWebSocket(WebSocketCall.java:152)
      2. okhttp3.ws.WebSocketCall.access$000(WebSocketCall.java:41)
      3. okhttp3.ws.WebSocketCall$1.onResponse(WebSocketCall.java:97)
      3 frames
    4. okhttp3
      RealCall$AsyncCall.execute
      1. okhttp3.RealCall$AsyncCall.execute(RealCall.java:133)
      1 frame
    5. okhttp3.internal
      NamedRunnable.run
      1. okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
      1 frame
    6. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
      3. java.lang.Thread.run(Thread.java:818)
      3 frames