For some users, it takes really long to Log into JIRA.
This article only applies to Atlassian's server products. Learn more about the differences between cloud and server.
It takes really long for a single/some users to Log into JIRA and this always replicable. The logs did not say much where JIRA just log as usual where it takes longer for the login, without any error. For example, profiling logs enabled.
2019-02-21 14:33:59,292 http-nio-8080-exec-45 DEBUG user1 873x5050679x1 6nkdhs x.x.x.x,x.x.x.x /login.jsp [c.a.util.profiling.UtilTimerStack] [29147ms] - /login.jsp
Here, it takes 20 seconds for login.
JIRA is integrated with External User Directory and Tempo is installed.
No error to be found in the logs. Bypassing the network did not change the login times for the affected users.
- Create a new user and test the login. The expected result is for the new user to be logged in very fast compared to the affected user.
- Check whether Tempo is installed and check the amount of the teams the affected users are in. The recorded teams were the user to have this issue was around 1000 teams.
It appears due to the huge number of Tempo Teams the users are in, it makes the login slower.
- Remove the Teams from the user.
- Or, remove the Teams entirely.