Hi Team, I am getting Error Occurred Message frequently to Users. majorly seen while making a call to an API. How can i resolve this ? java.io.IOException: Broken pipe at java.base/java.io.FileOutputStream.writeBytes(Native Method) at java.base/java.io.FileOutputStream.write(Unknown Source) at java.base/sun.nio.cs.StreamEncoder.writeBytes(Unknown Source) at java.base/sun.nio.cs.StreamEncoder.implWrite(Unknown Source) at java.base/sun.nio.cs.StreamEncoder.implWrite(Unknown Source) at java.base/sun.nio.cs.StreamEncoder.write(Unknown Source) at java.base/sun.nio.cs.StreamEncoder.write(Unknown Source) at java.base/java.io.OutputStreamWriter.write(Unknown Source) at java.base/java.io.Writer.write(Unknown Source) at com.mendix.logging.impl.subscribers.FileSubscriber.processMessage(FileSubscriber.java:98) at com.mendix.logging.impl.LogNode.publish(LogNode.java:61) at com.mendix.logging.impl.LogQueue.publish(LogQueue.java:58) at com.mendix.logging.impl.LogQueue.run(LogQueue.java:44) at java.base/java.lang.Thread.run(Unknown Source)
It seems your hit the API Calls mutiple time .
Seems like application is trying to write a file in a connection that is closed. If you can look further in stack trace you may notice connection time out.
May be your data collection to write file is taking time and in the mean time connection is closed
May be you are writing a big file
Or you connection timeout is configured for less time. But in general, increasing this is not a good practice unless or otherwise required.
Did you even find out the root cause? We seem to be experiencing the same error in our app with API calls.