backnero commented on issue #2678:
URL: https://github.com/apache/apisix/issues/2678#issuecomment-725888505


   I upgraded from 1.4.1 to version 1.5, so it is etcd api V2. When I use 
   ```
   etcdctl ls /apisix
   ```
   
![image](https://user-images.githubusercontent.com/21979871/98907209-70a12e00-24f9-11eb-808d-40537dbce433.png)
   
   I get the key information normally
   
![image](https://user-images.githubusercontent.com/21979871/98907255-81ea3a80-24f9-11eb-8671-5bb91adfdf77.png)
   But there are always errors in error.log
   
   ```
   2020/11/12 15:07:56 [error] 49#49: *4695 lua entry thread aborted: runtime 
error: /usr/local/apisix/apisix/init.lua:128: attempt to index a nil value
   stack traceback:
   coroutine 0:
           /usr/local/apisix/apisix/init.lua: in function 'run_plugin'
           /usr/local/apisix/apisix/init.lua:457: in function 
'http_access_phase'
           access_by_lua(nginx.conf:167):2: in main chunk, client: 127.0.0.1, 
server: , request: "GET /account/user/info HTTP/2.0", host: "t.com", referrer: 
"http://localhost:9527/";
   ```


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