It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Sorry, a network error occurred trying to log you in. Please try again, and contact your administrat

I was on an evaluation H2 database and recently moved to a new server. I managed to migrate JIRA successfully to the new server but on installing Confluence, I get the error:

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

 This happens when I try to log in after restoring from the backup file of Confluence. How can I fix this issue?

I'm using PostgreSQL, 2 dbs, one for confluence and one for jira.  Please help me out!

1 answer

0 votes

Hello Jackson,

Welcome to Atlassian Community. It's nice to meet you! To confirm, you receive this error when you attempt to visit Confluence, or when you login? Could you show me a screenshot of that error?

I have a few questions as well:

  1. Could you confirm with us your Jira and Confluence versions? 
  2. Is Confluence using Crowd or Jira as its user base? 
  3. Can you include the stack trace from your Confluence server logs when you attempt to login? 

Thank you for your help!

Regards,

Shannon

1. Confluence 7.2.0, Jira 8.5.1

2. How can I check whether confluence is using crowd or jira as userbase?

3. Is this what you are looking for: https://pastebin.com/3AdNCxxw ?

Hello Jackson,

Thank you for confirming your Confluence and Jira versions.

You'll need to be a site admin, but you can check for sure in the User Directories settings. See Configuring User Directories for more details.

From the stack trace you sent me, Confluence seems to be having issues connecting to localhost:8088. You're getting a "Connection Refused" error there. You might want to reach out to your server admin and see what the problem might be there.

Let me know if you have any trouble.

Regards,

Shannon

Hi,

I'm the site and server admin. Just for clarification I'm running the self-hosted versions of both confluence and jira. I'm unable to login to confluence after restoring the backup so I'm not able to go to the user directories settings.

Also, confluence is installed on port 8095 and Jira on 8081. So I'm not sure why it's trying to communicate with port 8088. I've attached screenshot of the error I get on confluence below:

cc.png

Thanks, Jackson.

In that case, you'll need to find out what Confluence is attempting to connect to on port 8088. This is the only error that I am able to see from the stack trace that you sent and can likely be the cause for your error.

You can attempt to recover access using Restore Passwords to Recover Admin User Rights, or see the earlier documentation for details on how to manage your user directories via the database.

An example from that above article shows you the query to get a list of your user directories and their order from your database:

select d.id, d.directory_name, m.list_index from cwd_directory d join cwd_app_dir_mapping m on d.id=m.directory_id;

You can try that if you want to see what your user directories are set up like now.

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

227 views 3 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you