Re: 504 gateway timeouts

2018-01-09 Thread Aziz Rozyev
Hi Wade, At least provide the access/error log fragments, curl -ivvv <..> outputs directly to the 3rd party service and via the nginx, jmeter (if you use that) outputs would make sense. Also, it would be nice to compare nginx configurations from the mac and linux. Currently it’s barely possible

Re: 504 gateway timeouts

2018-01-09 Thread Peter Booth
Wade, This reminds me of something I once saw with an application that was making web service requests to FedEx. So are you saying that the response times are bimodal? That you either get a remote response within a few seconds or the request takes more than 60 seconds, and that you have no 20s

Re: 504 gateway timeouts

2018-01-09 Thread Wade Girard
Hi nginx group, If anyone has any ides on this, they would be appreciated. Thanks On Fri, Jan 5, 2018 at 6:28 AM, Wade Girard wrote: > Hi Peter, > > Thank You. > > In my servlet I am making https requests to third party vendors to get > data from them. The requests typically take 4~5 seconds,

Re: 504 gateway timeouts

2018-01-05 Thread Wade Girard
Hi Peter, Thank You. In my servlet I am making https requests to third party vendors to get data from them. The requests typically take 4~5 seconds, but every now any then one of the requests will take more than 60 seconds. So the connection from the client to nginx to tomcat will remain open, an

Re: 504 gateway timeouts

2018-01-04 Thread Peter Booth
Wade, I think that you are asking “hey why isn’t nginx behaving identically on MacOS and Linux when create a servlet that invokes Thread.sleep(30) before it returns a response?.” Am I reading you correctly? A flippant response would be to say: “because OS/X and Linux are different OSes th

Re: 504 gateway timeouts

2018-01-04 Thread Wade Girard
I am not sure what is meant by this or what action you are asking me to take. The settings, when added to nginx conf file on Mac OS server and nginx reloaded take effect immediately and work as expected, the same settings when added to nginx conf file on Ubuntu and nginx reloaded have no effect at

Re: 504 gateway timeouts

2018-01-04 Thread Zhang Chao
> The version that is on the ubuntu servers was 1.10.xx. I just updated it to > > nginx version: nginx/1.13.8 > > And I am still having the same issue. > > How do I "Try to flush out some output early on so that nginx will know that Tomcat is alive." > > The nginx and tomcat connection is working f

Re: 504 gateway timeouts

2018-01-04 Thread Wade Girard
The version that is on the ubuntu servers was 1.10.xx. I just updated it to nginx version: nginx/1.13.8 And I am still having the same issue. How do I "Try to flush out some output early on so that nginx will know that Tomcat is alive." The nginx and tomcat connection is working fine for all re

Re: 504 gateway timeouts

2017-12-27 Thread Igal @ Lucee.org
On 12/27/2017 2:03 PM, Wade Girard wrote: I am using nginx on an ubuntu server as a proxy to a tomcat server. The nginx server is setup for https. I don't know how to determine what version of nginx I am using, but I install it on the ubuntu 1.16 server using apt-get. Run:  nginx -v I have

504 gateway timeouts

2017-12-27 Thread Wade Girard
I am using nginx on an ubuntu server as a proxy to a tomcat server. The nginx server is setup for https. I don't know how to determine what version of nginx I am using, but I install it on the ubuntu 1.16 server using apt-get. I have an issue that I have resolved locally on my Mac (using version