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

GT-330 Remove netgo build tag for Windows to disable new Go resolver behaviour #352

Merged
merged 1 commit into from
Feb 14, 2023

Conversation

nikita-vanyasin
Copy link
Contributor

@nikita-vanyasin nikita-vanyasin commented Feb 13, 2023

In go1.19 there is no support for 'hosts' file for Windows:
golang/go#57757

Disabling netgo will revert behaviour to go1.18 for resolving names.

Fixes Failed to connect to master error="Get \"http://localhost:9528/hello\": dial tcp: lookup localhost on 10.156.0.1:53: no such host" error

…iour

 In go1.19 there is no support for 'hosts' file for Windows:
 golang/go#57757

 Disabling netgo will revert behaviour to go1.18 for resolving names
@ajanikow ajanikow merged commit d8182d4 into master Feb 14, 2023
@ajanikow ajanikow deleted the fix/disable-netgo-resolver-for-windows branch February 14, 2023 11:11
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.

2 participants