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/11/16 05:30:04 UTC

[GitHub] [apisix] wenbinye opened a new issue #2758: bug:

wenbinye opened a new issue #2758:
URL: https://github.com/apache/apisix/issues/2758


   ### Issue description
   
   Cannot add stream_proxy config
   
   ### Environment
   
   * apisix version (cmd: `apisix version`): 2.0
   * OS: CentOS 8
   
   ### Minimal test code / Steps to reproduce the issue
   1. add in conf/config.yaml
   ```yaml
   apisix:
     stream_proxy:
       tcp: [ 6370 ]
   ```
   2. run `apisix init`,errors displayed:
   ```
   lua: ./bin/apisix:613: attempt to index a nil value (local 'base')
   stack traceback:
           ./bin/apisix:613: in upvalue 'merge_conf'
           ./bin/apisix:615: in upvalue 'merge_conf'
           ./bin/apisix:615: in upvalue 'merge_conf'
           ./bin/apisix:659: in upvalue 'read_yaml_conf'
           ./bin/apisix:825: in field '?'
           ./bin/apisix:1165: in main chunk
           [C]: in ?
   ```
   
   ### What's the actual result? (including assertion message & call stack if applicable)
   
   nginx.conf was not generate.
   if change conf/config-default.yaml add same config, `apisix init` will run successfully:
   ```yaml
   apisix:
     stream_proxy:
       tcp: [ 6370 ]
   ```
   
   ### What's the expected result?
   


----------------------------------------------------------------
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] [apisix] idbeta commented on issue #2758: bug:

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


   I can not reproduce your problem in my env, could you provide more information? Like how do you install APISIX, `apache-apisix-2.0-src.tgz` or `docker`?


----------------------------------------------------------------
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] [apisix] spacewander commented on issue #2758: bug:

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


   Should be solved by https://github.com/apache/apisix/pull/2476
   Feel free to reopen it if it could be reproduced in the master branch.


----------------------------------------------------------------
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] [apisix] spacewander closed issue #2758: bug:

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


   


----------------------------------------------------------------
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] [apisix] idbeta commented on issue #2758: bug:

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


   @wenbinye your issue title should be "bug: cannot add stream_proxy config".


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