Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gRPC traffic is not mirrored when using the Linkerd service mesh #2452

Open
bourquep opened this issue May 16, 2024 · 0 comments
Open

gRPC traffic is not mirrored when using the Linkerd service mesh #2452

bourquep opened this issue May 16, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@bourquep
Copy link

Bug Description

When debugging a mirrored C# (.Net 8) micro service in Rider, breakpoints for incoming gRPC requests are not hit.

My service listens for HTTP requests on port 8080 and for gRPC requests on port 5000. I see that HTTP handlers are mirrored properly (well, at least the /healthz endpoint which is called periodically by the k8s probe). But the gRPC requests are not. Those gRPC requests actually come into the ingress (Contour/Envoy) as grpc-web requests, which are translated to gRPC by Envoy. Then, Envoy sends a meshed request to my service on port 5000.

Removing the Linkerd proxy from my mirrored pod fixes the issue (my breakpoints are hit)

Steps to Reproduce

  1. Have a Contour ingress, injected with the Linkerd proxy
  2. Have a gRPC service in a pod that is also injected by the Linkerd proxy
  3. Use mirrord to mirror the service's traffic
  4. Make a grpc-web call to the Contour ingress
  5. Observe that the mirrored process doesn't receive the request
  6. Remove the Linkerd proxy from the gRPC service pod
  7. Make a grpc-web call to the Contour ingress
  8. Observe that the mirrored process does receive the request

Backtrace

No response

Relevant Logs

No response

Your operating system and version

macOS 14.4.1 (23E224)

Local process

A C# (.Net 8) process

Local process version

No response

Additional Info

No response

@bourquep bourquep added the bug Something isn't working label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants