Access gRPC port using Traefik
Install signoz in docker and while sending the trace data to signoz gRPC port directly its working perfectly.
But if we route the request via traefik, its not working. I have tried with setting up GRPC endpoint and defined backend using h2c schema.
Please support, Thanks.
hey @rinshadka Thanks for opening the issue.
Curious to learn, what's the use case for trying to send the route request via traefik. Can you share more details on what are you trying to achieve
@pranay01, We have deployed Signoz in a remote server and we only have 80,443 port access to that server and those ports are using by Traefik reverse proxy. So we use Traefik rules to route requests to each container services. We have achieved routing all the requests toOTEL HTTP collectorvia Traefik. But in the case of OTEL gRPC collector we are unable to route the requests to it.
@rinshadka You would have to use h2c protocol or http2 with Traefik for gRPC.
You can refer to this guide: https://doc.traefik.io/traefik/user-guides/grpc/
@prashant-shahi I have already tried h2c scheme as per the documentation provided from Traefik. I will install a fresh Traefik and try once more from the scratch.
Hello,
@rinshadka did you solve your error? I met the same issue. In my test, I'm able to make it working with port-forwarding the service, port 4317. But if I declare an ingress which target this port, I have the following error.
13 INTERNAL: Received RST_STREAM with code 0
I also tried with h2c schema for Traefik but no change detected.