MariaLapovska commented on issue #10369: URL: https://github.com/apache/apisix/issues/10369#issuecomment-3900366603
@sheharyaar @shreemaan-abhishek These Nginx variables are set by Nginx's proxy module when it makes the upstream request. But `ext-plugin-post-resp` uses `lua-resty-http` to make the upstream request instead of Nginx's proxy module. Since `lua-resty-http` bypasses Nginx's proxy, specifically these two variables are never set: - $upstream_addr - $upstream_response_time That's why when `log-util.lua` tries to obtain them from nginx vars, it can't find anything. This is an issue with `ext-plugin-post-resp` - I'm facing the same thing. -- 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]
