org.eclipse.jetty.websocket.api.MessageTooLargeException: Text message size [130353] exceeds maximum size [65536]

Stack Overflow | Factor Three | 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

    How to change the max size of an incoming CometD text message

    Stack Overflow | 7 months ago | Factor Three
    org.eclipse.jetty.websocket.api.MessageTooLargeException: Text message size [130353] exceeds maximum size [65536]

    Root Cause Analysis

    1. org.eclipse.jetty.websocket.api.MessageTooLargeException

      Text message size [130353] exceeds maximum size [65536]

      at org.eclipse.jetty.websocket.api.WebSocketPolicy.assertValidTextMessageSize()
    2. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.websocket.api.WebSocketPolicy.assertValidTextMessageSize(WebSocketPolicy.java:140)
      2. org.eclipse.jetty.websocket.common.Parser.assertSanePayloadLength(Parser.java:127)
      3. org.eclipse.jetty.websocket.common.Parser.parseFrame(Parser.java:482)
      4. org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:254)
      5. org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:632)
      6. org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:480)
      7. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
      8. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
      9. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
      9 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame