dewv / ops

Tracking of operational tasks in DevOps production environment
2 stars 0 forks source link

NLC System Login #164

Open MethenyS opened 3 years ago

methenyk commented 3 years ago

We received an email this morning from Mr. Fincham regarding an issue with the NLC System login. It seems that after putting in your credentials and trying to login into the system the screen is blank and isn't loading. Mr. Fincham has been informed that we are working to resolve this issue and that we will update him as soon as we resolve or can find what is causing this.

methenyk commented 3 years ago

NLC_System_Login_Issue_#168

smattingly commented 3 years ago

Relevant logs:

error: Sending 500 ("Server Error") response:
Mar 24 09:10:09 localhost npm[29918]:  { AdapterError: Unexpected error from database adapter: user account has been updated after reload. Please re
Mar 24 09:10:09 localhost npm[29918]:     at Deferred._.extend._WLModel [as _handleExec] (/var/www/nlcAttendance-v2.5.5/node_modules/waterline/lib/w
Mar 24 09:10:09 localhost npm[29918]:     at Deferred.exec (/var/www/nlcAttendance-v2.5.5/node_modules/parley/lib/private/Deferred.js:286:10)
Mar 24 09:10:09 localhost npm[29918]:     at Deferred.tryCatcher (/var/www/nlcAttendance-v2.5.5/node_modules/parley/node_modules/bluebird/js/release
Mar 24 09:10:09 localhost npm[29918]:     at ret (eval at makeNodePromisifiedEval (/var/www/nlcAttendance-v2.5.5/node_modules/parley/node_modules/bl
Mar 24 09:10:09 localhost npm[29918]:     at Deferred.toPromise (/var/www/nlcAttendance-v2.5.5/node_modules/parley/lib/private/Deferred.js:572:19)
Mar 24 09:10:09 localhost npm[29918]:     at Deferred.then (/var/www/nlcAttendance-v2.5.5/node_modules/parley/lib/private/Deferred.js:431:22)
Mar 24 09:10:09 localhost npm[29918]:     at process._tickCallback (internal/process/next_tick.js:189:7)
Mar 24 09:10:09 localhost npm[29918]:   name: 'AdapterError',
Mar 24 09:10:09 localhost npm[29918]:   adapterMethodName: 'find',
Mar 24 09:10:09 localhost npm[29918]:   modelIdentity: 'student',
Mar 24 09:10:09 localhost npm[29918]:   raw:
Mar 24 09:10:09 localhost npm[29918]:    { MongoError: user account has been updated after reload. Please reauthenticate the user
Mar 24 09:10:09 localhost npm[29918]:     at flaverr (/var/www/nlcAttendance-v2.5.5/node_modules/flaverr/index.js:94:15)
Mar 24 09:10:09 localhost npm[29918]:     at Function.module.exports.parseError (/var/www/nlcAttendance-v2.5.5/node_modules/flaverr/index.js:371:12)
Mar 24 09:10:09 localhost npm[29918]:     at Function.handlerCbs.error (/var/www/nlcAttendance-v2.5.5/node_modules/machine/lib/private/help-build-ma
Mar 24 09:10:09 localhost npm[29918]:     at findCb (/var/www/nlcAttendance-v2.5.5/node_modules/sails-mongo/lib/private/machines/find-records.js:121
Mar 24 09:10:09 localhost npm[29918]:     at handleCallback (/var/www/nlcAttendance-v2.5.5/node_modules/mongodb/lib/utils.js:120:56)
Mar 24 09:10:09 localhost npm[29918]:     at /var/www/nlcAttendance-v2.5.5/node_modules/mongodb/lib/cursor.js:857:22
Mar 24 09:10:09 localhost npm[29918]:     at handleCallback (/var/www/nlcAttendance-v2.5.5/node_modules/mongodb-core/lib/cursor.js:171:5)
Mar 24 09:10:09 localhost npm[29918]:     at /var/www/nlcAttendance-v2.5.5/node_modules/mongodb-core/lib/cursor.js:585:22
Mar 24 09:10:09 localhost npm[29918]:     at queryCallback (/var/www/nlcAttendance-v2.5.5/node_modules/mongodb-core/lib/cursor.js:212:16)
Mar 24 09:10:09 localhost npm[29918]:     at /var/www/nlcAttendance-v2.5.5/node_modules/mongodb-core/lib/connection/pool.js:461:18
Mar 24 09:10:09 localhost npm[29918]:     at _combinedTickCallback (internal/process/next_tick.js:132:7)
Mar 24 09:10:09 localhost npm[29918]:     at process._tickCallback (internal/process/next_tick.js:181:9)
Mar 24 09:10:09 localhost npm[29918]:      name: 'MongoError',
Mar 24 09:10:09 localhost npm[29918]:      ok: 0,
Mar 24 09:10:09 localhost npm[29918]:      errmsg: 'user account has been updated after reload. Please reauthenticate the user',
Mar 24 09:10:09 localhost npm[29918]:      code: 8000,
Mar 24 09:10:09 localhost npm[29918]:      codeName: 'AtlasError',
Mar 24 09:10:09 localhost npm[29918]:      _originalStack: 'MongoError: user account has been updated after reload. Please reauthenticate the user\n
Mar 24 09:10:09 localhost npm[29918]: EJS rendering error: TypeError: Cannot read property 'startsWith' of undefined
smattingly commented 3 years ago

NB this was issue 168 before transfer from code repo. 168 is the number used in customer communications.

smattingly commented 3 years ago

Issue was temporarily resolved by restarting app service. Code changes may be needed for a permanent fix, but that will be tracked elsewhere. No immediate action item except increased monitoring; will close this in 2-3 days if nothing recurs.