External MongoDB connection throwing errors on Windows build


#1

Trying to get running on Windows but the same connection settings that work on Linux, fail on Windows.

SET MONGO_URL=mongodb://username:password@mongodb.path.is.here.com:27017/db_name
SET HTTP_FORWARDED_COUNT=1
meteor

fails with:

Error: URL must be in the format mongodb://user:pass@host:port/dbname
at Error ()
at exports.parse (C:\Users\bahammon\AppData\Local.meteor\packages\mongo\1.1.0\npm\node_modules\mongodb\lib\mongodb\connection\url_parser.js:15:11)
at Function.MongoClient.connect (C:\Users\bahammon\AppData\Local.meteor\packages\mongo\1.1.0\npm\node_modules\mongodb\lib\mongodb\mongo_client.js:164:16)
at Function.Db.connect (C:\Users\bahammon\AppData\Local.meteor\packages\mongo\1.1.0\npm\node_modules\mongodb\lib\mongodb\db.js:2094:23)
at new MongoConnection (packages/mongo/mongo_driver.js:173:1)
at [object Object]._.extend._startTailing (packages/mongo/oplog_tailing.js:205:1)
at new OplogHandle (packages/mongo/oplog_tailing.js:81:1)
at new MongoConnection (packages/mongo/mongo_driver.js:216:1)
at new MongoInternals.RemoteCollectionDriver (packages/mongo/remote_collection_driver.js:4:1)