Applenice commented on issue #2695:
URL: https://github.com/apache/apisix/issues/2695#issuecomment-726600424


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


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


Reply via email to