Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence cannot access Jira for shared User Management when running behind reverse proxy (IIS)

Björn Bittins April 29, 2019

Hello.

I have a problem with my Jira-Core and Confluence installations.

I installed both on a Windows 2012 R2 (standard installation). Confluence uses the user management of Jira. Both were running fine on default ports 8080 and 8090.

Now I have an IIS running as reverse proxy and SSL endpoint. The IIS is configured for https://tools.mydomain.com. Jira and Confluence should be accessible via context path ( .../jira and .../confluence). IIS and both applications were configured as described in this arcticle.

Now, when I open /jira I can login but I see Gadget errors ("gadget.common.error.500") on the main page. Updating the base URL did not solve the problem. When I link Jira to Confluence it shows me some details of the Confluence instance (like the page name) but also shows an error "There is a problem communicating directly between these two applications...". When I'm redirected to the Confluence instance it is not possible to login using credentials from the shared User Management.

When I open /confluence I cannot login at all. It seems that Confluence cannot access Jira anymore although both systems are still running on the same machine. This way I even cannot update the base URL in Confluence nor setup the application link between the two instances.

What do I need to do that Jira doesn't show these Gadget errors and that it is possible to login to Confluence (do I need a dedicated admin account for Confluence?)?

Thanks!

Björn

2 answers

1 accepted

0 votes
Answer accepted
Björn Bittins April 30, 2019

I solved the problem by switching back to the original configuration (default ports without SSL and reverse proxy) for Jira and Confluence, then logged in via a Jira managed admin, created a local admin in Confluence (had to change the order of the user directories and create the same local user in Jira as well), then switched back to the SSL/reverse-proxy configuration. Then I was finally able to re-create the application link and change the configuration of the remote directory...

Regarding the Gadget errors: I had to import the CA certificates of the SLL certificate used by IIS into the local cacerts truststore of Jira and Confluence: https://community.atlassian.com/t5/Jira-questions/Import-Certificate-into-the-Trust-store/qaq-p/206480

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 29, 2019

It sounds like the proxy is not configured correctly, as it's not allowing everything to reach the server properly.  The gadgets error happens when a server cannot reach itself externally.

Björn Bittins April 30, 2019

Thanks! But how could I test this? What can I do to narrow down the problems?

Especially with Confluence I even cannot login as it seems it cannot reach Jira with the shared user management. 

Suggest an answer

Log in or Sign up to answer