[GitHub] [apisix] membphis commented on issue #3342: bug: all requests on the upstream return 500 When the one node domain dns resolution timeout , even if the other node is ok

2021-01-20 Thread GitBox
membphis commented on issue #3342: URL: https://github.com/apache/apisix/issues/3342#issuecomment-763501279 `502` means the upstream is running but cannot respond to requests normally `503` means the upstream can not working (stoped or restarting) so I think we should use `503` if

[GitHub] [apisix] membphis commented on issue #3342: bug: all requests on the upstream return 500 When the one node domain dns resolution timeout , even if the other node is ok

2021-01-20 Thread GitBox
membphis commented on issue #3342: URL: https://github.com/apache/apisix/issues/3342#issuecomment-763495078 > Maybe we can ignore the failed DNS response? agree, and need to write an error log for this case. if there is no healthy node, we should return `503` for this case. -