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

   ### Description
   
   forward-auth setting:
     request_method: POST
     auth-server method: POST
   if other-server use POST request: 
     when request.body is empty, get this:
     [lua] forward-auth.lua:120: phase_func(): failed to get 
client_body_reader. err: nil using core.request.get_body() instead
     when request.body is not empty(json), get this:
     upstream timed out (110: Connection timed out) while reading response 
header from upstream
   if other-server use GET request: 
     when request.body is empty, it's ok.
     when request.body is not empty(json), get this:
     forward-auth.lua:135: phase_func(): failed to process forward auth, err: 
timeout
   
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua version
   3.9.0
   
   - Operating system (run `uname -a`):
   Linux 97936cc479e8 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 
UTC 2024 x86_64 GNU/Linux
   
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   nginx version: openresty/1.25.3.1
   
   - 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