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

fix: prevent CI / build-image failures caused by opencensus #568

Closed
wants to merge 1 commit into from

Conversation

shvbsle
Copy link
Contributor

@shvbsle shvbsle commented Jan 23, 2025

CI/build-image failed with the following error:

https fetch: Get "https://go.opencensus.io/?go-get=1": tls: failed to verify certificate: x509: certificate has expired or is not yet valid

Fix:
Setting GOPROXY='https://proxy.golang.org,direct' helps avoid this issue.

Implemented the fix as described in this issue

More about the used proxy:
https://sum.golang.org/

proxy.golang.org - a module mirror which implements the module proxy protocol. For users downloading large numbers of modules (e.g. for bulk static analysis), the mirror supports a separate endpoint /cached-only that instructs the proxy to return only cached content. This will avoid slow downloads, at the cost of possibly missing some rarely-used modules.

@shvbsle shvbsle changed the title [WIP] fix: prevent CI failures due to opencensus fix: prevent CI / build-image failures caused by opencensus Jan 23, 2025
@shvbsle shvbsle marked this pull request as ready for review January 23, 2025 22:44
@shvbsle shvbsle closed this Jan 23, 2025
@shvbsle shvbsle deleted the goproxyfix branch January 23, 2025 23:52
@aws aws deleted a comment from shvbsle Jan 24, 2025
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

Successfully merging this pull request may close these issues.

1 participant