You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created an upstream with the id 1 that points to a gRPC server at grpc-server:50053. We then create a route with the id 1 that uses the grpc-transcode plugin to transcode the gRPC request to the SayHello method of the ExampleService service, as defined in the example.proto file. The route is configured to use the upstream with the id 1.
GRPC application service is grpc-server exposing hostname "host": "grpc-pyserver.poc.kubelancer.net",
created the example.proto file and loaded it into APISIX using the proto plugin.
I am having the same issue. It works internally within the cluster, but when trying to map it to the network load balancer to host externally, it didn't work. Apache apisix is not a good option if you try to use GRPC externally. Try exploring other alternatives , Good luck !
I did this got into something similar issue and was unable to determine why it was failing externally. Unsure if it is the mapping issue or any other issue.
But as additional checks, you might want to review the APISIX configuration for gRPC and TLS settings. Also, validate the NLB configuration (the target group settings and health checks). Are your security groups rules in place correctly to allow traffic? An NLB with gRPC, you usually need to use TLS passthrough and handle the TLS termination at the APISIX level.
I was suggested alternative solution to use ALB as it natively supports gRPC traffic and also can handle TLS termination, making it simpler to expose gRPC externally.
Please update back if you can make the above work or figure out what's wrong. I am curious. I am unsure if it will work. I spent a lot of time on it.
upstream and route with gRPC transcode and scheme grpc in APISIX:
Upstream:
Route:
I created an upstream with the id
1
that points to a gRPC server atgrpc-server:50053
. We then create a route with the id1
that uses thegrpc-transcode
plugin to transcode the gRPC request to theSayHello
method of theExampleService
service, as defined in theexample.proto
file. The route is configured to use the upstream with the id1
.GRPC application service is
grpc-server
exposing hostname "host": "grpc-pyserver.poc.kubelancer.net",created the
example.proto
file and loaded it into APISIX using theproto
plugin._ Helm Deployed on EKS with Network LoadBalancer_
Internally within cluster getting the expected result
Issue: While externally mapping the network loadbalancer to "host": "grpc-pyserver.poc.kubelancer.net", which not works.
But internal works.
Let me know if anyone using Apache Apisix with AWS Network loadBalancer for GRPC application. Guide me what's wrong.
The text was updated successfully, but these errors were encountered: