NGINX: upstream timed out (110: Connection timed out) while reading response header from upstream

后端 未结 11 1877
余生分开走
余生分开走 2020-11-28 19:47

I have Puma running as the upstream app server and Riak as my background db cluster. When I send a request that map-reduces a chunk of data for about 25K users and returns i

11条回答
  •  执笔经年
    2020-11-28 20:11

    For proxy_upstream timeout, I tried the above setting but these didn't work.

    Setting resolver_timeout worked for me, knowing it was taking 30s to produce the upstream timeout message. E.g. me.atwibble.com could not be resolved (110: Operation timed out).

    http://nginx.org/en/docs/http/ngx_http_core_module.html#resolver_timeout

提交回复
热议问题