Welcome! Log In Create A New Profile

Advanced

504 gateway timeouts

Wade Girard
December 27, 2017 05:04PM
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 1.12
of nginx and Tomcat 7) where requests through the proxy that take more than
60 seconds were failing, they are now working.

What seemed to be the fix was adding the following to the nginx.conf file

proxy_connect_timeout 600;

proxy_send_timeout 600;

proxy_read_timeout 600;

send_timeout 600;

in the location section for my proxy.


However this same change in the ubuntu servers has no effect at all.

The way I am testing this is that I create a request that sleeps the thread
for 5 minutes before retiring a response.

Any help appreciated.

Thanks

--
Wade Girard
c: 612.363.0902
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

504 gateway timeouts

Wade Girard December 27, 2017 05:04PM

Re: 504 gateway timeouts

Igal @ Lucee.org December 27, 2017 05:20PM

Re: 504 gateway timeouts

Wade Girard January 04, 2018 08:12AM

Re: 504 gateway timeouts

tokers January 04, 2018 08:48PM

Re: 504 gateway timeouts

Wade Girard January 04, 2018 11:46PM

Re: 504 gateway timeouts

pbooth January 05, 2018 02:36AM

Re: 504 gateway timeouts

Wade Girard January 05, 2018 07:30AM

Re: 504 gateway timeouts

Wade Girard January 09, 2018 01:54PM

Re: 504 gateway timeouts

pbooth January 09, 2018 03:58PM

Re: 504 gateway timeouts

Aziz Rozyev January 09, 2018 07:26PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 327
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