Skip to content

Could not login to Mission Control #632

Description

@maksimkurb

Hello

I have NodeRED 4.0.2 installed with RedBot 1.2.4.

When I try to login to Mission Control using default login and password (never logged in before) I get the following error message:

Error: Failed to deserialize user out of session
    at pass (/usr/src/node-red/node_modules/passport/lib/authenticator.js:359:19)
    at Authenticator.deserializeUser (/usr/src/node-red/node_modules/passport/lib/authenticator.js:377:5)
    at SessionStrategy.authenticate (/usr/src/node-red/node_modules/passport/lib/strategies/session.js:112:10)
    at attempt (/usr/src/node-red/node_modules/passport/lib/middleware/authenticate.js:378:16)
    at authenticate (/usr/src/node-red/node_modules/passport/lib/middleware/authenticate.js:379:7)
    at Layer.handle [as handle_request] (/usr/src/node-red/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/usr/src/node-red/node_modules/express/lib/router/index.js:328:13)
    at /usr/src/node-red/node_modules/express/lib/router/index.js:286:9
    at Function.process_params (/usr/src/node-red/node_modules/express/lib/router/index.js:346:12)
    at next (/usr/src/node-red/node_modules/express/lib/router/index.js:280:10)
    at initialize (/usr/src/node-red/node_modules/passport/lib/middleware/initialize.js:98:5)
    at Layer.handle [as handle_request] (/usr/src/node-red/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/usr/src/node-red/node_modules/express/lib/router/index.js:328:13)
    at /usr/src/node-red/node_modules/express/lib/router/index.js:286:9
    at Function.process_params (/usr/src/node-red/node_modules/express/lib/router/index.js:346:12)
    at next (/usr/src/node-red/node_modules/express/lib/router/index.js:280:10)
    at Immediate.<anonymous> (/usr/src/node-red/node_modules/express-session/index.js:514:7)
    at process.processImmediate (node:internal/timers:480:21)

Tried to remove /data/mission-control.sqlite file, but it didn't help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions