-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
request help: #3520
Comments
Fixed by #2676 |
Please note that your request is 404 and did not reach the upstream node. If the upstream node is unavailable, it should return a status code of |
but if I choose roundrobin as upstream type , When a request to an upstream node returns a 404, the request is turn another node .The access.log will be printed multiple upstream information like this :172.18.193.68:23095, 172.18.193.68:23096, |
This was a bug in chash and already has been fixed. See my previous reply. |
thanks |
I see the Fixed by #2676 ,but My apisix version is 1.x ,Is there a way to fix it? |
You can wait for the 2.3 release, or patch APISIX by yourself. |
Issue description
When upstream selects type chash hash_on as cookie . This is what happened :
When a request to an upstream node returns a 404, it keeps sending requests to that upstream node without making a request to another node
Environment
apisix version
):2.1uname -a
):nginx -V
oropenresty -V
):curl http://127.0.0.1:9090/v1/server_info
to get the info from server-info API):The text was updated successfully, but these errors were encountered: