suxi opened a new issue #24:
URL: https://github.com/apache/apisix-go-plugin-runner/issues/24


   ### Issue description
   
   ### Environment
   
   * APISIX Go Plugin Runner's version: 0.1.0
   * APISIX version: 2.6/2.7
   * Go version: 1.16.5
   * OS (cmd: `uname -a`): Linux 39446d29c7b6 5.10.25-linuxkit #1 SMP Tue Mar 
23 09:27:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux (docker: 
apache/apisix:2.7-centos)
   
   ### Minimal test code / Steps to reproduce the issue
   
   1.set up a ext-plugin 
   2.do a request 
   3. got 503 response
   
   ### What's the actual result? (including assertion message & call stack if 
applicable)
   2021/07/20 02:11:21 [warn] 46#46: *29715 [lua] plugin.lua:298: 
trace_plugins_info_for_debug(): Apisix-Plugins: ext-plugin-pre-req, prometheus, 
kafka-logger while logging request, client: 172.24.0.1, server: _, request: 
"GET /apis/dianshang/anchor/sales_info?platform_id=71&room_id=100533727735 
HTTP/1.1", host: "localhost:9080"
   2021/07/20 02:39:28 [crit] 46#46: *75271 connect() to 
unix:/usr/local/apisix/conf/apisix-45.sock failed (13: Permission denied), 
client: 172.24.0.1, server: _, request: "GET 
/apis/dianshang/anchor/sales_info?platform_id=71&room_id=100533727735 
HTTP/1.1", host: "localhost:9080"
   2021/07/20 02:39:28 [error] 46#46: *75271 [lua] init.lua:553: phase_func(): 
failed to connect to the unix socket 
unix:/usr/local/apisix/conf/apisix-45.sock: permission denied, client: 
172.24.0.1, server: _, request: "GET 
/apis/dianshang/anchor/sales_info?platform_id=71&room_id=100533727735 
HTTP/1.1", host: "localhost:9080"
   2021/07/20 02:39:28 [warn] 46#46: *75271 [lua] plugin.lua:646: run_plugin(): 
ext-plugin-pre-req exits with http status code 503, client: 172.24.0.1, server: 
_, request: "GET 
/apis/dianshang/anchor/sales_info?platform_id=71&room_id=100533727735 
HTTP/1.1", host: "localhost:9080"
   2021/07/20 02:39:28 [warn] 46#46: *75271 [lua] plugin.lua:298: 
trace_plugins_info_for_debug(): Apisix-Plugins: ext-plugin-pre-req, prometheus, 
kafka-logger, client: 172.24.0.1, server: _, request: "GET 
/apis/dianshang/anchor/sales_info?platform_id=71&room_id=100533727735 
HTTP/1.1", host: "localhost:9080"
   2021/07/20 02:39:28 [warn] 46#46: *75271 [lua] plugin.lua:298: 
trace_plugins_info_for_debug(): Apisix-Plugins: ext-plugin-pre-req, prometheus, 
kafka-logger while logging request, client: 172.24.0.1, server: _, request: 
"GET /apis/dianshang/anchor/sales_info?platform_id=71&room_id=100533727735 
HTTP/1.1", host: "localhost:9080"
   2021/07/20 02:48:31 [crit] 46#46: *89991 connect() to 
unix:/usr/local/apisix/conf/apisix-45.sock failed (13: Permission denied), 
client: 172.24.0.1, server: _, request: "GET 
/apis/dianshang/anchor/sales_info?platform_id=71&room_id=100533727735 
HTTP/1.1", host: "localhost:9080"
   2021/07/20 02:48:31 [error] 46#46: *89991 [lua] init.lua:553: phase_func(): 
failed to connect to the unix socket 
unix:/usr/local/apisix/conf/apisix-45.sock: permission denied, client: 
172.24.0.1, server: _, request: "GET 
/apis/dianshang/anchor/sales_info?platform_id=71&room_id=100533727735 
HTTP/1.1", host: "localhost:9080"
   2021/07/20 02:48:31 [warn] 46#46: *89991 [lua] plugin.lua:646: run_plugin(): 
ext-plugin-pre-req exits with http status code 503, client: 172.24.0.1, server: 
_, request: "GET 
/apis/dianshang/anchor/sales_info?platform_id=71&room_id=100533727735 
HTTP/1.1", host: "localhost:9080"
   2021/07/20 02:48:31 [warn] 46#46: *89991 [lua] plugin.lua:298: 
trace_plugins_info_for_debug(): Apisix-Plugins: ext-plugin-pre-req, prometheus, 
kafka-logger, client: 172.24.0.1, server: _, request: "GET 
/apis/dianshang/anchor/sales_info?platform_id=71&room_id=100533727735 
HTTP/1.1", host: "localhost:9080"
   2021/07/20 02:48:31 [warn] 46#46: *89991 [lua] plugin.lua:298: 
trace_plugins_info_for_debug(): Apisix-Plugins: ext-plugin-pre-req, prometheus, 
kafka-logger while logging request, client: 172.24.0.1, server: _, request: 
"GET /apis/dianshang/anchor/sales_info?platform_id=71&room_id=100533727735 
HTTP/1.1", host: "localhost:9080"
   ### What's the expected result?
   ext plug works correctlly


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to