We are using 2.46.3 and we do use LDAP as the user store. The jenkins master is running behind a tomcat server. Occasionally we face 504 Gateway timeout errors when trying to log in to Jenkins.
- The Anonymous user is disabled, therefore once we click the URL we must have an active session or we need to login.
- The Jenkins login page loads without any error.
- When the credentials are entered it takes a while and gives 504 Nginx Timeout error.
- Catalina.out does not show anything related to the error. Even when we are trying to login it does not show any relevant output.
- LDAP logs (/var/log/syslogs) does not show any relevant output.
What should do? What can be the possible explanations?