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

Loading screen + mongodb timeout #1

Open
ecawthon opened this issue Sep 22, 2019 · 0 comments
Open

Loading screen + mongodb timeout #1

ecawthon opened this issue Sep 22, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@ecawthon
Copy link
Member

Symptom: chat.cloyne.org shows the three loading dots and the correct page title (CloyneChat) as set by rocketchat, but never loads.

In /srv/log/rocketchat/current:

=> awaited here:                                                                                                        
    at Promise.await (/Rocket.Chat/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:60:12)
    at SynchronousCursor._nextObject (packages/mongo/mongo_driver.js:1091:12)
    at SynchronousCursor.forEach (packages/mongo/mongo_driver.js:1105:22)
    at Cursor.(anonymous function) [as forEach] (packages/mongo/mongo_driver.js:887:44)
    at OplogObserveDriver._runQuery (packages/mongo/oplog_observe_driver.js:729:16)
    at packages/mongo/oplog_observe_driver.js:699:14
    at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1304:12)
    at packages/meteor.js:620:25
    at runWithEnvironment (packages/meteor.js:1356:24)

repeated many times. Final entry after checking in browser and before force restarting:

 => awaited here:
    at Promise.await (/Rocket.Chat/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:60:12)
    at SynchronousCursor._nextObject (packages/mongo/mongo_driver.js:1091:12)
    at SynchronousCursor.forEach (packages/mongo/mongo_driver.js:1105:22)
    at SynchronousCursor.map (packages/mongo/mongo_driver.js:1115:10)
    at SynchronousCursor.fetch (packages/mongo/mongo_driver.js:1139:17)
    at Cursor.(anonymous function) [as fetch] (packages/mongo/mongo_driver.js:887:44)
    at Object.<anonymous> (packages/matb33_collection-hooks.js:445:81)
    at Object.collection.(anonymous function) [as update] (packages/matb33_collection-hooks.js:146:21) 
    at Collection.update (packages/mongo/collection.js:585:31)                       
    at Collection.Mongo.Collection.(anonymous function) [as update] (packages/dispatch_run-as-user.js:325:19)
    at BaseDb.update (app/models/server/models/_BaseDb.js:229:25)
    at Collection.model.update (app/models/server/models/_BaseDb.js:110:16)
    at AccountsServer._expireTokens (packages/accounts-base/accounts_server.js:1018:16)
    at accounts.expireTokenInterval.Meteor.setInterval (packages/accounts-base/accounts_server.js:1432:14)
    at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1304:12)
    at packages/meteor.js:620:25
    at runWithEnvironment (packages/meteor.js:1356:24)
  name: 'MongoNetworkError',
  errorLabels: [ 'TransientTransactionError' ],
  [Symbol(mongoErrorContextSymbol)]: {} }
Exception in setInterval callback: SwitchedToQuery{}

Fixed (temporarily?) by restarting mongo container and then re-running rocketchat from within the rocketchat container. Not sure what actually caused this or if it will happen again.

@ecawthon ecawthon added the bug Something isn't working label Sep 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant