arrowing opened a new issue, #9288:
URL: https://github.com/apache/apisix/issues/9288

   ### Current Behavior
   
   1、log in system by apisix (oidc connect plugin) and keycloak (bearea only)
   2、request resource first
   3、it always return status code 401
   4、a moment later, i request resources again and again, there are return code 
200 in 99% and a little return code 401 likes step 3.
   
   ### Expected Behavior
   
   It always return 200 when i log in system and request resources.
   
   ### Error Logs
   
   [lua] openidc.lua:502: call_token_endpoint(): accessing introspection 
endpoint (http://*/realms/*/protocol/openid-connect/token/introspect) failed: 
timeout, client: *, server: _, request: "GET /api/oidc HTTP/1.1", host: "*", 
referrer: "*"
   
   [lua] openid-connect.lua:275: phase_func(): OIDC introspection failed: 
accessing introspection endpoint 
(http://*/realms/*/protocol/openid-connect/token/introspect) failed: timeout, 
client: *, server: _, request: "GET / HTTP/1.1", host: "*", referrer: "*"
   
   ### Steps to Reproduce
   
   as like Current Behavior
   
   ### Environment
   
   - APISIX version (run `apisix version`): 2.14.1-alpine In Docker
   - Operating system (run `uname -a`): Linux 3.10.0-693.2.2.el7.x86_64 #1 SMP 
Tue Sep 12 22:26:13 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to