madhawa-gunasekara opened a new issue, #11223:
URL: https://github.com/apache/apisix/issues/11223

   ### Current Behavior
   
   node-status plugin works fine with http calls but It fails with https.
   
   current response for https :
   
   `<html>
   <head><title>500 Internal Server Error</title></head>
   <body>
   <center><h1>500 Internal Server Error</h1></center>
   <hr><center>openresty</center>
   <p><em>Powered by <a 
href="https://apisix.apache.org/";>APISIX</a>.</em></p></body>
   </html>
   `
   
   
   
   ### Expected Behavior
   
   
{"status":{"handled":"160","total":"231","writing":"6","waiting":"2","active":"8","reading":"0","accepted":"160"},"id":"3642510e-605a-484a-aede-654be7674499"}
   
   ### Error Logs
   
   
   2024/05/03 09:12:39 [error] 35#35: *17249 lua entry thread aborted: runtime 
error: /usr/local/apisix/apisix/plugins/node-status.lua:48: http2 requests not 
supported yet
   stack traceback:
   coroutine 0:
           [C]: in function 'ngx_capture'
           /usr/local/apisix/apisix/plugins/node-status.lua:48: in function 
'handler'
           /usr/local/apisix/apisix/api_router.lua:72: in function 'handler'
           /usr/local/apisix//deps/share/lua/5.1/resty/radixtree.lua:1013: in 
function 'dispatch'
           /usr/local/apisix/apisix/api_router.lua:111: in function 'match'
           /usr/local/apisix/apisix/plugins/public-api.lua:47: in function 
'phase_func'
           /usr/local/apisix/apisix/plugin.lua:1155: in function 'run_plugin'
           /usr/local/apisix/apisix/init.lua:729: in function 
'http_access_phase'
   
   
   ### Steps to Reproduce
   
   1. enable https protocol in apisix
   2.  enable node-status plugin with route apisix/status
   3. invoke the request with https protocol GET/apisix/status
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - 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: notifications-unsubscr...@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to