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

Download broken with VPN #1708

Open
hirschenberger opened this issue May 23, 2024 · 1 comment
Open

Download broken with VPN #1708

hirschenberger opened this issue May 23, 2024 · 1 comment

Comments

@hirschenberger
Copy link

hirschenberger commented May 23, 2024

I'm using hide.me VPN and binstall is not working when the VPN is active:

ERROR Fatal error:
  × For crate cargo-binstall: could not GET https://index.crates.io/config.json: error sending request
  │ for url (https://index.crates.io/config.json)
  ├─▶ could not GET https://index.crates.io/config.json: error sending request for url (https://
  │   index.crates.io/config.json)
  ├─▶ error sending request for url (https://index.crates.io/config.json)
  ├─▶ client error (Connect)
  ├─▶ dns error: io error: Error parsing resolv.conf: directive at line 0 is not recognized
  ╰─▶ io error: Error parsing resolv.conf: directive at line 0 is not recognized

As indicated, the line 0 of resolv.conf contains the line timeout 1 which seems to be the cause of the error, as it works when I comment out that line.

@NobodyXu
Copy link
Member

I think this is similar to #1688

you could try building cargo-binstall without hickory-dns, I believe this is a bug related to hickory-dns, can you please open an issue in hickory-dns?

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

2 participants