-
Bug
-
Resolution: Not a bug
-
Low
-
None
-
6.4.12, 7.0.10, 7.1.0, 7.1.1, 7.1.2, 7.1.4, 7.1.7, 7.3.0, 7.2.3, 7.1.10, 7.2.6, 7.2.7, 7.4.0, 7.3.1, 7.3.3, 7.3.5, 7.3.6, 7.3.7, 7.3.8, 7.4.1, 7.5.0, 7.4.5, 7.5.1, 7.7.0, 7.0.0, 7.6.2, 7.6.3, 7.6.4, 7.8.0, 7.2.4, 7.11.2, 7.13.0, 7.6.9, 7.12.3
-
6.04
-
102
-
Severity 3 - Minor
-
1,092
-
-
Issue Summary
After upgrading from JIRA 6.x to JIRA 7.1.x, the following trace can be found in the logs mentioning "Broken Pipe".
Steps to Reproduce
- A connection is established by between the Jira application server and a client (anyone connecting to Jira).
- The connection is closed unexpectedly (cancelling download, killing browser, closing tab while page is loading, etc).
Expected Results
No problem is perceived and no exception is thrown in logs.
Actual Results
The UI does not perceive any problem but the below exception is thrown in the atlasian-jira.log file:
http-nio-8080-exec-5 ERROR [o.a.c.c.C.[.[localhost].[/].[default]] Servlet.service() for servlet [default] in context with path [] threw exception java.lang.RuntimeException: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
Notes
- Sometimes this is thrown so frequent in the logs that it is spamming the logs
- The most common causes for this exception to appear are covered in our KB article ClientAbortException: java.io.IOException: Broken pipe
- There are variations on the stack trace with the same exception, like this:
ERROR [o.a.c.c.C.[.[localhost].[/].[default]] Servlet.service() for servlet [default] in context with path [] threw exception java.lang.RuntimeException: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe at com.atlassian.servicedesk.internal.util.scala.ScalaJavaInterOp$1.apply(ScalaJavaInterOp.java:27) at com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil$.outOfCustomerContext(CustomerContextUtil.scala:48) at com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil.outOfCustomerContext(CustomerContextUtil.scala) at com.atlassian.servicedesk.internal.utils.context.CustomerContextServiceImpl.outOfCustomerContext(CustomerContextServiceImpl.java:24) at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.outOfCustomerContext(CustomerContextSettingFilter.java:164) at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilterImpl(CustomerContextSettingFilter.java:120) at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:112) ... 55 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:393) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:426) at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:342) at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:317) at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:110) at com.sun.jersey.spi.container.ContainerResponse$CommittingOutputStream.flush(ContainerResponse.java:146) at org.codehaus.jackson.impl.Utf8Generator.flush(Utf8Generator.java:1085) at org.codehaus.jackson.map.ObjectMapper.writeValue(ObjectMapper.java:1606) at org.codehaus.jackson.jaxrs.JacksonJsonProvider.writeTo(JacksonJsonProvider.java:558) at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:302) ... 5 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:154) ... 1 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68) ... 91 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 16 filtered at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37) ... 22 filtered at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.lambda$invokeFilterChain$0(CustomerContextSettingFilter.java:169) at com.atlassian.servicedesk.internal.util.scala.ScalaJavaInterOp$1.apply(ScalaJavaInterOp.java:25) ... 65 more Caused by: java.io.IOException: Broken pipe at sun.nio.ch.FileDispatcherImpl.write0(Native Method) at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93) at sun.nio.ch.IOUtil.write(IOUtil.java:65) at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
- is cloned from
-
JRASERVER-61032 JIRA log flooded with java.io.IOException: Broken pipe
- Closed
- is related to
-
JRASERVER-68615 Suppress Excessive java.io.IOException: Broken pipe ERROR when serving static files
- Closed
- relates to
-
JRASERVER-68617 Logs flooded with "Broken pipe" or other connection errors when using Firefox
- Closed
- blocks
-
JSP-403244 Loading...
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...