MeteorJS Mongo连接超时

时间:2014-10-16 17:48:23

标签: mongodb meteor meteor-up

我有一个没有连接到Mongo的MeteorJS应用程序。它是使用meteor部署部署的,但出于某种原因,它在尝试连接数据库时超时:S我仍然可以使用meteor mongo访问mongo数据库并且所有数据都存在!

我正在使用Meteor 0.9.3.1,这是我的包裹:

standard-app-packages
insecure
underscore
arunoda:npm@0.2.6
mrt:bootstrap-3
http
iron:router
mrt:q@0.9.7
mrt:moment@2.8.1
mrt:twilio-meteor
email

以下是来自流星日志的日志:

[Thu Oct 16 2014 17:39:25 GMT+0000 (UTC)] INFO Exception in setInterval callback: MongoError: connection to [production-db-a3.meteor.io:27017] timed out
    at Object.Future.wait (/meteor/dev_bundles/0.3.55/lib/node_modules/fibers/future.js:326:15)
    at _.extend._nextObject (packages/mongo/mongo_driver.js:858)
    at _.extend.forEach (packages/mongo/mongo_driver.js:892)
    at _.extend.map (packages/mongo/mongo_driver.js:902)
    at _.extend.fetch (packages/mongo/mongo_driver.js:926)
    at Cursor.(anonymous function) [as fetch] (packages/mongo/mongo_driver.js:741)
    at Object.residentModel.getActiveResidents (app/shared/collections/residents.js:43:40)
    at Object._.extend._run (app/server/services/deviceService/sensorChangeWatchdog.js:6:39)
    at app/lib/watchdogFactory.js:7:12
    at _.extend.withValue (packages/meteor/dynamics_nodejs.js:56)
    - - - - -
    at Object.toError (/meteor/containers/450809a5-5a17-5e6e-8233-85e6ad895366/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/utils.js:110:11)
    at commandHandler (/meteor/containers/450809a5-5a17-5e6e-8233-85e6ad895366/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/cursor.js:679:63)
    at null.<anonymous> (/meteor/containers/450809a5-5a17-5e6e-8233-85e6ad895366/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/db.js:1843:9)
    at g (events.js:180:16)
    at emit (events.js:98:17)
    at Base.__executeAllServerSpecificErrorCallbacks (/meteor/containers/450809a5-5a17-5e6e-8233-85e6ad895366/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/connection/base.js:365:29)
    at Server.<anonymous> (/meteor/containers/450809a5-5a17-5e6e-8233-85e6ad895366/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/connection/repl_set/ha.js:445:10)
    at Server.g (events.js:180:16)
    at Server.emit (events.js:98:17)
    at null.<anonymous> (/meteor/containers/450809a5-5a17-5e6e-8233-85e6ad895366/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/connection/server.js:501:88)
[Thu Oct 16 2014 17:41:05 GMT+0000 (UTC)] INFO STATUS running -> killed
[Thu Oct 16 2014 17:41:05 GMT+0000 (UTC)] NOTICE Starting application on port 19159
[Thu Oct 16 2014 17:41:05 GMT+0000 (UTC)] INFO STATUS killed -> starting
[Thu Oct 16 2014 17:41:06 GMT+0000 (UTC)] INFO STATUS starting -> running
[Thu Oct 16 2014 17:41:07 GMT+0000 (UTC)] INFO init

0 个答案:

没有答案