You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apisix.apache.org by 寒香 <10...@qq.com.INVALID> on 2021/10/15 07:19:20 UTC
java-plugin问题
参照https://apisix.apache.org/zh/blog/2021/06/21/use-Java-to-write-Apache-APISIX-plugins/所述验证java开发plugin,启动java程序及apisix验证时,apisix日志提示
2021/10/14 19:43:55 [error] 4648#4648: *20111 [lua] init.lua:617: phase_func(): failed to receive RPC_PREPARE_CONF: timeout, client: 127.0.0.1, server: _, request: "GET /get HTTP/1.1", host: "127.0.0.1:9080"
2021/10/14 19:43:55 [warn] 4648#4648: *20111 [lua] plugin.lua:680: run_plugin(): ext-plugin-pre-req exits with http status code 503, client: 127.0.0.1, server: _, request: "GET /get HTTP/1.1", host: "127.0.0.1:9080"
参照https://github.com/apache/apisix-java-plugin-runner/blob/release/0.1/docs/en/latest/development.md所描述有同样的问题。
请问该如何解决?多谢。
环境:开发环境CentOS7.4+Eclipse4.21+JDK8
Re: java-plugin问题
Posted by ZhengSong Tu <tz...@gmail.com>.
Hi, I see you have already submitted the issue, we can continue in the
issue.
*ZhengSong Tu*
My GitHub: https://github.com/tzssangglass
Apache APISIX: https://github.com/apache/apisix
寒香 <10...@qq.com.invalid> 于2021年10月15日周五 下午4:12写道:
> Yes,I reproduced all steps in order.
>
>
>
>
> ------------------ 原始邮件 ------------------
> 发件人:
> "dev"
> <
> wenming@apache.org>;
> 发送时间: 2021年10月15日(星期五) 下午3:58
> 收件人: "dev"<dev@apisix.apache.org>;
>
> 主题: Re: java-plugin问题
>
>
>
> Hello,
> please use English in the mailing list.
> Back to your issue, are there steps that can be
> reproduced?
>
> Thanks,
> Ming Wen, Apache APISIX PMC Chair
> Twitter: _WenMing
>
>
> 寒香 <1014631446@qq.com.invalid> 于2021年10月15日周五 下午3:20写道:
>
> > 参照
> >
> https://apisix.apache.org/zh/blog/2021/06/21/use-Java-to-write-Apache-APISIX-plugins/
> >
> <https://apisix.apache.org/zh/blog/2021/06/21/use-Java-to-write-Apache-APISIX-plugins/>>;
> 所述验证java开发plugin,启动java程序及apisix验证时,apisix日志提示
> > 2021/10/14 19:43:55 [error] 4648#4648: *20111 [lua] init.lua:617:
> > phase_func(): failed to receive RPC_PREPARE_CONF: timeout, client:
> > 127.0.0.1, server: _, request: "GET /get HTTP/1.1", host: "
> 127.0.0.1:9080"
> > 2021/10/14 19:43:55 [warn] 4648#4648: *20111 [lua] plugin.lua:680:
> > run_plugin(): ext-plugin-pre-req exits with http status code 503,
> client:
> > 127.0.0.1, server: _, request: "GET /get HTTP/1.1", host: "
> 127.0.0.1:9080"
> >
> >
> >
> > 参照
> >
> https://github.com/apache/apisix-java-plugin-runner/blob/release/0.1/docs/en/latest/development.md
> >
> <https://github.com/apache/apisix-java-plugin-runner/blob/release/0.1/docs/en/latest/development.md>>;
> 所描述有同样的问题。
> >
> >
> > 请问该如何解决?多谢。
> > 环境:开发环境CentOS7.4+Eclipse4.21+JDK8
回复: java-plugin问题
Posted by 寒香 <10...@qq.com.INVALID>.
Yes,I reproduced all steps in order.
------------------ 原始邮件 ------------------
发件人: "dev" <wenming@apache.org>;
发送时间: 2021年10月15日(星期五) 下午3:58
收件人: "dev"<dev@apisix.apache.org>;
主题: Re: java-plugin问题
Hello,
please use English in the mailing list.
Back to your issue, are there steps that can be reproduced?
Thanks,
Ming Wen, Apache APISIX PMC Chair
Twitter: _WenMing
寒香 <1014631446@qq.com.invalid> 于2021年10月15日周五 下午3:20写道:
> 参照
> https://apisix.apache.org/zh/blog/2021/06/21/use-Java-to-write-Apache-APISIX-plugins/
> 所述验证java开发plugin,启动java程序及apisix验证时,apisix日志提示
> 2021/10/14 19:43:55 [error] 4648#4648: *20111 [lua] init.lua:617:
> phase_func(): failed to receive RPC_PREPARE_CONF: timeout, client:
> 127.0.0.1, server: _, request: "GET /get HTTP/1.1", host: "127.0.0.1:9080"
> 2021/10/14 19:43:55 [warn] 4648#4648: *20111 [lua] plugin.lua:680:
> run_plugin(): ext-plugin-pre-req exits with http status code 503, client:
> 127.0.0.1, server: _, request: "GET /get HTTP/1.1", host: "127.0.0.1:9080"
>
>
>
> 参照
> https://github.com/apache/apisix-java-plugin-runner/blob/release/0.1/docs/en/latest/development.md
> 所描述有同样的问题。
>
>
> 请问该如何解决?多谢。
> 环境:开发环境CentOS7.4+Eclipse4.21+JDK8
Re: java-plugin问题
Posted by Ming Wen <we...@apache.org>.
Hello,
please use English in the mailing list.
Back to your issue, are there steps that can be reproduced?
Thanks,
Ming Wen, Apache APISIX PMC Chair
Twitter: _WenMing
寒香 <10...@qq.com.invalid> 于2021年10月15日周五 下午3:20写道:
> 参照
> https://apisix.apache.org/zh/blog/2021/06/21/use-Java-to-write-Apache-APISIX-plugins/
> 所述验证java开发plugin,启动java程序及apisix验证时,apisix日志提示
> 2021/10/14 19:43:55 [error] 4648#4648: *20111 [lua] init.lua:617:
> phase_func(): failed to receive RPC_PREPARE_CONF: timeout, client:
> 127.0.0.1, server: _, request: "GET /get HTTP/1.1", host: "127.0.0.1:9080"
> 2021/10/14 19:43:55 [warn] 4648#4648: *20111 [lua] plugin.lua:680:
> run_plugin(): ext-plugin-pre-req exits with http status code 503, client:
> 127.0.0.1, server: _, request: "GET /get HTTP/1.1", host: "127.0.0.1:9080"
>
>
>
> 参照
> https://github.com/apache/apisix-java-plugin-runner/blob/release/0.1/docs/en/latest/development.md
> 所描述有同样的问题。
>
>
> 请问该如何解决?多谢。
> 环境:开发环境CentOS7.4+Eclipse4.21+JDK8