guankai opened a new issue, #10808:
URL: https://github.com/apache/apisix/issues/10808
### Current Behavior
The corresponding upstream is configured and health_check is set in it. The
code is as follows:
`"checks": {
"active": {
"concurrency": 10,
"healthy": {
"http_statuses": [
200,
302
],
"interval": 1,
"successes": 2
},
"http_path": "/v1/apaas/adapter/login/config",
"timeout": 1,
"type": "http",
"unhealthy": {
"http_failures": 5,
"http_statuses": [
429,
404,
500,
501,
502,
503,
504,
505
],
"interval": 1,
"tcp_failures": 2,
"timeouts": 3
}
}
}`
However, I cannot obtain this upstream information through /healthcheck of
the control API, and the following error will be prompted:
`{"error_msg":"no checker for upstreams[495651237807522893]"}`
The apisix version I am currently using is 3.2. Is it because of a
configuration problem? enable_control in config.yaml has been set to true.
### Expected Behavior
It is expected that the upstream node information that has been configured
with health check can be queried through the /healthcheck interface of the
control API.
### Error Logs
_No response_
### Steps to Reproduce
1. Configure health check information for the specified upstream.
`"checks": {
"active": {
"concurrency": 10,
"healthy": {
"http_statuses": [
200,
302
],
"interval": 1,
"successes": 2
},
"http_path": "/v1/apaas/adapter/login/config",
"timeout": 1,
"type": "http",
"unhealthy": {
"http_failures": 5,
"http_statuses": [
429,
404,
500,
501,
502,
503,
504,
505
],
"interval": 1,
"tcp_failures": 2,
"timeouts": 3
}
}
}`
2.Set enable_control= true
3. Obtain the specified upstream node status through
/v1/healthcheck/upstreams/, but it cannot be obtained, prompting no checker for
upstreams[495651237807522893]
### Environment
- Apisix version 3.2
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]