You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/11/27 15:02:56 UTC

[GitHub] [apisix-java-plugin-runner] sahara0506 opened a new issue #90: bug: serverless-pre-function配置报错

sahara0506 opened a new issue #90:
URL: https://github.com/apache/apisix-java-plugin-runner/issues/90


   使用高级玩法的时候,脚本提交的时候报错:
   脚本配置:
   "serverless-pre-function": {
         "disable": false,
         "functions": [
           "local core = require('apisix.core')  core.response.exit(403) "
         ],
         "phase": "access"
       }
   
   提交报错
   
   2021/11/27 22:55:28 [error] 50#50: *229857 [lua] config_etcd.lua:569: failed to fetch data from etcd: failed to check item data of [/apisix/routes] err:failed to check the configuration of plugin serverless-pre-function err: pcall error: /usr/local/apisix/apisix/core/response.lua:56: API disabled in the current context,  etcd key: /apisix/routes, context: ngx.timer
   2021/11/27 22:55:28 [error] 49#49: *230042 [lua] config_etcd.lua:569: failed to fetch data from etcd: failed to check item data of [/apisix/routes] err:failed to check the configuration of plugin serverless-pre-function err: pcall error: /usr/local/apisix/apisix/core/response.lua:56: API disabled in the current context,  etcd key: /apisix/routes, context: ngx.timer
   2021/11/27 22:55:28 [error] 48#48: *230106 [lua] config_etcd.lua:569: failed to fetch data from etcd: failed to check item data of [/apisix/routes] err:failed to check the configuration of plugin serverless-pre-function err: pcall error: /usr/local/apisix/apisix/core/response.lua:56: API disabled in the current context,  etcd key: /apisix/routes, context: ngx.timer
   2021/11/27 22:55:28 [error] 53#53: *230468 [lua] config_etcd.lua:569: failed to fetch data from etcd: failed to check item data of [/apisix/routes] err:failed to check the configuration of plugin serverless-pre-function err: pcall error: /usr/local/apisix/apisix/core/response.lua:56: API disabled in the current context,  etcd key: /apisix/routes, context: ngx.timer
   2021/11/27 22:55:28 [error] 47#47: *229646 [lua] config_etcd.lua:569: failed to fetch data from etcd: failed to check item data of [/apisix/routes] err:failed to check the configuration of plugin serverless-pre-function err: pcall error: /usr/local/apisix/apisix/core/response.lua:56: API disabled in the current context,  etcd key: /apisix/routes, context: ngx.timer
   
   


-- 
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



[GitHub] [apisix-java-plugin-runner] tzssangglass commented on issue #90: bug: serverless-pre-function配置报错

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #90:
URL: https://github.com/apache/apisix-java-plugin-runner/issues/90#issuecomment-986265639


   This error is not related to this project.
   
   pls go to the APISIX project and submit an issue with a replication example.


-- 
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



[GitHub] [apisix-java-plugin-runner] tzssangglass closed issue #90: bug: serverless-pre-function配置报错

Posted by GitBox <gi...@apache.org>.
tzssangglass closed issue #90:
URL: https://github.com/apache/apisix-java-plugin-runner/issues/90


   


-- 
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