Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MongoError: topology was destroyed #9

Open
knolleary opened this issue Sep 19, 2017 · 1 comment
Open

MongoError: topology was destroyed #9

knolleary opened this issue Sep 19, 2017 · 1 comment

Comments

@knolleary
Copy link
Member

The following error appears to have killed the flow library. A quick restart and it was up and running again.

Recording it here as there's probably some error handling missing...

MongoError: topology was destroyed
    at Server.update (/home/knolleary/webapps/flows/flow-library/node_modules/connect-mongo/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:984:49)
    at Server.update (/home/knolleary/webapps/flows/flow-library/node_modules/connect-mongo/node_modules/mongodb/lib/server.js:332:17)
    at updateDocuments (/home/knolleary/webapps/flows/flow-library/node_modules/connect-mongo/node_modules/mongodb/lib/collection.js:980:19)
    at Collection.update (/home/knolleary/webapps/flows/flow-library/node_modules/connect-mongo/node_modules/mongodb/lib/collection.js:1018:44)
    at /home/knolleary/webapps/flows/flow-library/node_modules/connect-mongo/lib/connect-mongo.js:340:18
    at MongoStore.getCollection (/home/knolleary/webapps/flows/flow-library/node_modules/connect-mongo/lib/connect-mongo.js:210:11)
    at MongoStore.set (/home/knolleary/webapps/flows/flow-library/node_modules/connect-mongo/lib/connect-mongo.js:338:10)
    at Session.save (/home/knolleary/webapps/flows/flow-library/node_modules/express/node_modules/connect/node_modules/express-session/session/session.js:71:25)
    at Session.save (/home/knolleary/webapps/flows/flow-library/node_modules/express/node_modules/connect/node_modules/express-session/index.js:327:15)
    at ServerResponse.end (/home/knolleary/webapps/flows/flow-library/node_modules/express/node_modules/connect/node_modules/express-session/index.js:285:21)
@knolleary
Copy link
Member Author

Happened again today.

Based on some research, have set saveUninitialized: false of the express session - will see how that holds up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant