Exception when delegating user management to JIRA

Still need help?

The Atlassian Community is here for you.

Ask the community

Problem

In Confluence, when Connecting to JIRA for User Management the following appears in the atlassian-jira.log:

Connection test failed. Response from the server:
com.atlassian.crowd.exception.ApplicationPermissionException: <html><head><title>Apache Tomcat/6.0.32 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 403 - client.forbidden.exception</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>client.forbidden.exception</u></p><p><b>description</b> <u>Access to the specified resource (client.forbidden.exception) has been forbidden.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.32</h3></body></html>

Cause

403 Forbidden is thrown by the REST API if the request is not from an approved IP on the whitelist.

Resolution

Just to ensure that the Confluence has permission to access JIRA, can you confirm that the ip address is correct in step 1 of this doc:

To connect Confluence to JIRA 4.3 or later:

1. Go to your JIRA administration screen and define the Confluence application to JIRA:

  • Select 'Other Applications' from the 'Users, Groups & Roles' section of the 'Administration' menu.
  • Add an application.
  • Enter the application name and password that Confluence will use when accessing JIRA.
  • Enter the IP address or addresses of your Confluence server. Valid values are:
    • A full IP address, e.g. 192.168.10.12.
    • A wildcard IP range, using CIDR notation, e.g. 192.168.10.1/16. For more information, see the introduction to CIDR notation on Wikipedia and RFC 4632.
  • Save the new application.

 

 

 

 

 

 

 

  

 

 

 

 

 

 

Last modified on Feb 23, 2016

Was this helpful?

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