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 2021/05/17 02:41:36 UTC

[GitHub] [apisix] Marco-Zheng commented on issue #4254: request help: introspection address somehow changed..

Marco-Zheng commented on issue #4254:
URL: https://github.com/apache/apisix/issues/4254#issuecomment-841940890


   > @Marco-Zheng By saying "I configure the discovery as below", what did you mean exactly?
   
   @tokers @gxthrj Sorry, let me update the discovery info, i configure the discovery like this 
   ![image](https://user-images.githubusercontent.com/52538259/118425276-6efc3100-b6fb-11eb-9727-571b5363419b.png)
   the  address is http://xxxxxxx.medcloud-dev1.svc.cluster.local:18080/oauth/discovery
   then i check http://xxxxxxx.medcloud-dev1.svc.cluster.local's `cluster ip` in k8s is `172.20.253.6`
   
   /oauth/discovery is one of api in auth-server, auth server will expose the api of introspection which can do token introspection, and i check the ip of introspection api is `172.20.253.6`, that's a correct address
   ![image](https://user-images.githubusercontent.com/52538259/118425599-1711fa00-b6fc-11eb-8f45-9eb24a553f2c.png)
   
   But when i sent a request to my server, i print the introspection address, somehow it show that introspection address is `172.20.7.236` which is different with correct ip `172.20.253.6`, so i don't know how it works.
   ![image](https://user-images.githubusercontent.com/52538259/118425625-25601600-b6fc-11eb-94ba-4bfe921af2cc.png)
   


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