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

[BUG] - Unable to import tracer package #2552

Closed
koushik963 opened this issue Feb 12, 2024 · 6 comments · Fixed by #2553
Closed

[BUG] - Unable to import tracer package #2552

koushik963 opened this issue Feb 12, 2024 · 6 comments · Fixed by #2553
Labels
bug unintended behavior that has to be fixed

Comments

@koushik963
Copy link

koushik963 commented Feb 12, 2024

I'm trying to import the package into my project - go get gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer but I get the error below
inet.af/netaddr@v0.0.0-20230525184311-b8eac61e914a: verifying module: inet.af/netaddr@v0.0.0-20230525184311-b8eac61e914a: cannot authenticate record data in server response

Version of dd-trace-go

Describe what happened:
inet.af/netaddr@v0.0.0-20230525184311-b8eac61e914a: verifying module: inet.af/netaddr@v0.0.0-20230525184311-b8eac61e914a: cannot authenticate record data in server response

Describe what you expected:
Should be able to import succesfully

Steps to reproduce the issue:
go get gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer

Additional environment details (Version of Go, Operating System, etc.):
Go - 1.21, MacOS

@koushik963 koushik963 added the bug unintended behavior that has to be fixed label Feb 12, 2024
@github-actions github-actions bot added the needs-triage New issues that have not yet been triaged label Feb 12, 2024
@felixge felixge removed the needs-triage New issues that have not yet been triaged label Feb 13, 2024
@felixge
Copy link
Member

felixge commented Feb 13, 2024

Thanks for reporting this. We suspect it's a problem with the .af domain, see recent news.

Our plan is to provide instructions for a workaround and to fix the problem with a patch release ASAP.

@darccio
Copy link
Contributor

darccio commented Feb 13, 2024

@koushik963 We are still validating a workaround. In the meantime, make sure your GOPROXY environment variable is pointing to proxy.golang.org. It's still cached there.

@darccio
Copy link
Contributor

darccio commented Feb 13, 2024

For any user affected by this, you can use the following replace directive in your go.mod file to avoid downloading from inet.af/netaddr:

replace inet.af/netaddr => github.com/inetaf/netaddr v0.0.0-20230525184311-b8eac61e914a

@koushik963
Copy link
Author

there was one more library causing the same error. I had to add replace go4.org/intern => github.com/go4org/intern v0.0.0-20230525184215-6c62f75575cb to get rid of it.

@darccio
Copy link
Contributor

darccio commented Feb 13, 2024

@koushik963 That didn't happen in our tests. Thanks for sharing it.

@darccio
Copy link
Contributor

darccio commented Feb 13, 2024

Released as v1.60.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unintended behavior that has to be fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants