You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/12/04 02:59:18 UTC

[GitHub] [apisix] jaredhuang opened a new issue #2960: bug: missing upstream configuration in Route or Service

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



[GitHub] [apisix] moonming commented on issue #2960: bug: missing upstream configuration in Route or Service

Posted by GitBox <gi...@apache.org>.
moonming commented on issue #2960:
URL: https://github.com/apache/apisix/issues/2960#issuecomment-739882218


   @membphis please take a look


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



[GitHub] [apisix] membphis commented on issue #2960: bug: missing upstream configuration in Route or Service

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2960:
URL: https://github.com/apache/apisix/issues/2960#issuecomment-738891170


   pls provide the error log when you got 500 response


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



[GitHub] [apisix] github-actions[bot] commented on issue #2960: bug: missing upstream configuration in Route or Service

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #2960:
URL: https://github.com/apache/apisix/issues/2960#issuecomment-977726470


   This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


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

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] github-actions[bot] commented on issue #2960: bug: missing upstream configuration in Route or Service

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #2960:
URL: https://github.com/apache/apisix/issues/2960#issuecomment-989705340


   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


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

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] tzssangglass commented on issue #2960: bug: missing upstream configuration in Route or Service

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #2960:
URL: https://github.com/apache/apisix/issues/2960#issuecomment-739657947


   verify that  the matched `router` or the `service` has config the `upstream`, I just do this mistake.


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



[GitHub] [apisix] github-actions[bot] closed issue #2960: bug: missing upstream configuration in Route or Service

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #2960:
URL: https://github.com/apache/apisix/issues/2960


   


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

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] tzssangglass commented on issue #2960: bug: missing upstream configuration in Route or Service

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #2960:
URL: https://github.com/apache/apisix/issues/2960#issuecomment-740524025


   > @tzssangglass please add my QQ: 272995614
   > 
   > I cannot reproduce your issue. We talk by IM for more detailed information.
   
   no need, I caused this exception due to my own error and solved it, it was a problem with my configuration parameters.Σ( ° △ °|||)︴
   
   you need @jaredhuang 


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



[GitHub] [apisix] jaredhuang commented on issue #2960: bug: missing upstream configuration in Route or Service

Posted by GitBox <gi...@apache.org>.
jaredhuang commented on issue #2960:
URL: https://github.com/apache/apisix/issues/2960#issuecomment-739637642


   > pls provide the error log when you got 500 response
   @membphis ,
   `, server: , request: "GET /api/screen/test/health HTTP/2.0", host: "passport.xxx.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"`
   


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



[GitHub] [apisix] membphis commented on issue #2960: bug: missing upstream configuration in Route or Service

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2960:
URL: https://github.com/apache/apisix/issues/2960#issuecomment-740499930


   @tzssangglass please add my QQ: 272995614 
   
   I cannot reproduce your issue. We talk by IM for more detailed information.


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