heytong opened a new issue #3073:
URL: https://github.com/apache/apisix/issues/3073
### Issue description
[error] 13264#13264: *108 [lua] config_etcd.lua:448: failed to fetch data
from etcd: /home/admin/apisix-2.0/apisix/core/etcd.lua:84: attempt to index
field 'header' (a nil value)
stack traceback:
/home/admin/apisix-2.0/apisix/core/etcd.lua:84: in function 'get_format'
/home/admin/apisix-2.0/apisix/core/config_etcd.lua:98: in function
'readdir'
/home/admin/apisix-2.0/apisix/core/config_etcd.lua:176: in function
'sync_data'
/home/admin/apisix-2.0/apisix/core/config_etcd.lua:424: in function
</home/admin/apisix-2.0/apisix/core/config_etcd.lua:414>
[C]: in function 'xpcall'
/home/admin/apisix-2.0/apisix/core/config_etcd.lua:414: in function
</home/admin/apisix-2.0/apisix/core/config_etcd.lua:405>, etcd key:
/apisix/routes, context: ngx.timer
### Environment
* apisix version (2.0 & 2.1):
* OS: any
### Minimal test code / Steps to reproduce the issue
1、debug : config_etcd.lua:100: readdir():
-=-=-=-=-={"code":8,"error":"grpc: received message larger than max (4236894
vs. 4194304)","message":"grpc: received message larger than max (4236894 vs.
4194304)"}, context: ngx.timer
### What's the actual result? (including assertion message & call stack if
applicable)
1、The amount of data on the "/apisix/routes" is too large, We really need so
much data.
### 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:
[email protected]