Websocket connection closed - Message Too Big

store.Channel: Websocket connection closed. code=1009, wasClean=false, reason=Text message size [2266545] exceeds maximum size [2097152], codeMeaning=Message Too Big, codeDescription=The endpoint is terminating the connection because a data frame was received that is too large.

I've just imported a new project into a customer's existing gateway, and i'm getting this error produced by the web browser, and the client connection dies (user interaction dies since the gw has dropped the session).

I have narrowed it down to happening when I open a device popup which contains a filtered Alarm Status Table. If I remove the AST, then the issue goes away... Even the Designer browser briefly d/c when I open the View with the AST on it, however at least the Designer reconnects again; the client doesn't.

Go through the view and make sure every property that can be made private is private. (Not certain if that will be enough. You might need to boost that max msg size.)

1 Like

It turns out I had nonchalantly set props.filters.active.results.enabled to True, and turns out that's a really bad idea :slight_smile: the funny thing is, all I was needing was the length of the dataset :joy:

I've been also meaning to set more props to private though since I saw your other post not to long ago about it :+1: cheers!

1 Like