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 2022/04/20 04:43:23 UTC

[GitHub] [apisix] jiuchongxiao opened a new issue, #6888: init.lua:726: phase_func(): failed to acquire the lock: timeoutrequest help: #138help request:

jiuchongxiao opened a new issue, #6888:
URL: https://github.com/apache/apisix/issues/6888

   ### Description
   
   [](https://user-images.githubusercontent.com/13093730/164147546-b975f4b5-6342-4520-a04d-2dc06923178c.png)Issue description
   java-plugin demofilter,cannot exec success.
   
   2022/04/20 03:54:56 [error] 44#44: *12875 [lua] init.lua:726: phase_func(): failed to acquire the lock: timeout, client: 10.233.64.0, server: _, request: "GET /test HTTP/1.1", host: "10.27.163.82:8898"
   2022/04/20 03:54:56 [warn] 44#44: *12875 [lua] plugin.lua:750: run_plugin(): ext-plugin-pre-req exits with http status code 503, client: 10.233.64.0, server: _, request: "GET /test HTTP/1.1", host: "10.27.163.82:8898"
   
   Environment
   image
   
   配置stream
   curl "http://10.27.163.82:8897/apisix/admin/upstreams/1" -H "X-API-KEY: edd1c9f034335f136f87ad84b625c8f1" -X PUT -d '{
   "type": "roundrobin","nodes": {"172.24.164.113:8099": 1}}'
   
   #配置路由
   curl "http://10.27.163.82:8897/apisix/admin/routes/1" -H "X-API-KEY: edd1c9f034335f136f87ad84b625c8f1" -X PUT -d '
   {
   "uri": "/test",
   "upstream_id": "1",
   "plugins": {
   "ext-plugin-pre-req": {
   "conf": [
   {
   "name": "DemoFilter",
   "value": "config"
   }
   ]
   }
   }
   }'
   
   
   ### Environment
   
   - APISIX version (run `apisix version`):2.13
   
   - Operating system (run `uname -a`):
    Linux hbbj-infoflowtesting-k8s-1.bcc-bjdd.baidu.com 4.17.11-1.el7.elrepo.x86_64 #1 SMP Sat Jul 28 09:33:09 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux
   
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   nginx version: nginx/1.12.2
   built by gcc 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) 
   built with OpenSSL 1.0.2k-fips  26 Jan 2017
   
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
   v3
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   0.2.0
   - 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-unsubscribe@apisix.apache.org.apache.org

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


[GitHub] [apisix] jiuchongxiao commented on issue #6888: init.lua:726: phase_func(): failed to acquire the lock: timeoutrequest help: #138help request:

Posted by GitBox <gi...@apache.org>.
jiuchongxiao commented on issue #6888:
URL: https://github.com/apache/apisix/issues/6888#issuecomment-1103475198

   ![image](https://user-images.githubusercontent.com/13093730/164154295-47038e6f-83eb-48b4-ac60-fbf5e996af6e.png)
   but the java runner is run.


-- 
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] tzssangglass commented on issue #6888: init.lua:726: phase_func(): failed to acquire the lock: timeoutrequest help: #138help request:

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #6888:
URL: https://github.com/apache/apisix/issues/6888#issuecomment-1103507709

   > ![image](https://user-images.githubusercontent.com/13093730/164154295-47038e6f-83eb-48b4-ac60-fbf5e996af6e.png) but the java runner is run.
   
   Did you perform breakpoint debugging on java runner?
   
   BTW, use test better than picture.


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