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

K9s build fails due to certificate error fetching additional go resources #3073

Open
kyoshiro opened this issue Jan 21, 2025 · 5 comments
Open

Comments

@kyoshiro
Copy link

kyoshiro commented Jan 21, 2025

Describe the bug
When executing the make build command to compile k9s from source it fails when fetching additional go resources.
The certificate of the resources to fetch expired today.

To Reproduce
Steps to reproduce the behavior:

  1. clone the repo
  2. run: make build

Historical Documents
n/a

Expected behavior
Build finishes successful.

Screenshots

Following error message in CLI:

../../../../go/pkg/mod/cloud.google.com/go@v0.112.1/internal/trace/trace.go:25: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: current time 2025-01-21T13:13:59+01:00 is after 2025-01-21T03:43:04Z
../../../../go/pkg/mod/google.golang.org/api@v0.171.0/transport/grpc/dial.go:21: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: current time 2025-01-21T13:13:59+01:00 is after 2025-01-21T03:43:04Z
../../../../go/pkg/mod/google.golang.org/api@v0.171.0/transport/http/dial.go:18: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: current time 2025-01-21T13:13:59+01:00 is after 2025-01-21T03:43:04Z
../../../../go/pkg/mod/google.golang.org/api@v0.171.0/transport/http/internal/propagation/http.go:21: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: current time 2025-01-21T13:13:59+01:00 is after 2025-01-21T03:43:04Z

Versions (please complete the following information):

  • OS: Fedora Linux Asahi Remix 41 (KDE Plasma) aarch64
  • K9s: v0.32.7 / master

Additional context
N/A

@kyoshiro
Copy link
Author

So I went back in time and circumvented the certificate expired issue. Build completed successfully.

@caselongo
Copy link

Similar issue here. Will the certificate problem be fixed?

@abhinavshashank
Copy link

Same here 🙃 Tried their gitter room but it's pretty much dead silent. Not sure if anyone's still maintaining this tbh

@caselongo
Copy link

Can be bypassed via GOPROXY setting, see here: googleapis/google-cloud-go#11481

@supriya
Copy link

supriya commented Jan 23, 2025

Also facing this issue. Is there any timeline on the fix for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants