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.
Hi Chris,
that's great that you could solve the case. I'll close this question as answered.
Cheers,
Rodrigo
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.