https://signoz.io logo
#support
Title
# support
s

Saad Bahir

08/30/2023, 9:32 PM
Has anyone run into issues with
k8s-infra
trying to connect
otel-collector
over ingress ? I guess this error
Copy code
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.
This is my
ingress
spec
Copy code
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 ?
v

Vishal Sharma

08/31/2023, 1:42 AM
In cases of some SDKs, you would have to include
https://
prefix for
OTEL_EXPORTER_OTLP_ENDPOINT
@Saad Bahir Please try with appending
https
in host URL
s

Saad Bahir

08/31/2023, 12:15 PM
thank you!!! it worked!!!