kevinw66 opened a new issue #5626:
URL: https://github.com/apache/apisix/issues/5626


   ### Issue description
   
   When I use master branch to exec
   `make deps`
   `make run`
   An error occurred.
   But when I checkout tag  2.10.2
   the error not exists
   
   Is this code forget to pass the right parameters?
   
![image](https://user-images.githubusercontent.com/31196226/143618191-a1285d30-f167-42d4-b59f-1bb404d46fec.png)
   
![image](https://user-images.githubusercontent.com/31196226/143618209-e118a081-2e83-4dc3-8efd-f576bb5bda86.png)
   
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):master branch
   - OS (cmd: `uname -a`):
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   - etcd version, if have (cmd: run `curl 
http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   - apisix-dashboard version, if have:
   - the plugin runner version, if the issue is about a plugin runner (cmd: 
depended on the kind of runner):
   - luarocks version, if the issue is about installation (cmd: `luarocks 
--version`):
   
   
   ### Steps to reproduce
   
   make run
   
   ### Actual result
   
   nginx: [error] init_by_lua error: 
...b/apisix//deps/share/lua/5.1/resty/etcd/health_check.lua:75: attempt to 
concatenate field 'shm_name' (a nil value)
   stack traceback:
           ...b/apisix//deps/share/lua/5.1/resty/etcd/health_check.lua:75: in 
function 'init'
           ...ngye/Develop/Projects/Github/apisix/apisix/core/etcd.lua:61: in 
function 'new'
           ...velop/Projects/Github/apisix/apisix/core/config_etcd.lua:510: in 
function 'get_etcd'
           ...velop/Projects/Github/apisix/apisix/core/config_etcd.lua:785: in 
function 'init'
           ...s/changye/Develop/Projects/Github/apisix/apisix/init.lua:84: in 
function 'http_init'
           init_by_lua:9: in main chunk
   
   
   ### Error log
   
   nginx: [error] init_by_lua error: 
...b/apisix//deps/share/lua/5.1/resty/etcd/health_check.lua:75: attempt to 
concatenate field 'shm_name' (a nil value)
   stack traceback:
           ...b/apisix//deps/share/lua/5.1/resty/etcd/health_check.lua:75: in 
function 'init'
           ...ngye/Develop/Projects/Github/apisix/apisix/core/etcd.lua:61: in 
function 'new'
           ...velop/Projects/Github/apisix/apisix/core/config_etcd.lua:510: in 
function 'get_etcd'
           ...velop/Projects/Github/apisix/apisix/core/config_etcd.lua:785: in 
function 'init'
           ...s/changye/Develop/Projects/Github/apisix/apisix/init.lua:84: in 
function 'http_init'
           init_by_lua:9: in main chunk
   
   
   ### Expected result
   
   _No response_


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