Hi, I am trying to load a luasocket script which would make a rest call to a upstream service to determine the backend
The script is as follows: ³²" http = require ³socket.http" function choose_backend(txn, arg1) core.log(core.info, "Getting Info:" .. arg1) result, statuscode, content = http.request("http://localhost:6280/eos/rest/private/gds/l1/1.0/domain/" .. arg1) return result end core.register_fetches("choose_backend", choose_backend) ³²" However when starting haproxy, I get this error: [ALERT] 199/063903 (7106) : parsing [/home/egnyte/haproxy/conf/haproxy.conf:9] : lua runtime error: error loading module 'socket.core' from file '/usr/local/lib/lua/5.1/socket/core.so': /usr/local/lib/lua/5.1/socket/core.so: undefined symbol: lua_getmetatable Standalone lua scripts is fine with the require ³socket² line and I do see the output, but it fails to load within haproxy. Thanks Sachin