Skip to content

zig fetch always fails #22592

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

Closed
TunifyBasic opened this issue Jan 24, 2025 · 5 comments
Closed

zig fetch always fails #22592

TunifyBasic opened this issue Jan 24, 2025 · 5 comments
Labels
bug Observed behavior contradicts documented or intended behavior

Comments

@TunifyBasic
Copy link

Zig Version

0.13.0

Steps to Reproduce and Observed Behavior

hello i am using zig on termux so i was tring to add zig-args as a dependency to my project but it failed.

$ zig fetch --save=args git+https://github.com/ikskuh/zig-args#master
error: unable to discover remote git server capabilities: TemporaryNameServerFailure

Expected Behavior

expected to work

@TunifyBasic TunifyBasic added the bug Observed behavior contradicts documented or intended behavior label Jan 24, 2025
@nektro
Copy link
Contributor

nektro commented Jan 24, 2025

are you on an ipv6-only network?
does git clone work?

@mrtowers
Copy link

mrtowers commented Jan 24, 2025

have the same problem, everything works, git, apt etc but zig fetch always fails

if you use a proot-distro it works just fine

@BratishkaErik
Copy link
Contributor

if you use a proot-distro it works just fine

Then it's possible duplicate of #14636

@floooh
Copy link
Contributor

floooh commented Jan 25, 2025

FWIW I'm running into the same problem each time I setup a new Ubuntu laptop, and it seems to be some incompatibility between my DSL modem and modern Linux distros (e.g. I don't have that problem my Mac).

Git is insofar affected in that it runs into 10 second timeouts but then works.

Setting the Linux DSN servers to Google's 8.8.8.8 and 8.8.4.4 fixed the issue for me:

#14636 (comment)

@andrewrk andrewrk added this to the unplanned milestone Jan 25, 2025
@andrewrk
Copy link
Member

closing as dupe of #14636 unless further information surfaces.

@andrewrk andrewrk closed this as not planned Won't fix, can't repro, duplicate, stale Jan 25, 2025
@jacobly0 jacobly0 removed this from the unplanned milestone Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Observed behavior contradicts documented or intended behavior
Projects
None yet
Development

No branches or pull requests

7 participants