Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Directory 'Remote JIRA Directory' is not functional during authentication

Tim Stoel June 2, 2020

All of our users, including admins, are unable to log into Confluence, they are getting an error on the login page saying:

  • Sorry, an error occurred trying to log you in. Please try again.

This install has been up and working for a few months.  Users are managed by JIRA.  Everything was working last night.  The server has not been rebooted.  No IP addresses or port numbers have changed.  The hardware is a 40 core Xeon server with SSD RAID and 128GB of RAM.  CPU load rarely goes over 10% so I don't think it is a hardware resource issue.  All users are able to login to JIRA without problems.  All of the SSL certificates are good.  The log for confluence is showing this error:

authenticateUser Directory 'Remote JIRA Directory' is not functional during authentication of 'username_here'

I tested the crowd authentication, I get a login prompt from my browser but I am unable to login to:

jiraserverurl.mycompany.com/rest/usermanagement/1/search?entity-type=user&start-index=0&max-results=1&expand=user

Any tips on how to troubleshoot this?  All of the solutions I am finding there is at least admin access to the Confluence web UI.

3 answers

0 votes
Tim Stoel June 2, 2020

This may help... Under User Directories in Confluence I see:

Synchronization failed. See server logs for details.

I got this error when testing the JIRA user director sync from Confluence

Test basic connection : Failed com.atlassian.crowd.exception.ApplicationPermissionException: Forbidden (403) Encountered a "403 - Forbidden" error while loading this page. client.forbidden.exception Go to Jira home

Ditta Khan November 2, 2020

I am also encountering the same issue.

My JIRA and Confluence run on the same physical server.

 

I did recently move the server to another location. The IP addresses were updated.

The 403 error indicate there is comms. 

 

Any help greatly appreciated

Ditta Khan November 2, 2020

Hey, I found the solution here:

https://confluence.atlassian.com/stashkb/unable-to-connect-to-jira-for-authentication-forbidden-403-323391874.html

The problem came about because the IP address of my server had changed.

0 votes
Tim Stoel June 2, 2020

Thank you Kurt.  After a server reboot I am able to log into my administrator account on Confluence but none of the other users are.

I tailed the JIRA log file and found that no events happen in the JIRA log during the Confluence login process.  This is the error in the Confluence log:

authenticateUser Directory 'Remote JIRA Directory' is not functional during authentication of 'username_here'

I am still unable to login to:

jiraserverurl.mycompany.com/rest/usermanagement/1/search?entity-type=user&start-index=0&max-results=1&expand=user

I tried the following and I get a 404

confluenceserverurl.mycompany.com/rest/usermanagement/1/search?entity-type=user&start-index=0&max-results=1&expand=user

0 votes
Kurt Klinner
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 2, 2020

@Tim Stoel 

 

Hi Tim

welcome to the Atlassian community

Can you rerun your test from the confluence server. Looking at the atlassian-confluence.log might provide additional information

https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html

should guide you in getting access by using the recovery_admin user

Hope that helps

 

Cheers

Kurt

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events