Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-1828

Websocket Parameters Not Being Applied

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.0, 1.1.0, 1.2.0
    • 1.3.0
    • None
    • None

    Description

      It looks like the gateway.websocket parameters are not making it back to Jetty. Knox set's this parameter to Integer.MAX_VALUE and setting the parameters like the following have no effect.

      <property>
      <name>gateway.websocket.input.buffer.size</name>
      <value>1048576</value>
      </property>
      
      <property>
      <name>gateway.websocket.max.binary.buffer.size</name>
      <value>1048576</value>
      </property>
      
      <property>
      <name>gateway.websocket.max.binary.size</name>
      <value>1048576</value>
      </property>
      
      <property>
      <name>gateway.websocket.max.text.buffer.size</name>
      <value>1048576</value>
      </property>
      
      <property>
      <name>gateway.websocket.max.text.size</name>
      <value>1048576</value>
      </property>
      

       

       

      2019-03-16 16:11:43,548 ERROR gateway.websockets (ProxyWebSocketAdapter.java:cleanupOnError(171)) - Error: org.eclipse.jetty.websocket.api.MessageTooLargeException: Resulting message size [73,728] is too large for configured max of [65,536]
      

       

      Attachments

        Issue Links

          Activity

            People

              Absolutesantaja Shawn Weeks
              Absolutesantaja Shawn Weeks
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3.5h
                  3.5h