Hi all. Trying to deploy my second ever meteor app this evening… aaand it doesn’t want to work. It goes through the minifaction and then uploads for a while, and then I get this error:
It only seems to happen if a site has been deployed before. If you delete it from the server using -D and reset your project locally it works. But of course you have to reseed any data you had. And you cannot update it after that.
From my tests, deploying works around 75% of the time – are you guys in a state where you can’t deploy your app at all even if you try a few times? If so I’d love to know which apps these are.
@avital haven’t tried today but last night it worked on my 17th (or 18th) try… I just kept meteor deploying until it worked. Sites I already had up worked but I was deploying to update code, I tried locally resetting and also deleting my app first then deploying but it just seemed random luck. I was just pressing up + enter and checking back and retrying until it worked. Is it just randomly working now or cause was found?
There is a bug in the node mongo driver that we use on our production deploy servers to connect to the mongo cluster that we use to store information about deployed apps. When there is a leadership election – that is, when the primary server in the cluster changes – the driver doesn’t keep track of that and starts simply returning empty data from queries instead of reconnecting to the new primary.
The reason this only happened some of the time is that the node mongo driver bug doesn’t always happen, and we run 8 deploy servers so only some of them were affected. Each time you run meteor deploy (or a few other commands) it connects to a different deploy server.
I am having and issue with deploying as well. Exactly same app deployed two days ago (only changed a H3 tag) and now after deploying the app won’t load.
After deploying an app to Meteor.com it just sits on “This site is loading…”