doudouliyougangbeng opened a new issue #6441:
URL: https://github.com/apache/apisix/issues/6441


   ### Issue description
   
   curl http://127.0.0.1:8081/apisix/admin/proto/1 -H 'X-API-KEY: XXX' -X PUT 
-d '
   {
        "content" : "syntax = \"proto3\";
        import "google/protobuf/any.proto";
   ...
   }
   {"error_msg":"invalid content: 
\/usr\/local\/tapisix\/\/deps\/share\/lua\/5.1\/protoc.lua:335: attempt to 
index field 'node' (a nil value)"}
   {"error_msg":"invalid content: 
\/usr\/local\/tapisix\/\/deps\/share\/lua\/5.1\/protoc.lua:915: filename for 
loaded:88:3: unknown type 'google.protobuf.Any'"}
   
   How to solve this problem?
          
   
   ### 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`):
   


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