5 Replies Latest reply on Mar 26, 2018 6:52 PM by dmoler

    Is there a way to limit the size of PI Channel messages?

    jposteuca

      When establishing a PI Channel, on occasion I am encountering the following exception:

       

           Unexpected exception caught by netty io.netty.handler.codec.CorruptedFrameException: Max frame length of 131072 has been exceeded...

       

      The message from PI exceeds the size limit.  This usually happens after initially connecting after a period of being disconnected, and goes away rather quickly.  This leads me to believe that PI is accumulating attribute values to send in bulk when the channel comes back on line. 

       

      We can configure the max frame length to something higher to alleviate this somewhat, but theoretically if enough values accumulate, the limit could still be exceeded.

       

      It would be better if we could limit the message sizes coming from PI.  It would be even better if we could tell the channel just to send the most recent values, and not accumulate values to send.

       

      Are there any settings that control the message sizes coming from the PI Channel?

       

      Thanks much!

       

      John