Integrating Jira with Crowd Results in 'server returned error code 503 for URI'

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

Symptoms

After implementing Crowd integration, users cannot log into JIRA. The following appears in the atlassian-jira.log:

org.codehaus.xfire.XFireRuntimeException: Server returned error code = 503 for URI : https://<crowd_domain>/crowd/services/SecurityServer

Cause

The problem occurs because JIRA needs to generate a backend request to access the Crowd service on server side. The above error gets thrown when from one of the following:

  1. The domain name of Crowd service can't be detected on JIRA server.

  2. The JVM "-Dhttp.proxyHost" blocks the JIRA self-generated requests access to the Crowd service.

Resolution

Make sure that the domain of Crowd service can be detected on JIRA server. If it cannot, check the following:

  1. DNS is configured correctly.

  2. The hosts file is configured correctly.

  3. Apply the IP Address instead of proxy name in the Crowd service URL.

Updated on May 22, 2025

Still need help?

The Atlassian Community is here for you.