You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/05/26 07:31:07 UTC

[GitHub] [apisix] heming79 commented on issue #7141: bug: 2.13.1 /v1/healthycheck 获取不到upstream 健康状态

heming79 commented on issue #7141:
URL: https://github.com/apache/apisix/issues/7141#issuecomment-1138250890

   有时候能看到有值  
   [
       {
           "nodes":[
               {
                   "priority":0,
                   "weight":1,
                   "host":"192.168.6.93",
                   "port":20452
               },
               {
                   "priority":0,
                   "weight":1,
                   "host":"192.168.6.91",
                   "port":20450
               }
           ],
           "name":"upstream#\/apisix\/upstreams\/409106632274886134",
           "src_type":"upstreams",
           "healthy_nodes":[
               {
                   "priority":0,
                   "weight":1,
                   "host":"192.168.6.91",
                   "port":20450
               }
           ],
           "src_id":"409106632274886134"
       },
       {
           "nodes":[
               {
                   "priority":0,
                   "weight":2,
                   "host":"192.168.6.93",
                   "port":20731
               },
               {
                   "priority":0,
                   "weight":1,
                   "host":"192.168.6.54",
                   "port":20730
               },
               {
                   "priority":0,
                   "weight":1,
                   "host":"192.168.6.91",
                   "port":20730
               }
           ],
           "name":"upstream#\/apisix\/upstreams\/409108789875195382",
           "src_type":"upstreams",
           "healthy_nodes":[
               {
                   "priority":0,
                   "weight":2,
                   "host":"192.168.6.93",
                   "port":20731
               }
           ],
           "src_id":"409108789875195382"
       }
   ]
   
   有时候 是空的 
   
   /usr/local/apisix/logs # more 2022-05-26_07-00-00__error.log
   2022/05/26 06:01:40 [error] 289#289: *27754543 [lua] init.lua:157: http_ssl_phase(): failed to fetch ssl config: failed to find SNI: please check if the client requests via IP or uses an outdated protocol. If you need to report an issue, provide a packet capture file of the TLS handshake., context: ssl_certificate_by_lua*, client: 193.106.191.48, server: 0.0.0.0:443
   2022/05/26 06:31:27 [error] 297#297: *28435830 [lua] init.lua:157: http_ssl_phase(): failed to fetch ssl config: failed to find SNI: please check if the client requests via IP or uses an outdated protocol. If you need to report an issue, provide a packet capture file of the TLS handshake., context: ssl_certificate_by_lua*, client: 193.106.191.48, server: 0.0.0.0:443
   2022/05/26 06:37:37 [error] 294#294: *28576762 [lua] init.lua:157: http_ssl_phase(): failed to fetch ssl config: failed to find SNI: please check if the client requests via IP or uses an outdated protocol. If you need to report an issue, provide a packet capture file of the TLS handshake., context: ssl_certificate_by_lua*, client: 193.106.191.48, server: 0.0.0.0:443
   2022/05/26 07:00:00 [warn] 310#310: *29091039 [lua] log-rotate.lua:266: send USR1 signal to master process [1] for reopening log file, context: ngx.timer
   
   现在就是空的 
   /usr/local/apisix/logs # curl 127.0.0.1:9090/v1/healthcheck
   {}
   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org