It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira and confluence having trouble communicating Edited

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

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

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
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,435 views 6 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you