apisix-java-plugin-runner icon indicating copy to clipboard operation
apisix-java-plugin-runner copied to clipboard

apisix-java-plugin-runner running success,but unable to connect by /usr/local/apisix/conf/apisix-1.sock

Open forget99 opened this issue 3 years ago • 1 comments

hello,my apisix-java-plugin-runner is running success,java runner is listening on the socket file: /usr/local/apisix/conf/apisix-1.sock,but unable to connect,project filter logs is not print。

runing logs as follows: . ____ _ __ _ _ /\ / ' __ _ () __ __ _ \ \ \
( ( )_
_ | '_ | '| | ' / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) ) ' |
| .__|| ||| |_, | / / / / =========||==============|/=//// :: Spring Boot :: (v2.7.1)

, context: ngx.timer 2023/01/14 05:16:31 [warn] 47#47: *16 [lua] init.lua:955: 2023-01-14 05:16:31.099 INFO 57 --- [ main] c.e.d.DemoApplication : Starting DemoApplication v0.0.1-SNAPSHOT using Java 11.0.17 on 2d1dc15a24af with PID 57 (/opt/apisix-runner-bin/demo-0.0.1-SNAPSHOT.jar started by root in /usr/local/apisix) 2023-01-14 05:16:31.113 INFO 57 --- [ main] c.e.d.DemoApplication : No active profile set, falling back to 1 default profile: "default" , context: ngx.timer 2023/01/14 05:16:32 [warn] 47#47: *16 [lua] init.lua:955: 2023-01-14 05:16:32.644 INFO 57 --- [ main] c.e.d.DemoApplication : Started DemoApplication in 2.817 seconds (JVM running for 5.27) , context: ngx.timer 2023/01/14 05:16:33 [warn] 47#47: *16 [lua] init.lua:955: 2023-01-14 05:16:33.173 WARN 57 --- [ main] o.a.a.p.r.s.ApplicationRunner : java runner is listening on the socket file: /usr/local/apisix/conf/apisix-1.sock , context: ngx.timer

forget99 avatar Jan 14 '23 05:01 forget99

Hi, please make sure APISIX and java plugin runner listen to the same file, and both have permissions for the file.

nic-chen avatar Jan 15 '23 12:01 nic-chen