How to configure netty connection-timeout for Spring WebFlux
问题 I am running spring cloud gateway (which I understand to be built on Spring Webflux) behind an AWS loadbalancer and I am receiving intermittent 502 errors. Upon investigation, it appears the issue has to do with connection timeouts between the loadbalancer and my nodes. From some investigation it appears that the underlying netty server has a default timeout of 10 seconds. I determined this using the following command... time nc -vv 10.10.xx.xxx 5100 Connection to 10.10.xx.xxx 5100 port [tcp/