Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-13313

Build summaries fail to load on the branch list page when scrolling down far enough

    XMLWordPrintable

Details

    Description

      Issue Summary

      The branch list page shows build summary information for each branch (if build summary information exists for that branch). When scrolling down the branch list page, eventually requests to retrieve build summaries will start failing.

      Steps to Reproduce

      1. Create a repository with a significant number of branches (e.g. 1000+ branches)
      2. Visit the branch list page with developer tools open and scroll down

      Expected Results

      All requests for build summaries are successful.

      Actual Results

      After scrolling down far enough, the requests for build-summaries will start failing with the following response:

      400 java.lang.IllegalArgumentException: Request header is too large
      

      This can be seen in e.g. browser development tools, but is not logged in the Bitbucket logs.

      Build summaries will not be loaded for any branches beyond where the failed requests started.

      Workaround

      • Instead of scrolling down and paging, if only specific branches are of internet, the filter can be used to restrict the number of branches shown in the table.
      • The server.max-http-header-size application can be used to increase the limit of the total size of HTTP headers for a single request.

      Attachments

        Issue Links

          Activity

            People

              91f2c0a8617b Navpreet Ahuja
              spetrucev Stefan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: