-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Otel collector fails to establish a connection to jaeger #33995
Comments
I also obtain the same error and I'm not be able to fix it |
@PedemonteGiacomo It seems like it's an issue with the latest version. I'm sure this code was working a few weeks ago, but I haven't used it since then. When I re-ran it today, it started failing for reasons I can't understand. Hopefully, we will get a response from the maintainers soon. |
@mpbnkg Also for me it was working fine with the Jaeger:4317 declaration. The problem is that the connection refused error seems to be more Jaeger side, to try this, I've chaned the export to the endpoint Jaeger:14250 and the connection is reached but then if I send traces through the collector, the traces are dropped and not exported correctly. |
I've checked that even if I use older version of the image the error remain. So now my question is: is the error related to otel-collector? |
@PedemonteGiacomo Hopefully, we'll get some answers soon here :) |
You may need to configure For reference, I'm running the Collector demo which has a very similar format and setup to your example here, and it's working locally for me. You're welcome to try it out and see what could be the impacting differences if |
@crobert-1 Same thing when I even added depends_on jaeger in the otel collector section! Error:
Docker-compose
|
As indicated by the error, the depends_on directive isn't the root cause of the problem since the pod or container IP is recognized successfully. The issue seems to be that Jaeger is refusing the connection. To troubleshoot, I will attempt to use an older version of Jaeger and will update you on the results. Additionally, @crobert-1 has raised an interesting point: another possible cause of failure could be a missing configuration in our otel-collector setup. The relevant configuration code is: exporters:
zipkin:
endpoint: "http://zipkin-all-in-one:9411/api/v2/spans"
format: proto
otlp:
endpoint: jaeger-all-in-one:4317
tls:
insecure: true You can review the complete configuration code here Please let me know if you have any further insights or suggestions. |
@PedemonteGiacomo Zipkin doesn't have to do anything with Jaeger. It's a completely different tool, so we don't need Zipkin for sure.
Yep, let me know please, thanks! |
Yes @mpbnkg, you're absolutely right about zipkin, sorry for the confusion. I changed the version of the jaeger image to an older one, more precisely, I've choose one image that was not pushed within the last 10 days to be sure to get older than the "born" of this issue that we are investigating on. And I get my traces succesfully received by jaeger: So, I think is a jager problem with the latest or one of the changes done in one of the latest jager-all-in-one image |
Oh, wow... Look at that, thanks :) Marking this ticket as resolved. |
Thanks for following up, glad to hear this was figured out! |
Component(s)
No response
What happened?
When I try to export metrics to jaeger via OTLP collector it fails with the following error. What is causing this given the fact that it was working a few weeks back?
otel-collector-config.
Collector version
latest
Environment information
Environment
OS: MAC
OpenTelemetry Collector configuration
Log output
2024-07-09T18:35:39.864Z info exporterhelper/retry_sender.go:118 Exporting failed. Will retry the request after interval. {"kind": "exporter", "data_type": "traces", "name": "otlp", "error": "rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 172.25.0.2:4317: connect: connection refused"", "interval": "3.136185958s"}
Additional context
No response
The text was updated successfully, but these errors were encountered: