emqx-extension-examples icon indicating copy to clipboard operation
emqx-extension-examples copied to clipboard

Not Found exproto-svr-java

Open JoshRong opened this issue 3 years ago • 1 comments

Why can't I find the exproto-svr-java project. And can the open source version of EMQX use exproto?

JoshRong avatar May 19 '21 13:05 JoshRong

Hello, I am trying to use emqx-exproto but not able to setup demo locally. 1- I have setup demo locally and it is running. 2- EMQX is also running on local using docker and plugin emqx-exproto also loaded. 3- In ConnectionHandler I am using this as HOST String HOST = "localhost:9100"; 4- my gRPC server running on PORT 5001 5- I have updated emqx-exporto.conf also exproto.listener.protoname.connection_handler_url = http://host.docker.internal:5001 also tried with exproto.listener.protoname.connection_handler_url = http://127.0.0.1:5001 6- Now when I try to connect to emqx using Jmeter it is connected but no callback in exproto-svr-java demo running application. On Publish also nothing happens.

If I try to connect directly to gRPC server using localhost:5001 facing this error io.grpc.netty.shaded.io.netty.handler.codec.http2.Http2Exception: HTTP/2 client preface string missing or corrupt. Hex dump for received bytes: 102000064d514973647003c2003c000661646d696e330002

It will be helpful if you can guide how can I test this exproto-svr-java complete flow.

Also If possible please share which tool I can use to test flow.

fizzshehzad avatar Nov 16 '21 10:11 fizzshehzad