Trouble Linking JIRA and Confluence

I'm trying to link my JIRA and Confluence instances together. Both are on-premise installations. I have both running behind an nginx proxy. When I try to create the application link in Confluence, I enter the URL for my JIRA instance then click Create New Link. On the next screen, I hit Continue and it just hangs. If I hit Cancel, the link is created but does not work. I see this error in atlassian-confluence.log:

 

2014-10-30 13:09:08,056 WARN [http-bio-8090-exec-199] [apache.commons.httpclient.HttpMethodDirector] processWWWAuthChallenge Unable to respond to any of these challenges: {oauth=OAuth realm="https%3A%2F%2Fjira.domain.com"}
-- url: /rest/applinks/2.0/permission/reciprocate-application-delete/a7c2951d-d69e-3055-88dc-1819d58be441 | userName: cknight | referer: https://confluence.domain.com/admin/listapplicationlinks.action

 

I'm running Confluence 5.6.1 and JIRA 6.3.8. I have the Allow Remote API Calls option set to True in JIRA. My Base URL for both Confluence and JIRA is set correctly (or, at least Confluence and JIRA don't complain about them being set incorrectly). What am I missing? Thanks!

 

EDIT: I found this log entry as well: 

2014-10-30 13:24:04,770 WARN [http-bio-8090-exec-207] [core.rest.async.AsynchronousTaskManager] isBaseUrlValid Configured application base URL (https://confluence.domain.com:443) does not match base URL from request (http://localhost:8090)

Obviously, http://localhost:8090 is the URL Tomcat listens on. I'm a little confused on what to do here.

 

RESOLVED: I had to configure server.xml for Confluence to include proxyPort, proxyAddress, and scheme. Weird that the reverse proxy worked and didn't complain. Oh well, works now.

1 answer

1 accepted

This widget could not be displayed.

Hi Chris,

that's great that you could solve the case. I'll close this question as answered.

Cheers,

Rodrigo

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

75 views 9 6
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you