You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error : failed to run balancer_by_lua*: /usr/local/lib/lua/resty/core/base.lua:24: ngx_http_lua_module 0.10.19 or 0.10.20 required
stack traceback:
[C]: in function 'error'
/usr/local/lib/lua/resty/core/base.lua:24: in main chunk
[C]: in function 'require'
/usr/local/lib/lua/ngx/balancer.lua:4: in main chunk
[C]: in function 'require'
balancer_by_lua:2: in main chunk while connecting to upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", host: "localhost"
The text was updated successfully, but these errors were encountered:
buithevuong
changed the title
Error : failed to run balancer_by_lua*: balancer_by_lua:2: loop or previous error loading module 'ngx.balancer'
Error : failed to run balancer_by_lua*: /usr/local/lib/lua/resty/core/base.lua:24: ngx_http_lua_module 0.10.19 or 0.10.20 required
Sep 13, 2021
Why curl localhost always return "500 Internal Server Error".
I followed the example of ngx.balancer :
https://github.com/openresty/lua-resty-core/blob/master/lib/ngx/balancer.md
Error : failed to run balancer_by_lua*: /usr/local/lib/lua/resty/core/base.lua:24: ngx_http_lua_module 0.10.19 or 0.10.20 required
stack traceback:
[C]: in function 'error'
/usr/local/lib/lua/resty/core/base.lua:24: in main chunk
[C]: in function 'require'
/usr/local/lib/lua/ngx/balancer.lua:4: in main chunk
[C]: in function 'require'
balancer_by_lua:2: in main chunk while connecting to upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", host: "localhost"
The text was updated successfully, but these errors were encountered: