-
Notifications
You must be signed in to change notification settings - Fork 13
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
Getting Certificate issue with google cloud exporter #49
Comments
Originally in open-telemetry/opentelemetry-collector-contrib#27426 |
@arjunvijaygoogle can you see if this can be reproduced after #48? |
arjunvijay@cloudshell:~/opentelemetry-collector-builder-sample/deploy/gke/simple (arjun-demo-123)$ kubectl logs deployment/otel-collector -n otel-collector |
@dashpole The issue is fixed. Thanks for the extraordinary support. Really appreciate your help |
Component(s)
exporter/googlecloud
What happened?
Description
I am running this configuration
getting this in collector logs
2023-10-04T15:41:53.565Z warn zapgrpc/zapgrpc.go:195 [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: "monitoring.googleapis.com:443", ServerName: "monitoring.googleapis.com:443", }. Err: connection error: desc = "transport: authentication handshake failed: tls: failed to verify certificate: x509: certificate signed by unknown authority" {"grpc_log": true}
Steps to Reproduce
Run the custom collector https://github.com/GoogleCloudPlatform/opentelemetry-collector-builder-sample
Expected Result
To send metrics to GCP
Actual Result
2023-10-04T15:41:53.565Z warn zapgrpc/zapgrpc.go:195 [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: "monitoring.googleapis.com:443", ServerName: "monitoring.googleapis.com:443", }. Err: connection error: desc = "transport: authentication handshake failed: tls: failed to verify certificate: x509: certificate signed by unknown authority" {"grpc_log": true}
Collector version
v0.86.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
Copyright 2022 Google LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
FROM golang:latest as build
ARG OTEL_VERSION=0.86.0
WORKDIR /app
COPY . .
RUN go install go.opentelemetry.io/collector/cmd/builder@v${OTEL_VERSION}
RUN builder --config=builder-config.yaml
FROM ubuntu:latest
COPY --from=build /app/bin/otelcol-custom /
4317 - default OTLP receiver
55678 - opencensus (tracing) receiver
55679 - zpages
EXPOSE 4317/tcp 55678/tcp 55679/tcp
#RUN ls
#RUN chmod +x /otelcol-custom
ENTRYPOINT ["/otelcol-custom"]
OpenTelemetry Collector configuration
Additional context
No response
The text was updated successfully, but these errors were encountered: