Adding 'Atlassian Jira' User Directory on Confluence returns HTTP error 404
Asked by Ryo Hasuda:

I was trying to share Jira users with newly-installed Confluence reading this document (<https://confluence.atlassian.com/doc/connecting-to-crowd-or-jira-for-user-management-229838465.html#ConnectingtoCrowdorJiraforUserManagement-ConnectingConfluencetoJiraapplicationsforUserManagement>), but I'm completely stuck.

In the section 'Connecting Confluence to Jira applications for User Management' you can find an instruction saying 'Add a directory and select type 'Atlassian Jira''.

This action should navigate to the Jira setting page (in which you put server URL, application name, application password and so on), but what I see instead is an HTTP 404 error page (like the photo I've attached).

Do you think of any possible cause for this problem? I have no idea what I'm supposed to do/check.

Some additional information (not sure if they help though):

* The same action successfully navigates to the setting page if I select other directory types than 'Atlassian Jira'.
* The base URL for Confluence is added into Jira Whitelist.
* Jira and Confluence are installed on the same server on AWS.
* I'm using nginx to deal with http requests.![?????.PNG](/t5/image/serverpage/image-id/64043i24B9B48E6322BF02/image-size/large?v=v2&px=999 "?????.PNG")


Answers:
author: Nobuyuki Mukai
body: ????????????????????language-ja???????????????????????????????????????????

?????????Jira????????????????????????404??????????????????????

![Screen Shot 2019-09-06 at 15.58.25.png](https://community.atlassian.com/t5/image/serverpage/image-id/65346iCF2315E35C8873CB/image-dimensions/519x200?v=v2 "Screen Shot 2019-09-06 at 15.58.25.png")

Embedded Crowd???????????????????????????

[?????????????????](https://ja.confluence.atlassian.com/upm/about-the-universal-plugin-manager-305759439.html)????????????????????????????????

![Screen Shot 2019-09-06 at 16.01.49.png](https://community.atlassian.com/t5/image/serverpage/image-id/65348i21C3F62B13E2BC39/image-dimensions/445x304?v=v2 "Screen Shot 2019-09-06 at 16.01.49.png")

???????????????[Confluence ?????? ?????????????](https://ja.confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html)????????????????????????

comments: author: Ryo Hasuda
body: ??????????????????

* Embedded Crowd????????
* ????? ?????????

??????????2????????????????????????????

?????Diego Canto Rodrigues??????????????????????

??????????????????????


author: Diego
body: Hey there Ryo!  
I recommend starting by checking if your proxy is not causing problems. Even though both instances are in the same server, the request can be tampered with by the proxy.   
Here is how to bypass the proxy:
> * [*++**How to bypass a Proxy and SSL to test network connectivity**++*](https://confluence.atlassian.com/jirakb/how-to-bypass-a-proxy-and-ssl-to-test-network-connectivity-827328189.html)

Also, since both instanes are on the same server, it is worth checking this:
> * ++***[Asked to authenticate when switching between Confluence and JIRA](https://confluence.atlassian.com/confkb/asked-to-authenticate-when-switching-between-confluence-and-jira-665420398.html)***++

Since cookies do not differentiate between port numbers, login can be problematic for instances running on the same server.

Let us hear from you, Ryo. Looking forward to your reply!

comments: author: Ryo Hasuda
body: Thank you for your reply.

Just a quick report; I tried the second solution but Confluence still shows the same error.

I will soon try the other one and tell you the result.


Tags: confluence-server

jira

jira-server

language-ja

server