-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
Issue description
Upstream combination vars_combinations are selected for the upstream configuration this is my configuration :
{
"id" : "161190602766647283",
"desc" : "prod-tour",
"nodes" : {
"172.18.234.22:8888" : 1,
"172.18.234.22:7777" : 1
},
"type" : "chash",
"hash_on" : "vars_combinations",
"key" : "request_uri",
"checks" : {
"active" : {
"http_path" : "/",
"healthy" : {
"interval" : 10
},
"unhealthy" : {
"interval" : 10
}
}
}
start is ok,but when I access route go wrong,this is error info
2021/02/04 15:28:30 [error] 8611#8611: *46068 lua entry thread aborted: runtime error: /mios/ispthird/openresty/anhui-master-3.1.0//lua/nginx.lua:333: attempt to index local 'upstream' (a nil value)
stack traceback:
coroutine 0:
/mios/ispthird/openresty/anhui-master-3.1.0//lua/nginx.lua: in function 'fun_org'
...pthird/openresty/anhui-master-3.1.0//lua/nginx/debug.lua:127: in function 'http_access_phase'
access_by_lua(nginx.conf:147):2: in main chunk, client: 172.20.80.39, server: nginx, request: "GET /tour/test.html HTTP/1.1", host: "172.18.234.22:23111"
Environment
- apisix version (cmd:
apisix version): - OS (cmd:
uname -a): - OpenResty / Nginx version (cmd:
nginx -Voropenresty -V): - etcd version, if have (cmd: run
curl http://127.0.0.1:9090/v1/server_infoto get the info from server-info API): - apisix-dashboard version, if have: