You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/07/23 02:36:49 UTC

[GitHub] [apisix] kuberxy edited a comment on issue #4649: request help: Why is the request forwarded to an unhealthy node

kuberxy edited a comment on issue #4649:
URL: https://github.com/apache/apisix/issues/4649#issuecomment-885359581


   @spacewander  @tzssangglass  thanks. 
   
   in my environment, after one node goes down, other nodes have a certain load, which affects the health check (thinking that all nodes are unavailable), causing requests to be forwarded to the down node.
   
   my error log like this:
   ```
   2021/07/23 09:31:13 [error] 12880#12880: *1177465 upstream timed out (110: Connection timed out), client: 127.0.0.1, server: , request: "GET /res/static/css/Ktv.css HTTP/1.1", upstream: "http://192.168.3.11:8091/res/static/css/Ktv.css", host: "test.example.com", referrer: "https://test.example.com/circle/"
   2021/07/23 09:31:13 [error] 12878#12878: *1177487 upstream timed out (110: Connection timed out), client: 127.0.0.1, server: , request: "GET /circle/circle/reader.js HTTP/1.1", upstream: "http://192.168.3.11:8091/circle/circle/reader.js", host: "test.example.com", referrer: "https://test.example.com/circle/"
   2021/07/23 09:31:13 [error] 12878#12878: *1177487 [lua] balancer.lua:199: load_balancer(): failed to pick server: failed to find valid upstream server, all upstream servers tried while connecting to upstream, client: 127.0.0.1, server: , request: "GET /circle/circle/reader.js HTTP/1.1", upstream: "http://192.168.3.11:8091/circle/circle/reader.js", host: "test.example.com", referrer: "https://test.example.com/circle/"
   2021/07/23 09:31:13 [error] 12880#12880: *1177465 [lua] balancer.lua:199: load_balancer(): failed to pick server: failed to find valid upstream server, all upstream servers tried while connecting to upstream, client: 127.0.0.1, server: , request: "GET /res/static/css/Ktv.css HTTP/1.1", upstream: "http://192.168.3.11:8091/res/static/css/Ktv.css", host: "test.example.com", referrer: "https://test.example.com/circle/"
   2021/07/23 09:31:52 [error] 12877#12877: *1209538 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /circle/circle/clear.gif HTTP/1.1", upstream: "http://192.168.3.12:8091/circle/circle/clear.gif", host: "test.example.com", referrer: "https://test.example.com/circle/"
   2021/07/23 09:32:12 [error] 12875#12875: *1216086 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /res/static/circle/images/find.png HTTP/1.1", upstream: "http://192.168.3.12:8091/res/static/circle/images/find.png", host: "test.example.com", referrer: "https://test.example.com/circle/"
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org