简体   繁体   English

为什么Nginx给请求超时错误

[英]why does nginx give request time out error

I have deployed a rails app with Nginx and puma web server and Sometimes I get following error. 我已经用Nginx和puma Web服务器部署了Rails应用程序,有时会出现以下错误。

2018/12/13 12:07:04 [info] 25621#0: *156784 client timed out (110: Connection timed out) while waiting for request, client: 10.66.20.55, server: 0.0.0 .0:80 2018/12/13 12:07:04 [info] 25621#0:* 156784客户端在等待请求时超时(110:连接超时),客户端:10.66.20.55,服务器:0.0.0 .0:80

Can you please tell me what is the meaning of this error. 您能告诉我此错误的含义是什么。 Is the puma server is buzy? PUMA服务器忙吗? or nginx is buzy? 还是nginx很忙?

As you can see, it is not an error, just [info] , so don't worry about it. 如您所见,这不是错误,只是[info] ,所以不用担心。

Looks like client didn't send any request during keepalive_timeout , so connection has been closed. 看起来客户端在keepalive_timeout期间没有发送任何请求,因此连接已关闭。

You should warn about [error] entries, because errors occur if application really not accessible. 您应该警告[错误]条目,因为如果应用程序确实不可访问,则会发生错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 为什么在使用nginx时超时? - Why does it get timed out when using nginx? 为什么 fullcalendar 会给出它不提供名为“默认”的导出的错误? - Why does fullcalendar give the error that it does not provide an export called 'default'? 为什么Rails会为所有资产提供404错误? - Why does Rails give 404 error for all assets? 为什么我的函数给我错误的参数错误(0表示1)和(1表示0) - Why does my function give me wrong argument error (0 for 1), and (1 for 0 ) 为什么此函数会给出未定义的方法错误,但却使用byebug运行? - Why does this function give an undefined method error but runs using byebug? 为什么对链接的请求第二次在Rails中运行时会变慢? - Why does a request to a link is slower the second time it runs in production in rails? nginx 504网关超时 - nginx 504 Gateway Time-out 回形针Nginx 504网关超时 - Paperclip Nginx 504 Gateway Time-out Rails + Passenger + Nginx错误请求源(domainname.com)与请求Base_url(IP地址)不匹配 - Rails + Passenger + Nginx error Request Origin (domainname.com) does not match Request Base_url (IP Address) Rails:为什么 Prawn 在为我的 PDF 加载自定义字体时给我一个未知字体错误? - Rails: Why does Prawn give me an Unkown Font Error when loading a custom font for my PDF?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM