leslie-tsang commented on issue #6009:
URL: https://github.com/apache/apisix/issues/6009#issuecomment-1008674908


   > 2022/01/04 18:05:17 [error] 24003#24003: *79260034 [lua] real-ip.lua:103: 
phase_func(): need to build APISIX-OpenResty to support setting real ip, 
client: 10.8.171.254, server: _, request: "POST /backend-auth/dept/query 
HTTP/1.1", host: "devapi.meomeopet.com", referrer: 
"http://localhost:8000/auth/department";
   
   This require APISIX-OpenResty to support this feature. More detail refer to 
[how-to-build](https://apisix.apache.org/docs/apisix/how-to-build/#step-6-build-openresty-for-apache-apisix)
   
   > error.log:2022/01/06 19:18:24 [warn] 8872#8872: *45690 [lua] 
real-ip.lua:121: phase_func(): missing real address, client: 10.8.171.254, 
server: _, request: "GET /backend-auth/login HTTP/1.1", host: "devapi.x.com"
   
   This mean that `real-ip` plugin can't find the HTTP header `X-Forwarded-For` 
in the request.
   
   Can you show a curl-formatted request to reproduce the issue ?
   


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