You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sumit Gupta (JIRA)" <ji...@apache.org> on 2017/01/04 15:49:58 UTC

[jira] [Commented] (KNOX-836) Websockets connection is terminated when message size is larger than 65536

    [ https://issues.apache.org/jira/browse/KNOX-836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15798548#comment-15798548 ] 

Sumit Gupta commented on KNOX-836:
----------------------------------

+1 on the fix. I'll get this patch in asap.

> Websockets connection is terminated when message size is larger than 65536
> --------------------------------------------------------------------------
>
>                 Key: KNOX-836
>                 URL: https://issues.apache.org/jira/browse/KNOX-836
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 0.10.0, 0.11.0
>            Reporter: Sandeep More
>            Assignee: Sandeep More
>         Attachments: KNOX-836.001.patch
>
>
> In some cases, or e.g. in Zeppelin with large demo Notebooks, Knox will abruptly close connection with error:
> [exec] org.eclipse.jetty.websocket.api.MessageTooLargeException: Text message size [1313822] exceeds maximum size [65536]
>      [exec] 	at org.eclipse.jetty.websocket.api.WebSocketPolicy.assertValidTextMessageSize(WebSocketPolicy.java:140)
>      [exec] 	at org.eclipse.jetty.websocket.common.Parser.assertSanePayloadLength(Parser.java:127)
>      [exec] 	at org.eclipse.jetty.websocket.common.Parser.parseFrame(Parser.java:482)
>      [exec] 	at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:254)
>      [exec] 	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:632)
>      [exec] 	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:480)
>      [exec] 	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
>      [exec] 	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
>      [exec] 	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
>      [exec] 	at java.lang.Thread.run(Thread.java:745)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)