apisix icon indicating copy to clipboard operation
apisix copied to clipboard

help request: Apisix retrying upstream with retry count set to 0

Open StretchV opened this issue 3 years ago • 3 comments

Description

Why is the retry count set to 0 in the backend upstream, and Apisix still tries 3 times for timeout requests (a total of 4 times, the situation is that the upstream is also an nginx, and the nginx timeout time is relatively short. It first returned 504, and then Apisix seems to have sent 3 more requests)

Environment

  • APISIX version (run apisix version): 2.15
  • Operating system (run uname -a):
  • OpenResty / Nginx version (run openresty -V or nginx -V):
  • etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info):
  • APISIX Dashboard version, if relevant:
  • Plugin runner version, for issues related to plugin runners:
  • LuaRocks version, for installation issues (run luarocks --version):

StretchV avatar Sep 27 '23 09:09 StretchV

@StretchV Can you paste the apisix configuration you're using? Along with other relevant configuration like route/upstream for this issue?

Revolyssup avatar Sep 27 '23 16:09 Revolyssup

Due to lack of the reporter's response this issue has been labeled with "no response". It will be close in 3 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.

github-actions avatar Oct 13 '23 10:10 github-actions

This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.

github-actions avatar Oct 17 '23 10:10 github-actions