Skip to content
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

GRPC + TLS Exporter failing to connect #3070

Closed
kadhamecha-conga opened this issue Sep 26, 2024 · 2 comments
Closed

GRPC + TLS Exporter failing to connect #3070

kadhamecha-conga opened this issue Sep 26, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@kadhamecha-conga
Copy link

hi

i'm facing issue while exporting traces from nginx with open telemetry enable , and send it over grpc and TLS enable in NLB

GRPC Exporter is failing to establish a connection with the configured endpoint, resulting in the inability to export trace data.

[Error] File: /tmp/build/opentelemetry-cpp/exporters/otlp/src/otlp_grpc_exporter.cc:66 [OTLP TRACE GRPC Exporter] Export() failed with status_code: "UNAVAILABLE" error_message: "failed to connect to all addresses; last error: UNKNOWN: ipv4:x.x.x.x:443: connection attempt timed out before receiving SETTINGS frame"

otlp-collector-host: test.example.com
otlp-collector-port: 443

thanks,

@kadhamecha-conga kadhamecha-conga added the bug Something isn't working label Sep 26, 2024
@github-actions github-actions bot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Sep 26, 2024
@kadhamecha-conga kadhamecha-conga changed the title hi, GRPC Exporter is failing to establish a connection with the configured endpoint, resulting in the inability to export trace data. [Error] File: /tmp/build/opentelemetry-cpp/exporters/otlp/src/otlp_grpc_exporter.cc:66 [OTLP TRACE GRPC Exporter] Export() failed with status_code: "UNAVAILABLE" error_message: "failed to connect to all addresses; last error: UNKNOWN: ipv4:x.x.x.x:443: connection attempt timed out before receiving SETTINGS frame" helm.sh/chart : ingress-nginx-4.11.3 app.kubernetes.io/version : 1.11.2 GRPC + TLS Exporter failing to connect Sep 26, 2024
@marcalff
Copy link
Member

otlp-collector-host: test.example.com
otlp-collector-port: 443

This will fail, as expected.
Change the configuration to use a real endpoint.

@marcalff marcalff removed the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Sep 26, 2024
@kadhamecha-conga
Copy link
Author

kadhamecha-conga commented Sep 27, 2024

@marcalff I'm using the real data, but I've redacted sensitive information to protect privacy.
with real one endpoint , it is not working.

chart info:
helm.sh/chart : ingress-nginx-4.11.3
app.kubernetes.io/version : 1.11.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants