Saad Bahir
08/30/2023, 9:32 PMk8s-infra
trying to connect otel-collector
over ingress ?
I guess this error
2023-08-30T21:30:30.674Z warn zapgrpc/zapgrpc.go:195 [core] [Channel #6 SubChannel #7] grpc: addrConn.createTransport failed to connect to {
"Addr": "<http://otelcollector.mydomain.com:80|otelcollector.mydomain.com:80>",
"ServerName": "<http://otelcollector.mydomain.com:80|otelcollector.mydomain.com:80>",
"Attributes": null,
"BalancerAttributes": null,
"Type": 0,
"Metadata": null
}. Err: connection error: desc = "error reading server preface: http2: frame too large" {"grpc_log": true}
2023-08-30T21:30:37.707Z info exporterhelper/queued_retry.go:423 Exporting failed. Will retry the request after interval.
Saad Bahir
08/30/2023, 10:38 PMingress
spec
spec:
ingressClassName: nginx
rules:
- host: <http://otelcollector.mydomain.com|otelcollector.mydomain.com>
http:
paths:
- backend:
service:
name: rollstack-signoz-otel-collector
port:
number: 4317
path: /
pathType: ImplementationSpecific
I am using port 4317
which should be the grpc
port, right?
so it’s a grpc to grpc connection but I don’t get why it’s failing
anyone knows ?Vishal Sharma
08/31/2023, 1:42 AMIn cases of some SDKs, you would have to includeprefix forhttps://
OTEL_EXPORTER_OTLP_ENDPOINT
Vishal Sharma
08/31/2023, 1:48 AMhttps
in host URLSaad Bahir
08/31/2023, 12:15 PM