I have Jira Service Desk (v 8.6.1) running on a centos 7 server with a reverse proxy https connection. I also have Confluence (v 7.2.2) running on another centos 7 server with its own reverse proxy https. They are both linked to each other with OAuth via Application Links. I've granted permissions on the spaces to the administrator, both as a group and individually.
When I try to link to an existing confluence space from a jira project, I get the message, "We're having trouble communicating with the application. Wait a minute, then try again." If I try to create a new space, I get the message, "We couldn't create a space for you. Confluence might be down, or you might not have permission to create a space." I get the same message if I try to create a space from Project Settings -> knowledge base.
The error that shows up in atlassian-jira.log is:
2020-03-31 15:42:55,751-0500 http-nio-8080-exec-22 ERROR cfschulte 942x17998x1 1wroie0 10.130.210.221,144.92.219.24 /rest/servicedesk/1/servicedesk/SR/kb/16897856-fdbb-3788-8234-ecac8e61b1a5/space [c.a.s.i.api.applink.BaseAppLinkResponseHandler] Applink request has returned an error with status code 401: {"message":"Client must be authenticated to access this resource.","status-code":401}
I've been searching through the community and the best answer is, "The JIRA Servicedesk user or Agent needs to be granted Create Page permission in the relevant Confluence space." I've done that wherever I find a place to grant permissions. Is there something else I'm missing? Do I need to do something extra with the reverse proxies?
Thanks,
Chris
Hi
It's because of the networking problem.
Define a separate HTTP connector with a different port in each app server.xml file. Here an extra connector for confluence:
Then use them as Application URL on Both sides and Use Https address for Display URL.
Thank you for your answer Ansar,
The example you show looks like it is the server.xml for confluence. Is that correct? I tried to follow the steps, but I got a server error when I tried to connect. Do I need to specify an ip address in the connector? Does jira's server.xml need an additional connector for http? It already has an additional Standard HTTP connector using port 8081 (in addition to 8080).
I've made sure that the firewalls for those ports were open, but still just get network errors.
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was able to get this working without network errors! But I still can't connect to confluence from jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think it had something to do with user lists and permissions. My boss went through these steps. I was a bit confused because there are references to crowd, which I thought was a separate application.
Disabling the Built-In User Management
https://confluence.atlassian.com/conf72/disabling-the-built-in-user-management-982323501.html
Connecting Confluence to Jira applications for User Management
Whitelist
https://confluence.atlassian.com/adminjiraserver070/configuring-the-whitelist-749383565.html
OAuth Impersonation
https://confluence.atlassian.com/applinks/oauth-security-for-application-links-774045732.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.