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

doctl auth init connection refused #1447

Open
robotski opened this issue Oct 21, 2023 · 0 comments
Open

doctl auth init connection refused #1447

robotski opened this issue Oct 21, 2023 · 0 comments
Labels

Comments

@robotski
Copy link

Describe the Issue:

Please authenticate doctl for use with your DigitalOcean account. You can generate a token in the control panel at https://cloud.digitalocean.com/account/api/tokens

❯ Enter your access token:  ●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●

Validating token... ✘

Error: Unable to use supplied token to access API: Get "https://cloud.digitalocean.com/v1/oauth/token/info": dial tcp: lookup cloud.digitalocean.com on [::1]:53: read udp [::1]:35560->[::1]:53: read: connection refused

Environment:

  • doctl version: doctl version 1.100.0-release
    Git commit hash: 86fc331
  • OS: Ubuntu 22.04.3 LTS on WSL 2
  • Installation method: Snap package

Additional Details:

Seems to be trying to use IPv6 exclusively, and won't fall back to IPv4? IPv6 is on (by default, I believe) in the WSL instance but turned off for the Windows host.

@robotski robotski added the bug label Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant