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 2020/05/08 07:13:25 UTC
[GitHub] [incubator-apisix] panhow commented on issue #1555: request help: active health check doesn't work
panhow commented on issue #1555:
URL: https://github.com/apache/incubator-apisix/issues/1555#issuecomment-625673970
here is my log,
first request send in 11:45 am,
second request send at about 15:00 pm.
no ohter logs during two requests.
I think the health check should have other health check logs after the first request
```shell
2020/05/08 11:45:57 [error] 40876#0: *3379 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "cc.pgh.com"
2020/05/08 11:45:57 [warn] 40876#0: *3379 [lua] healthcheck.lua:1107: log(): [healthcheck] (upstream#/apisix/upstreams/00000000000000000356) unhealthy TCP increment (1/2) for '(127.0.0.1:8000)' while connecting to upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "cc.pgh.com"
2020/05/08 15:00:01 [error] 40876#0: *1326929 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8888/", host: "cc.pgh.com"
2020/05/08 15:00:01 [warn] 40876#0: *1326929 [lua] healthcheck.lua:1107: log(): [healthcheck] (upstream#/apisix/upstreams/00000000000000000356) unhealthy TCP increment (1/2) for '(127.0.0.1:8888)' while connecting to upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8888/", host: "cc.pgh.com"
2020/05/08 15:00:01 [error] 40876#0: *1326929 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "cc.pgh.com"
2020/05/08 15:00:01 [warn] 40876#0: *1326929 [lua] healthcheck.lua:1107: log(): [healthcheck] (upstream#/apisix/upstreams/00000000000000000356) unhealthy TCP increment (2/2) for '(127.0.0.1:8000)' while connecting to upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "cc.pgh.com"
2020/05/08 15:00:01 [error] 40876#0: *1326929 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8888/", host: "cc.pgh.com"
2020/05/08 15:00:01 [warn] 40876#0: *1326929 [lua] healthcheck.lua:1107: log(): [healthcheck] (upstream#/apisix/upstreams/00000000000000000356) unhealthy TCP increment (2/2) for '(127.0.0.1:8888)' while connecting to upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8888/", host: "cc.pgh.com"
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org