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

connect api prompts error cannot assign requested address #947

Open
ghost opened this issue Jan 23, 2021 · 2 comments
Open

connect api prompts error cannot assign requested address #947

ghost opened this issue Jan 23, 2021 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 23, 2021

Describe the Issue:

I try to install it via source package from release page, while I execute command on my laptop (Arch Linux), it prompts error info

Error: Get "https://api.digitalocean.com/v2/account": dial tcp: lookup api.digitalocean.com on [::1]:53: dial udp [::1]:53: connect: cannot assign requested address

Then I try to install it on DigitalOcean droplet (Ubuntu 20.10), it works well.

But if I install it via pacman package manager on my laptop, the binary file works well.

I don't know what happens.

Environment:

  • doctl version: doctl version 1.55.0-release
  • OS: Arch Linux
  • Installation method: Installed from source

Additional Details:

# doctl account ratelimit --trace

doctl: 2021/01/23 11:29:52 -> "GET /v2/account HTTP/1.1\r\nHost: api.digitalocean.com\r\nUser-Agent: doctl/1.55.0-release (linux amd64) godo/1.57.0\r\nAccept: application/json\r\nAccept-Encoding: gzip\r\n\r\n"
@ghost ghost added the bug label Jan 23, 2021
@scotchneat
Copy link
Contributor

@MaxdSre thank you for reporting the issue. The message you receive is the same others have reported in #845.
Are you receiving the error when running doctl auth init and do you happen to be connected to a VPN at the time?

@jeremy-rutman
Copy link

I also hit

root@master:/home/ubuntu/tm_scrape_wipo# doctl compute droplet list 
Error: Get "https://api.digitalocean.com/v2/droplets?page=1&per_page=200": dial tcp: lookup api.digitalocean.com on [::1]:53: read udp [::1]:38657->[::1]:53: read: connection refused

No vpn involved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants