{"id":2752,"date":"2012-07-06T11:48:52","date_gmt":"2012-07-06T08:48:52","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=2752"},"modified":"2016-04-08T17:02:29","modified_gmt":"2016-04-08T14:02:29","slug":"error-upstream-timed-out-60-operation-timed-out-while-reading-response-header-from-upstream","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=2752","title":{"rendered":"[nginx] \u041e\u0448\u0438\u0431\u043a\u0438 nginx&#8217;a"},"content":{"rendered":"<p><strong><span style=\"color: #ff6600;\">[error] upstream timed out (Operation timed out) while reading response header from upstream<\/span><\/strong><\/p>\n<p>\u042d\u0442\u0430 \u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0442\u043e\u0433\u0434\u0430, \u043a\u043e\u0433\u0434\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0447\u0435\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439<strong> timeout front-end&#8217;a<\/strong>. \u041e\u0431\u044b\u0447\u043d\u043e \u043e\u043d\u0430 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u043a\u043e\u0433\u0434\u0430 <strong>nginx<\/strong> \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0434\u0430\u043b\u044c\u0448\u0435 (\u043d\u0430 <strong>apache<\/strong>, \u043d\u0430 <strong>php-fpm<\/strong>, &#8230;) \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u044d\u0442\u0438 \u0442\u0430\u0439\u043c\u0430\u0443\u0442\u044b &#8211; <strong>60<\/strong> \u0441\u0435\u043a\u0443\u043d\u0434. \u041f\u043e\u0441\u0442\u0430\u0432\u0438\u043c <strong>180<\/strong> (\u044d\u0442\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0432 <strong>location<\/strong>):<\/p>\n<p><code>proxy_send_timeout 180s;<br \/>\nproxy_read_timeout 180s;<\/code><\/p>\n<p>\u0425\u043e\u0447\u0443 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0431\u0443\u043a\u0432\u0430 <strong>&#8216;s&#8217;<\/strong> &#8211; \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u0430. \u0411\u0435\u0437 \u043d\u0435\u0451 \u043e\u0448\u0438\u0431\u043e\u043a \u043d\u0435 \u0431\u0443\u0434\u0435\u0442, \u043d\u043e \u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c\u0441\u044f.<\/p>\n<p><!--more--><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff6600;\">[error] client intended to send too large body<\/span><\/strong><\/p>\n<p>\u041e\u0448\u0438\u0431\u043a\u0430 \u0441\u0432\u044f\u0437\u0430\u043d\u0430 \u0441 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435\u043c \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 (\u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u0441 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u0432 \u0432\u043b\u043e\u0436\u0435\u043d\u0438\u044f). \u0420\u0435\u0448\u0435\u043d\u0438\u0435: \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439<\/p>\n<p><code>client_max_body_size 50m;<\/code><\/p>\n<p>\u043f\u0440\u0438\u0447\u0451\u043c, \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u0434\u043e\u043b\u0436\u043d\u044b \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0435 \u0432\u043d\u0443\u0442\u0440\u0438 <strong>location<\/strong>, \u0430 \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 <strong>http\/server<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[error] upstream timed out (Operation timed out) while reading response header from upstream \u042d\u0442\u0430 \u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0442\u043e\u0433\u0434\u0430, \u043a\u043e\u0433\u0434\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0447\u0435\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 timeout front-end&#8217;a. \u041e\u0431\u044b\u0447\u043d\u043e \u043e\u043d\u0430 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u043a\u043e\u0433\u0434\u0430 nginx \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0434\u0430\u043b\u044c\u0448\u0435 (\u043d\u0430 apache, \u043d\u0430 php-fpm, &#8230;) \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u044d\u0442\u0438 \u0442\u0430\u0439\u043c\u0430\u0443\u0442\u044b &#8211; 60 \u0441\u0435\u043a\u0443\u043d\u0434. \u041f\u043e\u0441\u0442\u0430\u0432\u0438\u043c 180 (\u044d\u0442\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0432 location): proxy_send_timeout 180s; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-2752","post","type-post","status-publish","format-standard","hentry","category-www"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2752","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2752"}],"version-history":[{"count":9,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2752\/revisions"}],"predecessor-version":[{"id":4941,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2752\/revisions\/4941"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2752"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2752"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2752"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}