#support

Connection Issues with signoz-otel-collector on k8s Cluster

TLDR Ankit encounters connection issues with signoz-otel-collector on a k8s cluster. Prashant suggests checking logs and status, but the issue remains unresolved.

Powered by Struct AI
Mar 17, 2023 (9 months ago)
Ankit
Photo of md5-6ab5fc75c1ab634ddc5aa78818ee5a66
Ankit
12:05 PM
Hi Team, I m trying signoz on k8s cluster. My application is not able to connect signoz-otel-collector service.
12:07
Ankit
12:07 PM
Even signoz-k8s-infra-otel-deployment is not able to make a connection with signoz-otel-collector:4317
12:07
Ankit
12:07 PM
Error Logs

2023-03-17T11:15:16.687Z    warn    zapgrpc/zapgrpc.go:195    [core] [Channel #5 SubChannel #6] grpc: addrConn.createTransport failed to connect to {
  "Addr": "signoz-otel-collector:4317",
  "ServerName": "signoz-otel-collector:4317",
  "Attributes": null,
  "BalancerAttributes": null,
  "Type": 0,
  "Metadata": null
}. Err: connection error: desc = "transport: Error while dialing dial tcp 172.20.53.203:4317: connect: connection refused"    {"grpc_log": true}

12:07
Ankit
12:07 PM
Pls help me to fix this
12:08
Ankit
12:08 PM
cc: Pranay Ankit
12:08
Ankit
12:08 PM
I have tried troubleshoot steps as well and it is able to establish the connection with collection on same URL which I have mentioned in my code config
12:12
Ankit
12:12 PM
Let me know if you need more details from my details
nitya-signoz
Photo of md5-a52b9d6c34f193d9a1ff940024f36f77
nitya-signoz
12:14 PM
Prashant can help with this.
Ankit
Photo of md5-6ab5fc75c1ab634ddc5aa78818ee5a66
Ankit
12:30 PM
Hi Prashant let me know if you need more details on the same
Prashant
Photo of md5-1899629483c7ab1dccfbee6cc2f637b9
Prashant
01:36 PM
Hey Ankit can you check the status of signoz-otel-collector? Logs and pod status would be helpful.
Ankit
Photo of md5-6ab5fc75c1ab634ddc5aa78818ee5a66
Ankit
01:51 PM
Both of them are running. It is working on http port which is 4318. But grpc endpoint is not working.
Prashant
Photo of md5-1899629483c7ab1dccfbee6cc2f637b9
Prashant
02:23 PM
found anything in signoz otel-collector logs?
Ankit
Photo of md5-6ab5fc75c1ab634ddc5aa78818ee5a66
Ankit
02:25 PM
Nope. It is not getting any logs
Prashant
Photo of md5-1899629483c7ab1dccfbee6cc2f637b9
Prashant
02:26 PM
Have you updated otel-collector config?
Ankit
Photo of md5-6ab5fc75c1ab634ddc5aa78818ee5a66
Ankit
02:46 PM
Yup. The same config is working on docker container
Mar 20, 2023 (9 months ago)
Prashant
Photo of md5-1899629483c7ab1dccfbee6cc2f637b9
Prashant
05:51 AM
can you share the updated config?

SigNoz Community

Built with ClickHouse as datastore, SigNoz is an open-source APM to help you find issues in your deployed applications & solve them quickly | Knowledge Base powered by Struct.AI

Indexed 1023 threads (61% resolved)

Join Our Community