Forums

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

login time takes about 5-10 minutes

Max Schlechter
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 26, 2019

Hello everyone,

We've got a little problem with our selfhosted Jira Core instance.
After you login, it takes about 5-10 minutes till I can do anything because the browser is loading and loading and I've already tried several different browsers (Chrome, IE, FF, Opera).
After the login everything works good and fast so I think there is something we've forgot to configure. We've also got a special configuration for our Jira instance.

Jira runs behind a netscaler which SSL offloads the traffic to the jira server (Ubuntu 18.04 LTS).
Jira itselfs only showing me this failure in troubleshooting and supporttools:
image.png

 

Log files:
(Catalina.out)
image.png

(atlassian-jira.log)
image.png

And this is our server.xml configuration:
image.png

 

I hope somebody could hepl us here.

3 answers

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 5, 2019

@Max Schlechter 

I think we need to gather some logs from your system to better troubleshoot this problem.  In order to do that, I created a support case on your behalf. https://getsupport.atlassian.com/servicedesk/customer/portal/20/GHS-144838

Regards,

Andy

0 votes
Jon Espen Ingvaldsen Kantega SSO
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.
March 4, 2019

Hi @Max Schlechter 

Under User Directories > advanced settings you should find a setting called "update group memberships when logging in" (see attached screenshot). Does the problem you experience disappear if you set this setting to "never"?

Regards,
Jon Espen
Kantega SSO

 

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 28, 2019

That sounds like a very long time to wait just to login.   I don't see any clear configuration problems with the screenshots you have supplied.  Perhaps there is a problem with the Jira Application being unable to reach it's base URL https://jira.example.com for example.

There is an expectation that the application itself can reach it's logical network address.  And not all past versions of Jira required this explicitly (Jira 7.0.x and before could work well without this, but starting in 7.1, Jira changed the way this works).  This requirement could be why you are getting that gadget/healthcheck error.  But I'm not convinced this is the same cause of the long login times.   It might help to review the KB How to fix gadget titles showing as __MSG_gadget to address that problem.

But as for the login time, I would want to know more about how you are managing user accounts in Jira. 

  1. Are you using Jira's Internal user directory for your user accounts?
  2. Have you connected an LDAP external directory into Jira's user management?
  3. Are you using Jira Crowd?

 

If you've connected Jira to an external user directory like an LDAP or AD instance, then Jira isn't actually the piece responsible for authentication here, instead the LDAP/AD server actually handles that. 

 

Immediately after you do login, what page/URL does your Jira instance take you to?  Is this the system dashboard?  If so, does the dashboard have a lot of content/gadgets on it?  You could try to set your "My Jira Home" to use some other default such as the issue navigator to see if this helps your login time.

myjirahome.png

If that doesn't help, then the next steps I would recommend would be to follow the steps in How to bypass a Proxy and SSL to test network connectivity.  If you can add a second connector to jira and then use that interface/port to reach the Jira site, it could help to tell us if this problem is being caused by the proxy or if perhaps this problem is caused by something else in Jira itself.

What version of Jira is this?

Max Schlechter
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 4, 2019

Hi Andrew,

thanks for your answer.
To your first question, yes we use the internal user directory at the moment but we have configured a LDAP authentication but it is disabled at the moment because this was also my suggestion for the login problem. And no we are not using Jira crowd, the only add-in which is installed is Insight - Asset Management.

After a successfull login the instance take me to http://OUR-JIRA-URL/secure/dashboard.jspa

Jira Information:

image.png

I've tested several things and I think, I finally found the issue, but thats not a real solution for the problem.

I've deleted the Projects Gadget (where I can see which project is asigned to my account) from the system dashboard and now it looks like the login problem has gone but now its clearly, that the problem has something to do with the gadgets because I cannot activate any.

image.png

Do you know how I can troubleshoot this?

Suggest an answer

Log in or Sign up to answer