You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read through all the solutions on this issue and none have seemed to help: #7450
I have successfully gotten our .Net applications to connect to our new ibm hosted mongo DB, but am getting an error whenever i try with meteor locally or through our galaxy server:
2022-10-14 11:00:53-04:00 MongoError: no primary found in replicaset
2022-10-14 11:00:53-04:00 at Object.Future.wait (/app/bundle/programs/server/node_modules/fibers/future.js:449:15)
2022-10-14 11:00:53-04:00 at new MongoConnection (packages/mongo/mongo_driver.js:211:27)
2022-10-14 11:00:53-04:00 at new MongoInternals.RemoteCollectionDriver (packages/mongo/remote_collection_driver.js:4:16)
2022-10-14 11:00:53-04:00 at Object.<anonymous> (packages/mongo/remote_collection_driver.js:38:10)
2022-10-14 11:00:53-04:00 at Object.defaultRemoteCollectionDriver (packages/underscore.js:784:19)
2022-10-14 11:00:53-04:00 at new Mongo.Collection (packages/mongo/collection.js:99:40)
2022-10-14 11:00:53-04:00 at AccountsServer.AccountsCommon (packages/accounts-base/accounts_common.js:23:18)
2022-10-14 11:00:53-04:00 at new AccountsServer (packages/accounts-base/accounts_server.js:18:5)
2022-10-14 11:00:53-04:00 at meteorInstall.node_modules.meteor.accounts-base.server_main.js (packages/accounts-base/server_main.js:9:12)
2022-10-14 11:00:53-04:00 at fileEvaluate (packages/modules-runtime.js:197:9)
Here is the current way i am calling my connection string with a "npm run win-start" command defined in our package.json:
Meteor 1.4.4.1 uses MongoDB driver 2.2.24 (it was updated in 1.4.3.2), and the latest MongoDB version it supports is 3.4. You'd have to update to at least Meteor 1.11 (driver 3.6).
Meteor 1.4.4.1 uses MongoDB driver 2.2.24 (it was updated in 1.4.3.2), and the latest MongoDB version it supports is 3.4. You'd have to update to at least Meteor 1.11 (driver 3.6).
So I did manage to get the connection to work, but by adding ssl equal to true in the parameters, which idk why that fixed it and I think it might be deprecated? Also, our compose db was running on 4.0 mongo db and everything was working just fine with meteor.
So do you think I’m good for the time being or are things going to bite us in the butt here soon?
Well, MongoDB is rather safe to use with an unsupported version in most cases, and the table I linked shows "full compatibility", i.e., it may work, but some features may be unavailable (because the driver doesn't understand them or the database no longer supports them).
Now, being realistic, these versions are really old, and nobody will ever touch it, so if it works, it most likely will indefinitely for a long time. I think it's fine as long as you test it thoroughly.
I have read through all the solutions on this issue and none have seemed to help: #7450
I have successfully gotten our .Net applications to connect to our new ibm hosted mongo DB, but am getting an error whenever i try with meteor locally or through our galaxy server:
Here is the current way i am calling my connection string with a "npm run win-start" command defined in our package.json:
(notice the ^&, thats the only way i could escape the ampersands and get the command to not error out. maybe that's part of the problem)
even trying to connect to our old compose server locally throws this same error. Any help is appreciated
The text was updated successfully, but these errors were encountered: