https://pulumi.com logo
#general
Title
# general
b

busy-umbrella-36067

10/04/2018, 7:27 PM
is
<http://api.pulumi.com|api.pulumi.com>
updated via dns? I periodically get DNS resolution failures and have to login again
b

bitter-oil-46081

10/04/2018, 9:28 PM
I do not believe it should be updated frequently, but it is possible. You're saying when you see failures you have to log in again from the CLI because it prompts you to do so?
b

busy-umbrella-36067

10/04/2018, 9:30 PM
yeah it does, I get the promp even though i have credentials set in my
~/.pulumi/credentials.json
b

bitter-oil-46081

10/04/2018, 9:35 PM
Okay, I believe what is going on here is basically the same root cause as this issue: https://github.com/pulumi/pulumi/issues/1202 When the CLI starts up, we test to see if you are logged in so we can prompt you eagerly. I am guessing that check fails and we don't distinguish DNS resolution error vs pulumi.com said your token was incorrect.