Skip to content

Crash due to some cookie timeout? #17

@tunnell

Description

@tunnell

The node app crashed (so whole website) today with this error. I'm putting it here just to log it in case it happens again.

GET /shifts/get_shifts?start=2021-08-01&end=2021-09-12&timezone=UTC&_=1625487524497 200 1.117 ms - 2932
assert.js:669
assert.ifError = function ifError(err) { if (err) throw err; };
                                                  ^
Error: Error setting LBUwBUDLGJx8yHG5T5KJjKAtheEEbqIb to Session {
  cookie:
   { path: '/',
     _expires: 2021-07-12T12:48:22.773Z,
     originalMaxAge: 604800000,
     httpOnly: true },
  returnTo: '/' }: getaddrinfo EAI_AGAIN cluster0-shard-00-01-dumoh.gcp.mongodb.net:27017
    at /home/martinez/xenon-users-web/node_modules/connect-mongodb-session/index.js:229:21
    at Object.topology.selectServer.err [as callback] (/home/martinez/xenon-users-web/node_modules/mongodb/lib/operations/execute_operation.js:176:7)
    at Timeout.waitQueueMember.timer.setTimeout [as _onTimeout] (/home/martinez/xenon-users-web/node_modules/mongodb/lib/core/sdam/topology.js:435:25)
    at ontimeout (timers.js:482:11)
    at tryOnTimeout (timers.js:317:5)
    at Timer.listOnTimeout (timers.js:277:5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions