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

0 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Monday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

168 views 3 3
Join discussion

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