https://pulumi.com logo
Title
p

plain-spoon-93851

03/16/2021, 7:27 PM
We are evaluating pulumi and I’m trying to run through the quick start. I’m not able to login with the website or an access token and I can’t figure out what the problem is. Everything I do results in a timeout. Any suggestions?
~/Code/quickstart $ pulumi login
Manage your Pulumi stacks by logging in.
Run `pulumi login --help` for alternative login options.
Enter your access token from <https://app.pulumi.com/account/tokens>
    or hit <ENTER> to log in using your browser                   : 
We've launched your web browser to complete the login process.

Waiting for login to complete...
error: problem logging in: performing HTTP request: Get "<https://api.pulumi.com/api/user>": net/http: TLS handshake timeout
~/Code/quickstart $ pulumi login
Logging in using access token from PULUMI_ACCESS_TOKEN
error: problem logging in: getting user info from <https://api.pulumi.com>: performing HTTP request: Get "<https://api.pulumi.com/api/user>": net/http: TLS handshake timeout
w

worried-knife-31967

03/16/2021, 7:42 PM
Is there a chance that you're running through a corporate proxy?
b

brave-planet-10645

03/16/2021, 7:50 PM
What happens when you go to https://api.pulumi.com in a browser?
p

plain-spoon-93851

03/16/2021, 7:53 PM
I’m on my home network and turned the firewall off just for fun. I can hit the api. Thanks for the help.
curl <https://api.pulumi.com/api/user>
{"code":401,"message":"Unauthorized: No credentials provided or are invalid."}
w

worried-knife-31967

03/16/2021, 7:57 PM
Are you saying that you've worked it out?
p

plain-spoon-93851

03/16/2021, 7:57 PM
no, any time i use the pulumi cli it times out
but i can curl the same endpoint
w

worried-knife-31967

03/16/2021, 7:58 PM
Times out at the CLI handshake?
*TLS
p

plain-spoon-93851

03/16/2021, 7:58 PM
it seems so from the error message
i can
az login
with out any issue
w

worried-knife-31967

03/16/2021, 8:00 PM
My only thought is an edge proxy, and they've bypassed the microsoft domains. Curl is also maybe bypassing and the CLI is using a system proxy.
p

plain-spoon-93851

03/16/2021, 8:01 PM
im not running any vpn/proxy/etc. Pretty vanilla set-up and I turned my router and mac firewalls off to troubleshoot
$ telnet <http://api.pulumi.com|api.pulumi.com> 443
Trying 35.160.203.13...
Connected to <http://api.pulumi.com|api.pulumi.com>.
Escape character is '^]'.
$ pulumi login
Logging in using access token from PULUMI_ACCESS_TOKEN
error: problem logging in: getting user info from <https://api.pulumi.com>: performing HTTP request: Get "<https://api.pulumi.com/api/user>": net/http: TLS handshake timeout
anything else I can check?
w

worried-knife-31967

03/16/2021, 9:15 PM
I'm out I'm afraid... Possibly one of the pulumi folks.
p

plain-spoon-93851

03/16/2021, 9:47 PM
thank you
b

brave-planet-10645

03/17/2021, 1:55 PM
@plain-spoon-93851 can you raise an issue in https://github.com/pulumi/pulumi for this please
p

plain-spoon-93851

03/17/2021, 3:51 PM