Layer7 API Management

 View Only
  • 1.  websocket connection get close due to MessageTooLargeException

    Posted 24 days ago

    Hi Experts,

    Customer getting below error when uploading an audio file which the size smaller than the value of Maximum Size Limit in the Message Size Limit Properties.

    Closing SSGInboundWebSocket. Reason:org.eclipse.jetty.websocket.api.MessageTooLargeException: Binary message size [1144398] exceeds maximum size [1048576]

    Why the error above mentioned we have exceed the maximum size?

    Thanks,

    Atifah



  • 2.  RE: websocket connection get close due to MessageTooLargeException

    Broadcom Employee
    Posted 24 days ago

    It looks like you are using websockets, which have their own set of properties:
    https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-gateway/11-0/reference/gateway-cluster-properties/websocket-cluster-properties.html

    websocket.max.binary.msg.size
    The maximum text binary size. Requires a Gateway restart.
    Default: 
    1048576
     (bytes)