Network error on Confluence login

I've a server on which both Confluence and Jira are running. When a registrated user tries to login on Confluence, it gives the following error:

Sorry, a network error occurred trying to log you in. Please try again, and contact your administrator if the problem persists.

Confluence's error log gives the following 'explanation':

2012-04-25 20:52:12,782 ERROR [http-8080-2] [crowd.manager.application.ApplicationServiceGeneric] authenticateUser Directory 'Crowd Repository' is not functional during authenti$
2012-04-25 20:52:12,783 WARN [http-8080-2] [atlassian.confluence.user.ConfluenceAuthenticator] authenticate CommunicationException caught while authenticating user <bob>
com.atlassian.crowd.exception.runtime.CommunicationException
[...]
Caused by: java.net.ConnectException: Connection refused

each time a person tries to enter the confluence wiki on my server. The userdata is retrieved from a LDAP database.
This whole problem appears to come out of the blue: this one moment everything was working, the next Confluence decided to gives this anoying error.

2 answers

The error shows you are using Crowd. Does Crowd contact the LDAP then? Can you reach the Crowd server?
Even though I may sound queer, did you try and restart Confluence?

Errors comming out of the blue are often results of inconsistent caches, buffers etc.

I'm indeed using Crowd to make contact with the LDAP and it is installed on the same server as Confluence. The LDAP however is located on another server, but Crowd would be the only program to have trouble with the connection, if this is the source of the error.
Restarting Confluence is a good idea, but I've thought of that already and have restarted it (many times), just like I've restarted Crowd (also many times).

Research of the Crowd errorlogs shows that Crowd didn't produce any errorlogs since the time Confluence gave the error. For this, I think Crowd is the problem.
Well, checking the processes on the server, I've concluded that Crowd won't run at all. Everytime Crowd restarted, it did essentially nothing. Appearantly Crowd is so broken, it won't even say anymore it IS broken. Question remains: why is Crowd broken? Or more important: how can i fix it?

Crowd was indeed the problem. Upgrading crowd from version 2.2.4 tot 2.4.0 helped to solve the problem. Probably a file (or multiple files) of Crowd became corrupted for unknown reason.

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 Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

903 views 23 12
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