Skip to content

OpenCensus dependencies failing to resolved due to certificate expiration #2026

@Madrigal

Description

@Madrigal

Describe the bug
New install of Athens will start failing since the certificate for go.opencensus.io expired. See https://www.sslshopper.com/ssl-checker.html#hostname=go.opencensus.io

Error Message
Used GOPROXY=direct to ensure no caching

$ GOPROXY=direct go install github.com/gomods/athens/cmd/proxy@v0.15.4
go: github.com/gomods/athens@v0.15.4 requires go >= 1.22; switching to go1.22.11
go: downloading go.opencensus.io v0.24.0
../go/pkg/mod/contrib.go.opencensus.io/exporter/jaeger@v0.2.1/jaeger.go:31:2: unrecognized import path "go.opencensus.io": https fetch: Get "https://go.opencensus.io/?go-get=1": tls: failed to verify certificate: x509: certificate has expired or is not yet valid: “go.opencensus.io” certificate is expired

To Reproduce
Steps to reproduce the behavior:
Run GOPROXY=direct go install github.com/gomods/athens/cmd/proxy@v0.15.4

Expected behavior
go install should succeed

Environment (please complete the following information):

  • OS: [e.g. Linux 64bit]
  • Go version :
  • Proxy version :
  • Storage (fs/mongodb/s3 etc.) :

Additional context
OpenCensus is being sunsetted in favor of OpenTelemetry, so unsure if they'll renew this certificate. There have been some efforts at #1771 to move to OpenTelemetry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions