Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-16764

Slow /rest/ical/1.0/ical/config/query/options times out for Team Calendar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Highest Highest
    • None
    • 7.6.8, 7.11.2, 7.13.1, 8.5.6, 8.13.10, 8.20.11, 9.11.2, 9.12.1
    • REST API
    • 7.06
    • 80
    • Severity 2 - Major
    • 217
    • Hide
      Atlassian Update – 17 September 2024

      Dear Customers,

      Thank you for taking the time to file and comment on this issue.

      We're aware that this issue is having an impact on the workflows of multiple customers and we're looking to provide a fix shortly after the release of the Jira 10 LTS. We will follow up with a more precise timeline closer to the release date.

      In the meantime, the workaround for this bug is as follows:
      Increase the timeout for the calendar connection as mentioned in the KB article JIRA Calendar Read Timed Out.

      Please continue watching this ticket for future updates and changes in the timeline that impacts your work.

      Best regards

      Phill Hayers
      Software Engineer

      Show
      Atlassian Update – 17 September 2024 Dear Customers, Thank you for taking the time to file and comment on this issue. We're aware that this issue is having an impact on the workflows of multiple customers and we're looking to provide a fix shortly after the release of the Jira 10 LTS. We will follow up with a more precise timeline closer to the release date. In the meantime, the workaround for this bug is as follows: Increase the timeout for the calendar connection as mentioned in the KB article JIRA Calendar Read Timed Out. Please continue watching this ticket for future updates and changes in the timeline that impacts your work. Best regards Phill Hayers Software Engineer

      Issue Summary

      REST API request /rest/ical/1.0/ical/config/query/options is taking a long time to return the full set of data that cause the JIRA event creation on Confluence team calendar fails with the timeout error.

      Environment

      Large Jira instance with

      • 2000+ projects, or
      • 30000+ search filters

      Steps to Reproduce

      1. Configure 2000 projects and 30,000 filters in Jira
      2. Go to Confluence, create a Calendar event that pulls in Jira projects

      Expected Results

      Correctly allow the user to choose the Jira project and proceed without error.

      Actual Results

      The below exception is thrown in the atlassian-confluence.log file:

      2019-07-24 04:37:44,960 ERROR [http-nio-8080-exec-1] [calendar3.rest.ExceptionMappers.GeneralExceptionMapper] getResponseError General exception happen on calendar resources
       -- referer: https://confluence/display/ZTEST/calendar/xxxxxxx-9b64-44c5-8a93-810942e14566?calendarName=Release%20Calendar | url: /rest/calendar-services/1.0/calendar/jira/xxxxxxx-cefa-3cdd-9508-4a4945627d9a/query/options.json | userName: admin
      com.atlassian.sal.api.net.ResponseException: java.net.SocketTimeoutException: Read timed out
      

      access_log of Jira show:

      10.0.0.111 252x3288526x4 admin [15/Aug/2019:04:17:18 +0000] http-nio-8080-exec-1 admin "GET /rest/ical/1.0/ical/config/query/options?_=1111111111&xoauth_requestor_id=admin HTTP/1.1" 200 511689 293768 "-" "Apache-HttpClient/4.5.5 (Java/1.8.0)" "xxxxx"
      

      293768 = 4 minutes 54 seconds

      Notes

      /rest/ical/1.0/ical/config/query/options contains the following data

      • List of projects
      • List of Search filters
      • Names of viewable fields

      Workaround

      Increase the timeout for the calendar connection as mentioned in the KB article JIRA Calendar Read Timed Out.

              b6cf9181bff6 Krystian M
              yilinmo Yilin (Inactive)
              Votes:
              105 Vote for this issue
              Watchers:
              101 Start watching this issue

                Created:
                Updated: