You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "sanjivkamate (via GitHub)" <gi...@apache.org> on 2023/08/03 05:10:49 UTC
[GitHub] [apisix] sanjivkamate commented on issue #9928: help request: Dynamic routing based on HTTP_STATUS from first API
sanjivkamate commented on issue #9928:
URL: https://github.com/apache/apisix/issues/9928#issuecomment-1663299287
>
Hi @chilcano , Please let me know how did you make this plugin work? I am getting below while starting apisix and configuring the same in config.yaml
2023/08/02 02:15:02 [error] 1743857#1743857: init_by_lua error: error loading module 'socket.core' from file '/usr/local/apisix/apisix/plugins/custom/pipeline-request.lua':
/usr/local/apisix/apisix/plugins/custom/pipeline-request.lua: invalid ELF header
stack traceback:
[C]: at 0x7fb18658e130
[C]: in function 'require'
/usr/local/apisix//deps/share/lua/5.1/socket.lua:12: in main chunk
[C]: in function 'require'
/usr/local/apisix/apisix/patch.lua:20: in main chunk
[C]: in function 'require'
/usr/local/apisix/apisix/init.lua:28: in main chunk
[C]: in function 'require'
init_by_lua:3: in main chunk
My configuration in config.yaml
apisix:
extra_lua_path: "/usr/local/apisix/custom/apisix/plugins/pipeline-request.lua"
plugins:
- pipeline-request
--
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-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org