We’re getting this message from our XMPP client when performing BOSH requests against our OF v4.5.2 cluster. Only some BOSH requests get this error, which makes it difficult to reproduce and investigate.
HTTP ERROR 500 insufficient content written URI: /http-bind/ STATUS: 500 MESSAGE: insufficient content written SERVLET: org.jivesoftware.openfire.http.HttpBindServlet-96f5dc0
Looking at the packet from one of the failed HTTP-BIND requests, we see this in the raw response:
<html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <title>Error 500 insufficient content written</title> </head> <body><h2>HTTP ERROR 500 insufficient content written</h2> <table> <tr><th>URI:</th><td>/http-bind/</td></tr> <tr><th>STATUS:</th><td>500</td></tr> <tr><th>MESSAGE:</th><td>insufficient content written</td></tr> <tr><th>SERVLET:</th><td>org.jivesoftware.openfire.http.HttpBindServlet-96f5dc0</td></tr> </table> </body> </html>
This looks related to Jetty. I notice a Jetty bug report at https://github.com/eclipse/jetty.project/issues/4208 which could be related.
Does anybody have familiarity with this error or can somebody suggest steps to investigate/troubleshoot?