Kodekloud Engineer-Jenkins (serious issue)

most of the time Jenkins server in the koedkloud enginner returns 504 Gateway Time-out nginx/1.23.3. Its very much frustrating to see this after paying such good amount for fee, kindly solve this issue ASAP.