digitalocean / digitalocean/doctl
connect api prompts error cannot assign requested address
- Dominant language
- Go
- Stars
- 3.4k
- Forks
- 496
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 31
Description
**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
```sh
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:**
```sh
# 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"
```
Contributor guide
Assessment
This issue has not been assessed yet.