com.atlassian.plugin.servlet.DownloadException: ClientAbortException: java.net.SocketException: Broken pipe

Atlassian JIRA | Roy Hartono [Atlassian] | 7 years ago
  1. 0

    Can't render TIF images in Confluence using Firefox and IE. Interestingly in Safari the image can be rendered fine. When the page is openend in IE Tomcat will throw the following error: {noformat} 2009-07-16 14:07:19,991 ERROR [http-8080-2] [atlassian.plugin.servlet.AbstractFileServerServlet] doGet Error while serving file for request:/download/attachments/557058/CornMolecule2.tif -- referer: http://paulaner:8080/display/sand/Home | url: /download/attachments/557058/CornMolecule2.tif | userName: admin com.atlassian.plugin.servlet.DownloadException: ClientAbortException: java.net.SocketException: Broken pipe at com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload.serveFile(ServeAfterTransactionDownload.java:68) at com.atlassian.plugin.servlet.AbstractFileServerServlet.doGet(AbstractFileServerServlet.java:30) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55) {noformat} No error is thrown when the page is opened in Firefox.

    Atlassian JIRA | 7 years ago | Roy Hartono [Atlassian]
    com.atlassian.plugin.servlet.DownloadException: ClientAbortException: java.net.SocketException: Broken pipe
  2. 0

    Can't render TIF images in Confluence using Firefox and IE. Interestingly in Safari the image can be rendered fine. When the page is openend in IE Tomcat will throw the following error: {noformat} 2009-07-16 14:07:19,991 ERROR [http-8080-2] [atlassian.plugin.servlet.AbstractFileServerServlet] doGet Error while serving file for request:/download/attachments/557058/CornMolecule2.tif -- referer: http://paulaner:8080/display/sand/Home | url: /download/attachments/557058/CornMolecule2.tif | userName: admin com.atlassian.plugin.servlet.DownloadException: ClientAbortException: java.net.SocketException: Broken pipe at com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload.serveFile(ServeAfterTransactionDownload.java:68) at com.atlassian.plugin.servlet.AbstractFileServerServlet.doGet(AbstractFileServerServlet.java:30) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55) {noformat} No error is thrown when the page is opened in Firefox.

    Atlassian JIRA | 7 years ago | Roy Hartono [Atlassian]
    com.atlassian.plugin.servlet.DownloadException: ClientAbortException: java.net.SocketException: Broken pipe
  3. 0

    Confluence captures useless exceptions in the logs when a htttp client aborts a download. Client abort is a very common event and should not be logged because there is nothing the server or server administrator can do about it. We have hundreds or thousands of exceptions like this in our logs per day which we'd rather not see. It's very common for crawlers to abort large downloads while crawling a site, which I assume is the biggest contributor to the number of these exceptions that we see. {noformat} com.atlassian.plugin.servlet.DownloadException: ClientAbortException: java.io.IOException: WEB8001: Write failed at com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload.serveFile(ServeAfterTransactionDownload.java:68) at com.atlassian.plugin.servlet.AbstractFileServerServlet.doGet(AbstractFileServerServlet.java:30) at javax.servlet.http.HttpServlet.service(HttpServlet.java:796) at javax.servlet.http.HttpServlet.service(HttpServlet.java:917) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:54) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:40) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:54) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:40) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185) at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:54) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:204) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:120) at com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:28) {noformat}

    Atlassian JIRA | 8 years ago | Igor Minar
    com.atlassian.plugin.servlet.DownloadException: ClientAbortException: java.io.IOException: WEB8001: Write failed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Confluence captures useless exceptions in the logs when a htttp client aborts a download. Client abort is a very common event and should not be logged because there is nothing the server or server administrator can do about it. We have hundreds or thousands of exceptions like this in our logs per day which we'd rather not see. It's very common for crawlers to abort large downloads while crawling a site, which I assume is the biggest contributor to the number of these exceptions that we see. {noformat} com.atlassian.plugin.servlet.DownloadException: ClientAbortException: java.io.IOException: WEB8001: Write failed at com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload.serveFile(ServeAfterTransactionDownload.java:68) at com.atlassian.plugin.servlet.AbstractFileServerServlet.doGet(AbstractFileServerServlet.java:30) at javax.servlet.http.HttpServlet.service(HttpServlet.java:796) at javax.servlet.http.HttpServlet.service(HttpServlet.java:917) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:54) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:40) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:54) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:40) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185) at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:54) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:204) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:120) at com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:28) {noformat}

    Atlassian JIRA | 8 years ago | Igor Minar
    com.atlassian.plugin.servlet.DownloadException: ClientAbortException: java.io.IOException: WEB8001: Write failed

    Root Cause Analysis

    1. com.atlassian.plugin.servlet.DownloadException

      ClientAbortException: java.net.SocketException: Broken pipe

      at com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload.serveFile()
    2. com.atlassian.confluence
      ServeAfterTransactionDownload.serveFile
      1. com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload.serveFile(ServeAfterTransactionDownload.java:68)
      1 frame
    3. com.atlassian.plugin
      AbstractFileServerServlet.doGet
      1. com.atlassian.plugin.servlet.AbstractFileServerServlet.doGet(AbstractFileServerServlet.java:30)
      1 frame
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      2 frames
    5. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    6. com.atlassian.plugin
      ServletFilterModuleContainerFilter.doFilter
      1. com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
      2. com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55)
      2 frames