Gary-Airwallex opened a new issue #2938: URL: https://github.com/apache/apisix/issues/2938
### Issue description We have the prometheus plugin enabled in global rule and query the /apisix/promethues/metrics endpoint once per second. After upgrading to APISIX 2.0 from 1.5, occasionally we see ERROR logs like this: `[error] 36#36: *105103628 [lua] http.lua:951: request_uri(): unread data in buffer, client:, server: , request: "GET /apisix/prometheus/metrics HTTP/1.1"` ### Environment * apisix version (cmd: `apisix version`): 2.0 * OS: linux ### Minimal test code / Steps to reproduce the issue 1. We weren't able to reproduce this issue. ### What's the actual result? (including assertion message & call stack if applicable) Errors, see above. Not sure if this has any impact on the prometheus metrics? ### What's the expected result? No errors. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
