starsz commented on issue #2426:
URL: https://github.com/apache/apisix/issues/2426#issuecomment-1092684511

   > > ```shell
   > > 2020/10/10 06:47:45 [error] 26#26: *6045490 [lua] 
openid-connect.lua:163: phase_func(): failed to authenticate in openidc: 
request to the redirect_uri path but there's no session state found, client: 
192.168.1.145, server: , request: "GET
   > > ```
   > 
   > we got this error, I think it is fine. because you did not set a correct 
`redirect_uri`.
   > 
   > when missing `redirect_uri`, it'll use `ctx.var.request_uri` as default 
value: http://nginx.org/en/docs/http/ngx_http_core_module.html#var_request_uri .
   > 
   > > ```shell
   > > 2020/10/10 06:47:45 [error] 25#25: *6045493 lua entry thread aborted: 
runtime error: /usr/local/apisix/apisix/plugins/echo.lua:96: attempt to index 
local 'conf' (a userdata value)
   > > stack traceback:                                                         
                                                                                
   
   > > coroutine 0:                                                             
                                                                                
   > >         /usr/local/apisix/apisix/plugins/echo.lua: in function 
'phase_fun'                                                                     
                
   > >         [string "route#41ee9eef-564e-4208-86e6-fc6834bd7178"]:17: in 
function 'phase_func'                                                           
       
   > >         /usr/local/apisix/apisix/script.lua:52: in function 'run'        
                                                                                
         
   > >         /usr/local/apisix/apisix/init.lua:508: in function 
'http_access_phase'  
   > > ```
   > 
   > @liuxiran that is another error message of plugin `echo`, but I do not 
find you enabled this plugin. so I think this error message is not related to 
this issue.
   
   Hi, @Xarxavier I think your problem is the same as 
[membphis](https://github.com/membphis).
   You can read the issue, and I think you will get the answer.


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