Mongorestore "auth failed" in a deployed application on meteor.com

I got information from my deployed application using the command

meteor mongo -url bhedir.meteor.com

Then I accepted the answer and used the information for my mongorestore -u client -p meteorinfo - h meteorinfo -d bhedir_meteor_com meteordump / meteor

however, I keep getting the following error:

assertion: 18 {code: 18, ok: 0.0, errmsg: "auth failed"}

I should note that I have several meteorite packets, but I don’t see how this will affect this.

In addition, I did this before, not so many times, but did not encounter any problems. Any advice would be greatly appreciated.

+2
mongodb meteor meteorite
Aug 09 '13 at 21:06 on
source share
2 answers

I assume that "meteorinfo" is a placeholder for the hostname and password that you exit?

If then, when you get auto information with meteor mongo -url bhedir.meteor.com , you need to make mongorestore very quickly, since the auth data you receive lasts only 1 minute, then this will expire, and you should do meteor mongo --url bhedir.meteor.com call again

0
Aug 10 '13 at 9:22
source share

You forgot some required parameter, which can be a username, password or db

0
Aug 21 '15 at 21:20
source share



All Articles