JIRA Calendar Read Timed Out

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Symptoms

Team Calendars is unable to create a JIRA calendar despite a functioning application link.

The following appears in the atlassian-confluence.log:

1 2 3 ERROR [http-8090-10] [extra.calendar3.calendarstore.JiraCalendarDataStore] doInTransaction Unable to get query options from linked JIRA application 6320c79b-dbbf-3058-803f-9babc606a878 – url: /confluence/rest/calendar-services/1.0/jira/6320c79b-dbbf-3058-803f-9babc606a878/query/options.json | userName: xxxx | referer:http://jira.yyyyy.com/confluence/calendar/mycalendar.action com.atlassian.sal.api.net.ResponseException: java.net.SocketTimeoutException: Read timed out

This error is logged after selecting one of the Jira event types in the event creation popup.

Diagnosis

Visit the following URL and count the number of seconds it takes to process the request.

http://<jira_base_url>/rest/ical/1.0/ical/config/query/options

If the request takes longer than 10 seconds you are affected by this issue, and you can proceed with the workaround.

Cause

The default timeout for a Team Calendars for Confluence request is 10 seconds. We are exceeding that request interval and seeing the "Read timed out" in the logs

Solution

Workaround

Add the flag below to your system properties. This extend the timeout to 30 seconds.

1 -Dcom.atlassian.confluence.extra.calendar3.jira.timeout.socket=30000

Reference Configuring System Properties to see how to do this for your particular instance

Notes

The cause of this issue is a scalability problem related to that particular endpoint. As the instance grows, it takes more time to respond which eventually exceeds the timeout. This is covered in the following bug report:

Updated on April 2, 2025

Still need help?

The Atlassian Community is here for you.