Timeout error when creating a project

Problem

When creating a project with a lot of issues and/or when you use a template with a Confluence space, you may get the following error :

This can happen when the connection between JIRA and Confluence is slow or when you try to import a large number of issues with a lot of subtasks or when Confluence space are large (a couple megabytes).

Solution

This problem may have several roots, starting with bad server performance, or a very large issue file.

You can try these fix.

  1. Increase the connectionTimeout parameter
    • Stop your JIRA instance completely.
    • Find the conf/server.xml file in your JIRA server directory. This file contains a connector definition: <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
    • Increase the connectionTimeout parameter to a larger value (e.g. 60000). This will give the background process more time to create the project.
  2. Install the latest version of Gaia for JIRA. Several fixes have been made to improve the performance of Space Creation.


Creation failure may leave unwanted files in your system

When this happens, the project is partially created and leave some unwanted files on your hard drive. We recommend that you to delete the aborted project before creating a new one.

You should talk to a system administrator to verify the server back-end.

You can also read the Getting Started with JIRA Scale guide from Atlassian to optimize your instance.

Other known issues of Gaia for JIRA :