Importing collections breaks Meteor app deployed with mup

62 Views Asked by At

My Meteor app is running on a Digital Ocean droplet.

Meteor: v1.5.3 Server: Ubuntu 14.04.5 x 64

It deploys fine with mup but when I use Studio 3T to import the collections from my old 1.2 app, I see continual error messages in the console like:

GET http://xxx.xx.xx.xx/sockjs/info?cb=u7lbhqd_js net::ERR_CONNECTION_REFUSED

GET requests for resources including images and routes are being refused. The app does run but very slowly and most images are not showing. It is not consistent; the same image will be missing, then appear when I return to the route.

I have imported the same JSON collections to my localhost version and they run perfectly.

I am connecting to the live database by forwarding the mongo instance to localhost with:

ssh -L 4321:localhost:27017 -i ~/.ssh/id_rsa [email protected]

All the imported collections look fine on the live database. I can edit values in documents OK, it's only when I import an entire collection from a JSON file that it goes wrong. And I can't see why updating the collections would interfere with the GET requests.

Has anybody had a similar problem / any idea how to figure out what's going wrong?

0

There are 0 best solutions below