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 2022/02/23 03:53:41 UTC

[GitHub] [apisix] ccwall3 opened a new issue #6425: bug: 配置文件里不能加空格

ccwall3 opened a new issue #6425:
URL: https://github.com/apache/apisix/issues/6425


   ### Issue description
   
   <img width="644" alt="057f5c3c4a39e3d3dc5eccd5a72cfae" src="https://user-images.githubusercontent.com/7711718/155259003-f751781d-3fed-4076-a5a5-8fea1ea2e317.png">
   启动报错
   failed to read local yaml config of apisix: failed to merge, path[plugin_attr->log-rotate->enable_compression] expect: boolean, but got: string
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):
   - 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
   
   pass
   
   ### Actual result
   
   pass
   
   ### Error log
   
   pass
   
   ### 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] tzssangglass commented on issue #6425: bug: 配置文件里不能加空格

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


   On the left side of the image, the `plugin_attr` on `log-rotate` is misconfigured.
   
   > 启动报错 failed to read local yaml config of apisix: failed to merge, path[plugin_attr->log-rotate->enable_compression] expect: boolean, but got: string
   
   You can try delete this line and rewrite it


-- 
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] tokers commented on issue #6425: bug: 配置文件里不能加空格

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


   @ccwall3 Could you explain the meaning of the red rectangles in your screenshoot?


-- 
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 closed issue #6425: bug: No spaces are allowed in the configuration file

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


   


-- 
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 #6425: bug: No spaces are allowed in the configuration file

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


   Closed as lack of response. Feel free to reopen it if need.


-- 
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] zaunist commented on issue #6425: bug: 配置文件里不能加空格

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


   Hi, @ccwall3. Could you check if there are any spaces after `false`, and if there are, you need to remove them.


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