jaredhuang opened a new issue #2960:
URL: https://github.com/apache/apisix/issues/2960


   ### Issue description
   when i start the limit-req  plugin ,I set:  burst  1 ,key remote_addr  ,rate 
1 ,rejected_code 503
   I access my web site ,sometimes get 503 ,  sometimes get 500 ,
   and i look the error.log ,i get 
   `, server: , request: "GET /api/screen/test/health HTTP/2.0", host: 
"passport.coocaa.com"
   2020/12/04 10:47:36 [error] 13542#13542: *185825 [lua] init.lua:527: 
http_access_phase(): failed to parse upstream: missing upstream configuration 
in Route or Service, client: 183.62.168.218, server: , request: "GET 
/api/screen/test/health HTTP/2.0", host: "xxxx.com"
   2020/12/04 10:47:38 [error] 13542#13542: *185825 [lua] init.lua:527: 
http_access_phase(): failed to parse upstream: missing upstream configuration 
in Route or Service, client: 183.62.168.218, server: , request: "GET 
/api/screen/test/health HTTP/2.0", host: "xxxx.com"`
   
   ### Environment
   
   * apisix version (cmd: `apisix version`):
   [root@tx-apisix-01 logs]# apisix  version
   2.1
   * OS:
   [root@tx-apisix-01 logs]# cat /etc/redhat-release 
   CentOS Linux release 7.8.2003 (Core)
   ### Minimal test code / Steps to reproduce the issue
   1.
   2.
   3.
   
   ### What's the actual result? (including assertion message & call stack if 
applicable)
   sometimes get 503 ,  sometimes get 500 ,
   
   
   ### What's the expected result?
   get 503 status


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