AppServer - Tomcat - Gateway Timeout

jamesmcfly

New Member
Hello,
I am currently developing a native mobile application (iOS), by creating Web Service using the REST Adapter provided from OpenEdge 11.3 and Tomcat 7 as the Web Server.

The GET HTTP works perfectly, but I am currently confused with the POST HTTP.
I use a web service to update some data using Form with POST HTTP but somehow it gives me the 504 Error, which is "Gateway Timeout". If I remove some input parameter, it works fine with status code 200 (but of course the data is not complete, because I remove some input parameter).

I assume that the AppServer needed to work a little more longer than usual and the Web Server (in my case: Tomcat) has very small Timeout time so that the Web Server decided to not wait and gave the 504 Error. If it is the case, how can I increase the Timeout time? If not, how can I avoid this 504 Error?

Thank you!
 

jamesmcfly

New Member
I have solved this problem. It turns out that there are missing programs called in the program. I thought that the 504 Error was really because of the timeout, but it actually appear if the program has some error.
 
Top