flyctl: Error Post "https://api.fly.io/api/v1/cli_sessions": net/http: TLS handshake timeout

Cannot log in using flyctl auth login

This is what happened.

▲ (macmini.local) ~ curl https://get.fly.io/flyctl.sh | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1041  100  1041    0     0   3234      0 --:--:-- --:--:-- --:--:--  3242
######################################################################## 100.0%
flyctl was installed successfully to /usr/local/bin/flyctl
Run 'flyctl --help' to get started
▲ (macmini.local) ~  flyctl auth login
Error Post "https://api.fly.io/api/v1/cli_sessions": net/http: TLS handshake timeout

This is my environment

screenfetch -n
 solrevdev@macmini
 OS: 64bit Mac OS X 10.14.6 18G95
 Kernel: x86_64 Darwin 18.7.0
 Uptime: 44d 18h 24m
 Packages: 437
 Shell: zsh 5.8
 Resolution: 2560x1440
 DE: Aqua
 WM: Quartz Compositor
 WM Theme: Blue (Dark)
 Disk: 306G / 525G (59%)
 CPU: Intel Core i5-4278U @ 2.60GHz
 GPU: Intel Iris
 RAM: 8113MiB / 16384MiB

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (3 by maintainers)

Most upvoted comments

Found that the issue is because I am in Asia (Taiwan)… it works when I’m using a VPN

I will close the issue now. Thanks all who helped and took a look at this for me.