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

Still need help?

The Atlassian Community is here for you.

Ask the community

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.

Still not working?

This may also be caused by a known JIRA bug, which is being tracked at JRA-20715. It states that even if "-Dhttp.nonProxyHosts" has been properly defined in the JAVA_OPTS, the application may still uses the proxy to reach "nonProxyHosts". Alternatively this problem may be solved by following the resolution mentioned in JAVA Option '-Dhttp.nonProxyHosts' Does Not Work.

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.