Welcome! Log In Create A New Profile

Advanced

Re: nginx with proxy_cache_use_stale not returning from cache when connection refused

December 10, 2014 10:00PM
When the upstream goes away nginx gives the error "502 Bad Gateway
nginx/1.4.6 (Ubuntu)". The log contains:

" [error] 2624#0: *48941 connect() failed (111: Connection refused) while connecting to upstream,"

Rather than serving it from cache as I would expect. It should be cached as the page was previous returned successfully.
Subject Author Posted

nginx with proxy_cache_use_stale not returning from cache when connection refused

new299 December 10, 2014 11:45AM

Re: nginx with proxy_cache_use_stale not returning from cache when connection refused

Maxim Dounin December 10, 2014 12:22PM

Re: nginx with proxy_cache_use_stale not returning from cache when connection refused

new299 December 10, 2014 10:00PM

Re: nginx with proxy_cache_use_stale not returning from cache when connection refused

jurerickporras December 15, 2014 12:28PM

Re: nginx with proxy_cache_use_stale not returning from cache when connection refused

Maxim Dounin December 11, 2014 09:42AM

Re: nginx with proxy_cache_use_stale not returning from cache when connection refused

Maxim Dounin December 15, 2014 01:12PM

Re: nginx with proxy_cache_use_stale not returning from cache when connection refused

Ruslan Ermilov December 11, 2014 03:14AM

Re: nginx with proxy_cache_use_stale not returning from cache when connection refused

new299 December 11, 2014 10:14AM

Re: nginx with proxy_cache_use_stale not returning from cache when connection refused

new299 December 11, 2014 10:25AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 323
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready