t1055475740 opened a new issue, #8305:
URL: https://github.com/apache/apisix/issues/8305

   ### Current Behavior
   
   在 dashboard 的 protocol buffers 里添加配置不能使用、无法删除,admin api 创建的 ID 显示为 /1 。
   
   使用 http to grpc 返回类型不匹配,http to http 可以正常使用。
   
   ### Expected Behavior
   
   [error] 45#45: *5248399 [lua] grpc-transcode.lua:134: phase_func(): proto 
load error: failed to find proto by id: 11, client: 192.168.130.30, server: _, 
request: "GET /api/serviceadmin/logout HTTP/1.1", host: "192.168.130.32:9080"
   
   
   [error] 45#45: *5257270 failed to run body_filter_by_lua*: 
.../local/apisix/apisix/plugins/grpc-transcode/response.lua:47: type mismatch 
for field 'total_page' at offset 3, varint expected for type uint32, got bytes
   stack traceback:
           [C]: in function 'decode'
           .../local/apisix/apisix/plugins/grpc-transcode/response.lua:47: in 
function 'response'
           /usr/local/apisix/apisix/plugins/grpc-transcode.lua:181: in function 
'phase_func'
           /usr/local/apisix/apisix/plugin.lua:980: in function 'common_phase'
           /usr/local/apisix/apisix/init.lua:682: in function 
'http_body_filter_phase'
           body_filter_by_lua:2: in main chunk while sending to client, client: 
192.168.130.21, server: _, request: "GET 
/api/serviceadmin/answer/getAnswerList?page_size=1 HTTP/1.1", upstream: 
"grpc://192.168.130.21:9001", host: "192.168.130.32:9080"
   
   
   [warn] 45#45: *5278959 [lua] v3.lua:733: request_chunk(): http://etcd:2379: 
failed to parse domain: failed to parse domain. Retrying, context: ngx.timer
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   apisix
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `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