cloudflare-tunnel-ingress-controller icon indicating copy to clipboard operation
cloudflare-tunnel-ingress-controller copied to clipboard

Is gRPC supported?

Open Evantage-WS opened this issue 1 year ago • 2 comments

I am trying to setup a gRPC connection between client (running in the same cluster) and server. It is working with NGINX, but not with cloudflare-tunnel-ingress-controller.

This is the client application error:

error internal/queue_sender.go:92 Exporting failed. Dropping data. {"kind": "exporter", "data_type": "metrics", "name": "otlp/stackstate", "error": "not retryable error: Permanent error: rpc error: code = PermissionDenied desc = unexpected HTTP status code received from server: 403 (Forbidden); transport: received unexpected content-type \"text/html\"", "dropped_items": 35

Coudl you please look at this? Thanks

Evantage-WS avatar Nov 15 '24 08:11 Evantage-WS

tldr; it does not support grpc by out-the-box, but some tuning might resolve it I think.

it seems there is an upstream issue about it: https://github.com/cloudflare/cloudflared/issues/491#issuecomment-1643233485

I did not try with it, maybe you could take a try and tell us could it works?

if it require any modification in this repo, I would be happy to help. Thanks!

STRRL avatar Nov 15 '24 21:11 STRRL

Hi @STRRL

Thanks, I will look at it, but in a few weeks, I will be travelling the upcoming weeks. Could you be so kind to take a look at https://github.com/STRRL/cloudflare-tunnel-ingress-controller/issues/145?

Evantage-WS avatar Nov 16 '24 14:11 Evantage-WS