nic-chen commented on issue #2695:
URL: https://github.com/apache/apisix/issues/2695#issuecomment-726632118


   > After adding `enable-grpc-gateway: true`, after working for a while, it 
starts reporting errors at a high frequency,The `error.log` file has reached 
24M in 40 minutes.😳
   > 
   > ```
   > 
   > 2020/11/13 16:20:18 [error] 8944#8944: *831322 [lua] config_etcd.lua:448: 
failed to fetch data from etcd: /usr/local/apisix/apisix/core/etcd.lua:115: bad 
argument #1 to 'ipairs' (table expected, got nil)
   > 
   > stack traceback:
   > 
   >    [C]: in function 'ipairs'
   > 
   >    /usr/local/apisix/apisix/core/etcd.lua:115: in function 'waitdir'
   > 
   >    /usr/local/apisix/apisix/core/config_etcd.lua:255: in function 
'sync_data'
   > 
   >    /usr/local/apisix/apisix/core/config_etcd.lua:424: in function 
</usr/local/apisix/apisix/core/config_etcd.lua:414>
   > 
   >    [C]: in function 'xpcall'
   > 
   >    /usr/local/apisix/apisix/core/config_etcd.lua:414: in function 
</usr/local/apisix/apisix/core/config_etcd.lua:405>,  etcd key: 
/apisix/global_rules, context: ngx.timer
   > 
   > ```
   
   you could try to run 'apisix init'


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to