Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-68617

Logs flooded with "Broken pipe" or other connection errors when using Firefox

XMLWordPrintable

      Bug Summary:

      Logs flooded with "Broken pipe" errors When using firefox 59.0.2 (64-bit).

      Opening a Jira-specific error for proper tracking from the Confluence variant tracked at  CONFSERVER-55279

       

      Steps to replicate
      1. Start Jira
      2. Access Jira starting page
      3. Login to application and view/edit any issues
      Actual results

      Following errors are present during login and page viewing/editing

      2018-12-20 10:29:57,700 ERROR      [o.a.c.c.C.[.[localhost].[/].[noopservlet]] Servlet.service() for servlet [noopservlet] in context with path [] threw exception
      2018-12-20 10:29:57,700 https-jsse-nio-443-exec-122 ERROR      [o.a.c.c.C.[.[localhost].[/].[noopservlet]] Servlet.service() for servlet [noopservlet] in context with path [] threw exception 
      java.lang.RuntimeException: org.apache.catalina.connector.ClientAbortException: java.io.IOException: An established connection was aborted by the software in your host machine
       at com.atlassian.plugin.cache.filecache.impl.StreamsCache.streamFromFile(StreamsCache.java:113)
       at com.atlassian.plugin.cache.filecache.impl.OneStreamCache.stream(OneStreamCache.java:54)
       at com.atlassian.plugin.cache.filecache.impl.FileCacheImpl.cache(FileCacheImpl.java:87)
       at com.atlassian.plugin.webresource.impl.http.Controller.sendCachedInProduction(Controller.java:319)
       at com.atlassian.plugin.webresource.impl.http.Controller.sendCached(Controller.java:282)
       at com.atlassian.plugin.webresource.impl.http.Controller.serveResources(Controller.java:222)
       at com.atlassian.plugin.webresource.impl.http.Controller.serveBatch(Controller.java:84)
       at com.atlassian.plugin.webresource.impl.http.Router$5.apply(Router.java:78)
       at com.atlassian.plugin.webresource.impl.http.Router$5.apply(Router.java:71)
       at com.atlassian.plugin.webresource.impl.support.http.BaseRouter.callHandler(BaseRouter.java:169)
       at com.atlassian.plugin.webresource.impl.support.http.BaseRouter.dispatch(BaseRouter.java:144)
       at com.atlassian.plugin.webresource.servlet.PluginResourceDownload.serveFile(PluginResourceDownload.java:65)
       at com.atlassian.plugin.servlet.AbstractFileServerServlet.doGet(AbstractFileServerServlet.java:28)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) ... 44 filtered
       at com.atlassian.servicedesk.internal.web.ExternalCustomerLockoutFilter.doFilter(ExternalCustomerLockoutFilter.java:56) ... 4 filtered
       at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21) ... 32 filtered
       at net.koncis.atlassian.ServletFilter.doFilter(ServletFilter.java:292) ... 10 filtered
       at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:66) ... 1 filtered
       at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:64) ... 20 filtered
       at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30) ... 5 filtered
       at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:116) ... 11 filtered
       at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25) ... 7 filtered
       at com.atlassian.jira.plugin.webresource.CachingResourceDownloadRewriteRule$1.execute(CachingResourceDownloadRewriteRule.java:60)
       at org.tuckey.web.filters.urlrewrite.RewrittenUrlClass.doRewrite(RewrittenUrlClass.java:61) ... 6 filtered
       at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30) ... 5 filtered
       at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.lambda$invokeFilterChain$0(CustomerContextSettingFilter.java:181)
       at com.atlassian.servicedesk.internal.api.util.context.ReentrantThreadLocalBasedCodeContext.rteInvoke(ReentrantThreadLocalBasedCodeContext.java:137)
       at com.atlassian.servicedesk.internal.api.util.context.ReentrantThreadLocalBasedCodeContext.runOutOfContext(ReentrantThreadLocalBasedCodeContext.java:90)
       at com.atlassian.servicedesk.internal.utils.context.CustomerContextServiceImpl.runOutOfCustomerContext(CustomerContextServiceImpl.java:47)
       at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.outOfCustomerContext(CustomerContextSettingFilter.java:174)
       at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilterImpl(CustomerContextSettingFilter.java:130)
       at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:121) ... 4 filtered
       at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(JwtAuthFilter.java:32) ... 8 filtered
       at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21) ... 4 filtered
       at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:36) ... 26 filtered
       at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25) ... 24 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: An established connection was aborted by the software in your host machine
       at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:356)
       at org.apache.catalina.connector.OutputBuffer.flushByteBuffer(OutputBuffer.java:815)
       at org.apache.catalina.connector.OutputBuffer.append(OutputBuffer.java:720)
       at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:391)
       at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:369)
       at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1384)
       at com.atlassian.plugin.cache.filecache.impl.StreamsCache.streamFromFile(StreamsCache.java:110) ... 251 moreCaused by: java.io.IOException: An established connection was aborted by the software in your host machine
       at sun.nio.ch.SocketDispatcher.write0(Native Method)
       at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:51)
       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)
        ... 12 filtered
        ... 258 more
      

      Other errors users have reported receiving "An established connection was aborted by the software in your host machine" and "An existing connection was forcibly closed by the remote host" errors.

      Note

      Please note that this error is not a bug, but rather a generic exception thrown by the application server when a connection is closed unexpectedly (usually on the client side) see JRASERVER-63503 for more details.

      Workaround

      Use a different browser instead of Firefox. 

              Unassigned Unassigned
              ajean Andy J.
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: