Mongorestore "auth fails" at deployed app at meteor.com
Asked Answered
P

2

2

I received the information from my deployed app by using the command

meteor mongo -url bhedir.meteor.com

I then took the response and used the info 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 fails" }

I should note that I have several meteorite packages included but I don't see how that would affect this.

Also, I've done this before, granted not that many times, but did not run into any issues. Any advice would be greatly appreciated.

Posterior answered 9/8, 2013 at 21:6 Comment(0)
C
0

I assume 'meteorinfo' is a placeholder for the hostname and password you get out?

If so then when you get the auth info with meteor mongo -url bhedir.meteor.com you have to be very quick to do the mongorestore as the auth data you get only lasts 1 minute, then it expires and you have to do the meteor mongo --url bhedir.meteor.com call again

Cordless answered 10/8, 2013 at 9:22 Comment(0)
A
0

You forgot some required parameter as might be the username, password or db

Automatic answered 21/8, 2015 at 21:20 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.