guankai commented on issue #10808:
URL: https://github.com/apache/apisix/issues/10808#issuecomment-1888276325

   > I wasn't able to reproduce the error, `v1/healthcheck/upstreams/1` worked 
fine for me. Can you provide apisix logs and the upstream node config? @guankai
   The following is my upstream configuration:
   `{
     "nodes": [
       {
         "host": "10.136.106.74",
         "port": 30086,
         "weight": 1
       },
       {
         "host": "10.136.107.102",
         "port": 30080,
         "weight": 1
       }
     ],
     "timeout": {
       "connect": 6,
       "send": 6,
       "read": 6
     },
     "type": "chash",
     "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
         }
       }
     },
     "hash_on": "vars",
     "key": "remote_addr",
     "scheme": "http",
     "pass_host": "pass",
     "name": "healthcheck-1",
     "keepalive_pool": {
       "idle_timeout": 60,
       "requests": 1000,
       "size": 320
     }
   }`
   Use postman to debug the control api as follows:
   <img width="583" alt="image" 
src="https://github.com/apache/apisix/assets/2645968/e8a8333c-ba5f-48ae-b28d-01dd52ad226c";>
   I did not see the error message of the control api in the apisix log.


-- 
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]

Reply via email to