504 timeout on proxy
December 03, 2018 03:28PM
Hi everyone,

I got this legacy application that was developed in java/echo tecnology and is running on tomcat. the users used to access by the ip and port of the server. So, I tried to add a proxy using nginx. almost everything running ok, but there are some jobs that takes more than 3 hours to be completed, these old jobs are not async, so the proxy wait for them to be completed and timed out with 504 error code. I need a short term solution meanwhile I migrate those jobs to new async tech. I'm thinking in increase the timeout value to 14400 seconds (4hours), but I'm not sure if this is such a good idea. Can anyone help me out? increasing all to that value will impact the performance of the proxy?

Thanks in advance,
Eckly
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 249
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready