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 2021/11/26 18:07:28 UTC

[GitHub] [apisix] kevinw66 opened a new issue #5626: bug: attempt to concatenate field 'shm_name' (a nil value)

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

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



[GitHub] [apisix] spacewander commented on issue #5626: bug: attempt to concatenate field 'shm_name' (a nil value)

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #5626:
URL: https://github.com/apache/apisix/issues/5626#issuecomment-980841030


   @shuaijinchao 
   Please take a look.


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



[GitHub] [apisix] kevinw66 closed issue #5626: bug: attempt to concatenate field 'shm_name' (a nil value)

Posted by GitBox <gi...@apache.org>.
kevinw66 closed issue #5626:
URL: https://github.com/apache/apisix/issues/5626


   


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



[GitHub] [apisix] kevinw66 commented on issue #5626: bug: attempt to concatenate field 'shm_name' (a nil value)

Posted by GitBox <gi...@apache.org>.
kevinw66 commented on issue #5626:
URL: https://github.com/apache/apisix/issues/5626#issuecomment-982222228


   ![image](https://user-images.githubusercontent.com/31196226/143975036-fbb6a5fe-23a5-4dee-80f0-208857ceeb0f.png)
   


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



[GitHub] [apisix] shuaijinchao edited a comment on issue #5626: bug: attempt to concatenate field 'shm_name' (a nil value)

Posted by GitBox <gi...@apache.org>.
shuaijinchao edited a comment on issue #5626:
URL: https://github.com/apache/apisix/issues/5626#issuecomment-981513230


   @kevinw66 based on your description
   1. switch to the master branch (last commit ID: 8f0b066c)
   2. make deps
   3. make run
   
   I cannot reproduce this problem, can you provide more detailed steps to reproduce it?
   
   ![image](https://user-images.githubusercontent.com/8529452/143853001-4f3effd9-e65a-4af0-90e8-64f57fccc15a.png)
   


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



[GitHub] [apisix] kevinw66 commented on issue #5626: bug: attempt to concatenate field 'shm_name' (a nil value)

Posted by GitBox <gi...@apache.org>.
kevinw66 commented on issue #5626:
URL: https://github.com/apache/apisix/issues/5626#issuecomment-982234001


   After I re-run make deps, the lua-resty-etcd version is upgrade from 1.5.4 to 1.6.0 and this problem disappear.


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



[GitHub] [apisix] kevinw66 edited a comment on issue #5626: bug: attempt to concatenate field 'shm_name' (a nil value)

Posted by GitBox <gi...@apache.org>.
kevinw66 edited a comment on issue #5626:
URL: https://github.com/apache/apisix/issues/5626#issuecomment-982221673


   @shuaijinchao 
   Environment
   apisix version:master branch
   OS:Darwin wuzhiguodeMacBook-Pro.local 20.6.0 Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64 x86_64
   OpenResty / Nginx version:nginx version: openresty/1.19.9.1
   etcd version:3.5.0
   luarocks version, if the issue is about installation:3.8.0


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



[GitHub] [apisix] shuaijinchao commented on issue #5626: bug: attempt to concatenate field 'shm_name' (a nil value)

Posted by GitBox <gi...@apache.org>.
shuaijinchao commented on issue #5626:
URL: https://github.com/apache/apisix/issues/5626#issuecomment-981513230


   @kevinw66 based on your description
   1. switch to the master branch (commit ID: 8f0b066c)
   2. make deps
   3. make run
   
   I cannot reproduce this problem, can you provide more detailed steps to reproduce it?
   
   ![image](https://user-images.githubusercontent.com/8529452/143853001-4f3effd9-e65a-4af0-90e8-64f57fccc15a.png)
   


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



[GitHub] [apisix] kevinw66 commented on issue #5626: bug: attempt to concatenate field 'shm_name' (a nil value)

Posted by GitBox <gi...@apache.org>.
kevinw66 commented on issue #5626:
URL: https://github.com/apache/apisix/issues/5626#issuecomment-982225198


   but this can work correctly on branch release/2.11, I'm confused


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



[GitHub] [apisix] kevinw66 commented on issue #5626: bug: attempt to concatenate field 'shm_name' (a nil value)

Posted by GitBox <gi...@apache.org>.
kevinw66 commented on issue #5626:
URL: https://github.com/apache/apisix/issues/5626#issuecomment-982221673


   Environment
   apisix version:master branch
   OS:Darwin wuzhiguodeMacBook-Pro.local 20.6.0 Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64 x86_64
   OpenResty / Nginx version:nginx version: openresty/1.19.9.1
   etcd version:3.5.0
   luarocks version, if the issue is about installation:3.8.0


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