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/07/16 03:29:17 UTC
[GitHub] [incubator-apisix] wanzhenhan opened a new issue #1851: health check can't use
wanzhenhan opened a new issue #1851:
URL: https://github.com/apache/incubator-apisix/issues/1851
环境:
version: v1.4.0
路由和upstream配置:
curl -i --connect-timeout 1 http://127.0.0.1:9080/apisix/admin/routes/4444 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
{
"methods": ["POST", "GET","DELETE"],
"uri": "/xxxx/v1/readiness",
"plugins": {
},
"upstream": {
"type": "roundrobin",
"nodes": {
"10.82.4.112:10188": 1,
"10.82.4.112:10190": 1
},
"checks": {
"active": {
"http_path": "/xxxx/v1/liveness",
"host": "health.com",
"healthy": {
"interval": 4,
"successes": 1
},
"unhealthy": {
"interval": 5,
"http_failures": 1
}
}
}
}
}'
当客户端发起访问时,报如下错误:
failed to run balancer_by_lua*: /usr/local/openresty/lualib/resty/lock.lua:153: API disabled in the context of balancer_by_lua*
----------------------------------------------------------------
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
[GitHub] [incubator-apisix] membphis commented on issue #1851: health check can't use
Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1851:
URL: https://github.com/apache/incubator-apisix/issues/1851#issuecomment-659859814
Is it an inevitable bug, or does it happen occasionally?
Have you reproduced this bug stably?
----------------------------------------------------------------
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
[GitHub] [incubator-apisix] membphis edited a comment on issue #1851: health check can't use
Posted by GitBox <gi...@apache.org>.
membphis edited a comment on issue #1851:
URL: https://github.com/apache/incubator-apisix/issues/1851#issuecomment-659859814
Is it an inevitable bug, or does it happen occasionally?
Do you have a way to reproduce this bug stably?
----------------------------------------------------------------
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