Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

meteor deploy fails with message "Expired credential"

Tags:

meteor

I recently tried to deploy an updated version of my app. Previously, I would simply run:

meteor deploy myapp.meteor.com

without problem (myapp is just a placeholder for my actual app name). Now, after no changes to my system other than a OSX Mavericks patch, it fails. The command (and other commands):

meteor list-sites

returns "Couldn't list sites: Expired credential. Please log in again."

When I try to deploy my app with:

meteor deploy myapp.meteor.com

After username/password prompts, I get the message "Error deploying application: login failed." Login though the meteor.com website works with the same username/password. Running the meteor command with --debug gives no additional information.

like image 837
Shep Avatar asked May 28 '14 13:05

Shep


2 Answers

OK, here's what worked.

First logout with:

meteor logout

Then log back in, but the username is NOT the email address you use to sign in to your developer account on meteor.com website. When you log in to the meteor.com website using your email address and password, in the top right hand corner of your browser is another username that you will have created when you set up your meteor developer account. You must use that username to login from your app directory. To be clear:

username_website: [email protected]
username_meteor: MyUserName (whatever you set up when you created your developer account)
password: MyPassword

To log into your meteor developer account at meteor.com use the combination:

username_website / password

To log into your meteor developer account from your meteor app directory using the command "meteor login" use the combination:

username_meteor / password

After that "Expired Credential" goes away and you can again deploy your app.

like image 106
Shep Avatar answered Oct 29 '22 16:10

Shep


Maybe you just have to log in again

You may have to log out first, not always.

meteor logout

Run this to relogin

meteor login
like image 9
Tarang Avatar answered Oct 29 '22 15:10

Tarang