Recommended solutions based on your search
You are probably trying to write to a connection when the other end (the remote end of the connection) has already closed it.
Solutions on the web
winstone.ClientSocketException: Failed to write to client
Caused by: java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
... 3 more