apache / apisix-java-plugin-runner

APISIX Plugin Runner in Java
https://apisix.apache.org/
Apache License 2.0
126 stars 95 forks source link

request help: I run the debug model, it doesn't work #284

Closed mayunSaicmotor closed 6 months ago

mayunSaicmotor commented 6 months ago

Issue description

I run the apisix in docker

image

the apisix config as below

image

the docker-compose.yml as below

image

my java plugin application.yaml as below

image

I use the command "docker exec -it 8d1e345a9659 /bin/bash " login docker and run the below java command, the java plugin is up in the docker container. nohup /jdk17/bin/java --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.math=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED -jar -DAPISIX_LISTEN_ADDRESS=unix:/tmp/runner.sock -DAPISIX_CONF_EXPIRE_TIME=3600 /path/to/dubbo-plugin-0.0.1-SNAPSHOT-exec.jar > a.log &

I create the route and try to access the interface but show error

image

I see the apisix log as below

image

which step or configuration is wrong?

Environment

linux centos