Jira and confluence having trouble communicating

Chris Schulte March 20, 2020

I have jira and confluence running on a centos server under an apache http reverse proxy. The tomcat addresses are http://the.jira.server:8080 for jira and http://theserver:8090 for confluence. They are mapped https://the.jira.server for jira and https://the.jira.server/confluence for confluence.

The application link for confluence to jira is https://the.jira.server and the application link from jira to confluence is https://the.jira.server/confluence. linking directly to ports 8080 and 8090 gives a network error.

When I try to connect, link, or create a space from jira, I get various error messages like "We couldn't create a space for you. Confluence might be down, or you might not have permission to create a space" or "We're having trouble communicating with the application. Wait a minute, then try again."

Digging around, we thought in might be a cookies issue, so I tried a fix #2 recommended here: 

https://confluence.atlassian.com/confkb/logging-into-another-atlassian-application-logs-me-out-of-confluence-268043930.html?_ga=2.131449295.1748244074.1584646255-972934708.1584646255

That just gave me a proxy error. Right now, we can't try mapping jira to  https://the.jira.server/jira because it is in use and starting, stopping, and possibly breaking it would be bad.

Any thoughts?

Thanks,

Chris

1 answer

1 accepted

0 votes
Answer accepted
JP _AC Bielefeld Leader_
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.
March 20, 2020

Hi,

you can mix your two mappings on a single URL.

Either you use https://the.confluence.server and https:/the.jira.server 

or you decide to have https://the.jira.server/jira and https://the.jira.server/confluence

Cause:

The proxy must decide for each request to which application to route the request to. As https://the.jira.server is a part of https://the.jira.server/confluence the proxy might have situations where he can't decide what to do. This is mostly done with a session cookie BOUND TO THE SERVER DOMAIN part of the URL. So the cookie for Jira & Confluence will be the same, when it really isn't, as each application creates an own session cookie.

You can try to play around with rewrite rules, but I'm not sure, if this will work & is a stable solution. Go for either of the solutions above but don't mix them up.

Best

JP

Chris Schulte March 20, 2020

Thanks JP,

I was afraid of that. 

When I set this up I thought of confluence more as an add on and didn't think that they wouldn't share cookies.

Thanks again,

Chris

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events