Re: Upstream get stuck in disabled state for websocket load balancing

2021-07-11 Thread Maxim Dounin
Hello! On Fri, Jul 09, 2021 at 09:13:37AM -0400, Oleg Pisklov wrote: [...] > Then a strange thing happens. I expect that new websocket connections will > be distributed evenly among two backends. But most of them land on backend1, > as if backend2 is still disabled. Sometimes there is one client

Upstream get stuck in disabled state for websocket load balancing

2021-07-09 Thread Oleg Pisklov
My current nginx configuration looks like: worker_processes 1; error_log /dev/stdout debug; events { worker_connections 1024; } http { upstream back { server backend1 max_fails=1 fail_timeout=10; server backend2 max_fails=1 fail_timeout=10; } server { listen 80; locat