During execution of a function, the server logs the following exception:
org.apache.geode.cache.execute.FunctionException: IOException while sending the last chunk to client
Caused by: java.net.SocketException: Broken pipe
This indicates that the server could not complete the last chunk of the result‑stream back to the client, even though the function itself completed on the server.
The client side of the TCP connection has gone away or been closed (for example, due to a timeout, network issue, or client‑side shutdown) before the server could finish sending the final result chunk. The Broken pipe at SocketException level means that the client’s TCP socket is no longer accepting data, so the server write fails when it tries to send the last chunk.
The cause of it could be because of :
In order to resolve this issue, we can try the following options:
https://knowledge.broadcom.com/external/article/294416/messagetoolongexception-messagetoolargee.html