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

Sidebar fails to display with 'Unable to render element due to an error' message when viewing issue due to BigPipe timeouts

    XMLWordPrintable

Details

    • 7.02
    • 207
    • Severity 2 - Major
    • 4,718
    • Hide
      Atlassian Update – 11 April 2018

      Hi everyeone

      Pleased to announce Jira versions 7.7.2 and 7.8.0 that contain the fix are now available.
      Additionally fix was released and available in versions 7.2.13 and 7.6.4.
      Wish you a smooth upgrade.

      Cheers,
      Ignat Alexeyenko
      Jira Bugmaster

      Show
      Atlassian Update – 11 April 2018 Hi everyeone Pleased to announce Jira versions 7.7.2 and 7.8.0 that contain the fix are now available. Additionally fix was released and available in versions 7.2.13 and 7.6.4. Wish you a smooth upgrade. Cheers, Ignat Alexeyenko Jira Bugmaster

    Description

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Summary

      Sometimes, the sidebar does not load properly while browsing an issue. No icon appears on the sidebar and message "Unable to render element due to an error" appears on the top of the sidebar. Users have to refresh few times to get the sidebar loaded properly.

      Fix notes: BigPipe is our latest invention separating request from actual rendering. For example - it allows us to render issues faster and then sidebar at the end. However as this technology is used outside of server Jira too it contains timeout feature. Timeout is calculated from the beginning of the request, so when the whole request is too long, the pipe will give up on rendering. Fix removes this timeout for Jira.

      Steps to Reproduce

      N/A as this happens intermittently for some customers

      Expected Results

      The issue details and sidebar are displayed without any error

      Actual Results

      Occasionally the sidebar shows "Unable to render element due to an error" while the below exception is thrown in the atlassian-jira.log file:

      2017-02-14 15:57:28,689 http-nio-8080-exec-202 ERROR anonymous 6x15350x1 oclbhd 0:0:0:0:0:0:0:1 /browse/DESK-4095 [c.a.p.webresource.assembler.DefaultWebResourceAssembler] Error generating bigpipe content for 'sidebar-id': Deadline exceeded
      java.lang.RuntimeException: Deadline exceeded
      	at com.atlassian.plugin.webresource.bigpipe.QueueFutureCompletionService.forceCompleteAll(QueueFutureCompletionService.java:62)
      	at com.atlassian.plugin.webresource.bigpipe.BigPipe.forceCompleteAll(BigPipe.java:33)
      ...
      

      Workaround

      Disable BigPipe. That will revert to pre 7.2 page rendering behaviour:

      • View Issue is going to take longer to load as big-piped panels (e.g.: Comments section, Projects Sidebar) will be rendered eagerly rather than postponed.

      Steps:

      1. Navigate to http:<JIRA-base-URL>/secure/admin/SiteDarkFeatures!Default.jspa to get to the Dark Features page.
      2. Enable the dark feature com.atlassian.jira.config.BIG_PIPE_KILLSWITCH

      Attachments

        1. Error at Test Case Tab.png
          52 kB
        2. Console Log.png
          Console Log.png
          69 kB

        Issue Links

          Activity

            People

              ialexeyenko Ignat (Inactive)
              michin Michelle Chin
              Votes:
              105 Vote for this issue
              Watchers:
              155 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: