Hi all,
I have a query returning 3000 plus rows and have the return format set to JSON, so I can use one embedded view (for styling purposes), displayed with the rest of the data.
I keep getting a Message too big message, and the Designer loses connection with the GW.
In another project, I have the exact same setup but it does not lose connection. If you ask why the same setup, I am rebuilding this project into the new one.
This is the message from the GW Log:
Websocket connection closed unexpectedly. code=1009, reason=Text message too large: (actual) 2,103,240 > (configured max text message size) 2,097,152, codeMeaning=Message Too Big, codeDescription=The endpoint is terminating the connection because a data frame was received that is too large.
I have seen Phil mention chunking datasets here and there, but not sure how to do that.
I could limit the query in SQL Server, then send a new query request based on user input.
Or, I could change the max message size, but I did not see anything relating to this in the conf file.
Advice is appreciated.
EDIT: I just realized that by limiting the size from the DB would also affect using the table filter. So, if there is a way to chunk the data maybe as it loads into the View or Table?