ericzxj commented on issue #12827:
URL: https://github.com/apache/apisix/issues/12827#issuecomment-3680343013

   / {   "remote_addr":"127.0.0.1",   "http_x_forward":"",   "request":"GET 
/kong/health HTTP/1.1",   "status":"400",   "byte":"393",   
"upstream_connect_time":"",   "upstream_header_time":"",   
"upstream_response_time":"",   "refer":"",   "ua":"",   "gzip":"",   
"http_host":"",   "server_addr":"127.0.0.1",   "upstream_addr":"",   
"time_iso8601":"2025-12-19T16:16:17+08:00",   "http_accept":"" }  
这个就是日志信息,没有error日志输出,配置是这样的"uris": [
   "/kong/health"
   ],
   "name": "health_check",
   "methods": [
   "GET"
   ],
   "plugins": {
   "response-rewrite": {
   "body": "SUCCESS",
   "body_base64": false,
   "status_code": 200
   }
   },
   "upstream": {
   "nodes": [
   {
   "host": "127.0.0.1",
   "port": 8000,
   "weight": 1
   }
   ],
   "type": "roundrobin",
   "hash_on": "vars",
   "scheme": "http",
   "pass_host": "pass"
   },
   "status": 1,
   
   目前配置是这样的,尝试过增加"checks": "active" 配置还是不行
   
   > 你好[@ericzxj](https://github.com/ericzxj)请提供您的健康检查配置,以及 APISIX 访问日志和错误日志。
   
   


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