Recently, We have upgraded our Jenkins environment from version 2.346.2 to 2.387.1. We are facing issue such as Gateway timeout 504 error for accessing a few Jenkins jobs.
We have observed that some of the threads are stuck in the current request section under “Monitor Jenkins master” as
Handling GET /job/sample-job/wfapi/runs from 10.198.1.196 : Jetty (winstone)-49575
Once we kill that specific thread, jobs are accessible.
Please suggest how to fix this issue.