WARNING: Caught IOException while trying to write data to a client connection: null Caused by: java.io.IOException: Broken pipe in the Production environment.
most of the time this error means that the process wants to write data to a connection that is not available anymore. For example, this could happen when a request is done, the application starts processing the request, in the meanwhile the user closes their browser (or a web service call closes the HTTP connection), and when the application is done processing the request and wants to write the response back to the HTTP connection, it's not there anymore.
It is recommended to check what it is running to find out the root cause for the issue. For that you can use the Runing Now Metrics and also you can use Query Logging.
We are also getting this warning multiple times (50 - 100) per day on production (Mx 7.23.6). After reading the comment by Nikolina I’m wondering if the microflow timer widget might be a cause of this problem.
We are using two microflow timers on our main page template and have - at some times - 10 to 20 users logged in for which these timers are active.
These microflow timers trigger microflows that also do some (light) database retrieves. I think that in our case, it is quite likely that in some cases of these microflow timer executions a users might close his/her browser or log out. Might this cause the warning?
I'm wondering if others who are experiencing the same warning also use the microflow timer widget in their app at frequently used pages.
If, in our case, this is the cause of these warnings I don't see how we could fix this. It does however flood our log file which increases the chance of missing more important warnings and errors.
It would be helpful if the warning log that is created had some more context (which action and user triggered the connection / request?)
Anybody with an answer on that? Our log also has a number of those errors..
I have also created forum ticket on this recently. Read here As for my case i was trying to play a video file not supported by AudioVideoPlay/Jplayer/ web standards. you can still reproduce. So i suspect that Mendix continues to send files even when the client is refusing it and then it runs into some kind of issue where it expects some info to be returned but nothing happens,etc.
Some issue here. I've also created a ticket for this.
We seem to be having the same issues, any update here?
I have checked the forum and seen more than one post about this problem, but no solution. I have the same problem and have been able to narrow it down to the following scenario. I get this error if I try to generate a PDF on IOS (not IpadOS, Ipad OS works fine) in the browser (I have tried multiple browsers but they are all based on the same infrastructure) and in the hybrid app. Does somebody recognize this scenario, could this contribute to narrow down the problem?
We too experience these errors a few times a day. Mendix should really try to pinpoint and fix this...