<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 5 4 2 2 2 2 2 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hi,</p><p class=MsoNormal>I did find a ticket <a href="https://trac.nginx.org/nginx/ticket/189">https://trac.nginx.org/nginx/ticket/189</a> for the issue mentioned below.</p><p class=MsoNormal>The ticket seems to be still open!! </p><p class=MsoNormal>Any suggestions on how to handle this? </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>--------------------<br>-Best<br>Hemanth</p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='border:none;padding:0in'><b>From: </b><a href="mailto:nginx@nginx.org">Hemanth Kumar via nginx</a><br><b>Sent: </b>Friday, November 4, 2016 9:43 AM<br><b>To: </b><a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br><b>Cc: </b><a href="mailto:hemanthnews@yahoo.com">Hemanth Kumar</a><br><b>Subject: </b>504 Bad gateway error when server date/time is changed</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif;color:black'>Hi,<o:p></o:p></span></p><div id="yui_3_16_0_ym19_1_1478231495078_8940"><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif;color:black'>Following is the environment <o:p></o:p></span></p></div><div id="yui_3_16_0_ym19_1_1478231495078_8944"><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif;color:black'>OS: CentOS 7 (64 bit) <o:p></o:p></span></p></div><div id="yui_3_16_0_ym19_1_1478231495078_8953"><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif;color:black'>NGINX: 1.10.1<o:p></o:p></span></p></div><div id="yui_3_16_0_ym19_1_1478231495078_8981"><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif;color:black'>PHP/PHP-FPM: 5.6 <o:p></o:p></span></p></div><div id="yui_3_16_0_ym19_1_1478231495078_8989"><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif;color:black'>ZF2 <o:p></o:p></span></p></div><div id="yui_3_16_0_ym19_1_1478231495078_8997"><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif;color:black'>Apache 2.4<o:p></o:p></span></p></div><div id="yui_3_16_0_ym19_1_1478231495078_8998"><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif;color:black'><o:p> </o:p></span></p></div><div id="yui_3_16_0_ym19_1_1478231495078_8999"><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif;color:black'>The Web application is running with HTTPD configured to port 9080 and NGINX on port 80<o:p></o:p></span></p></div><div id="yui_3_16_0_ym19_1_1478231495078_9007"><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif;color:black'>There is an option to set the date, time and timezone from the app.<o:p></o:p></span></p></div><div id="yui_3_16_0_ym19_1_1478231495078_9094"><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif;color:black'>Whenever the date or time is changed on port-80, I get a 504 Bad gateway error but this error is not seen when Apache is used.<o:p></o:p></span></p></div><div id="yui_3_16_0_ym19_1_1478231495078_9095"><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif;color:black'>When the timezone is changed, this 504 error does not come.<o:p></o:p></span></p></div><div id="yui_3_16_0_ym19_1_1478231495078_9096"><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif;color:black'><o:p> </o:p></span></p></div><div id="yui_3_16_0_ym19_1_1478231495078_9101"><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif;color:black'>NOTE: The entire application is being serviced using message queue and when the time/date setting is bypassed, I don't see the error. <o:p></o:p></span></p></div><div id="yui_3_16_0_ym19_1_1478231495078_9124"><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif;color:black'><o:p> </o:p></span></p></div><div id="yui_3_16_0_ym19_1_1478231495078_9125"><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif;color:black'>Any idea why NGINX is behaving this way? <o:p></o:p></span></p></div><div id="yui_3_16_0_ym19_1_1478231495078_9126"><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif;color:black'><o:p> </o:p></span></p></div><div id="yui_3_16_0_ym19_1_1478231495078_9127"><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif;color:black'>-Best<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif;color:black'>Hemanth<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif;color:black'><o:p> </o:p></span></p></div><div id="yui_3_16_0_ym19_1_1478231495078_8943"><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif;color:black'> <o:p></o:p></span></p></div><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif;color:black'>-Hemanth<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>