Nginx - ошибка upstream timed out (110: Connection timed out) while reading response header from upstream, client: различия между версиями

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск
(Новая страница: «{{#seo: |title=Nginx - ошибка upstream timed out (110: Connection timed out) while reading response header from upstream, client |titlemode=append |keywords…»)
 
Строка 1: Строка 1:
 +
[[Файл:B_1.gif |link=https://bit.ly/3tbFsd6| Доступная цена]]
 +
 
{{#seo:
 
{{#seo:
 
|title=Nginx - ошибка upstream timed out (110: Connection timed out) while reading response header from upstream, client
 
|title=Nginx - ошибка upstream timed out (110: Connection timed out) while reading response header from upstream, client

Версия 11:35, 30 марта 2020

Доступная цена


Ошибка

2014/10/03 14:21:00 [error] 549033#0: *10466327 upstream timed out (110: Connection timed out) while reading response header
from upstream, client: 95.xxx.xxx.xxx, server: _, request: "GET /xxxrend.php HTTP/1.1", upstream: 
 "http://201.45.xxx.xxx:80/xxxrend.php", host: "domain.ru"


если nginx проксирует динамику на apache, то решается добавлением и увеличением директив:

   location / {
       proxy_connect_timeout 300s;
       proxy_send_timeout 300s;
       proxy_read_timeout 300s;
   }


С оф. сайта:

Синтаксис:	proxy_read_timeout время;
Умолчание:	
proxy_read_timeout 60s;
Контекст:	http, server, location
Задаёт таймаут при чтении ответа проксированного сервера. Таймаут устанавливается не на всю передачу ответа, а только 
между двумя операциями чтения. Если по истечении этого времени проксируемый сервер ничего не передаст, соединение
 закрывается.

Links: