doclets icon indicating copy to clipboard operation
doclets copied to clipboard

Login-Issues, session can't be saved

Open Idrinth opened this issue 7 years ago • 7 comments

There seems to be an issue with the session-handling at the moment when trying to log in:

TypeError: req.session.save is not a function
   at Routes.authGithubCallback (/usr/src/app/lib/routes.js:15:15)
   at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
   at next (/usr/src/app/node_modules/express/lib/router/route.js:131:13)
   at complete (/usr/src/app/node_modules/passport/lib/middleware/authenticate.js:250:13)
   at /usr/src/app/node_modules/passport/lib/middleware/authenticate.js:257:15
   at pass (/usr/src/app/node_modules/passport/lib/authenticator.js:421:14)
   at Authenticator.transformAuthInfo (/usr/src/app/node_modules/passport/lib/authenticator.js:443:5)
   at /usr/src/app/node_modules/passport/lib/middleware/authenticate.js:254:22
   at /usr/src/app/node_modules/passport/lib/http/request.js:60:7
   at pass (/usr/src/app/node_modules/passport/lib/authenticator.js:267:43)
   at serialized (/usr/src/app/node_modules/passport/lib/authenticator.js:276:7)
   at /usr/src/app/lib/routes.js:394:9
   at model.<anonymous> (/usr/src/app/node_modules/mongoose/lib/document.js:1913:20)
   at next_ (/usr/src/app/node_modules/mongoose/node_modules/hooks-fixed/hooks.js:89:34)
   at fnWrapper (/usr/src/app/node_modules/mongoose/node_modules/hooks-fixed/hooks.js:186:18)
   at /usr/src/app/node_modules/mongoose/lib/model.js:3361:16

With the following on reload:

InternalOAuthError: Failed to fetch user profile
   at /usr/src/app/node_modules/passport-github2/lib/strategy.js:96:19
   at passBackControl (/usr/src/app/node_modules/passport-github2/node_modules/passport-oauth2/node_modules/oauth/lib/oauth2.js:123:9)
   at IncomingMessage.<anonymous> (/usr/src/app/node_modules/passport-github2/node_modules/passport-oauth2/node_modules/oauth/lib/oauth2.js:143:7)
   at emitNone (events.js:72:20)
   at IncomingMessage.emit (events.js:166:7)
   at endReadableNT (_stream_readable.js:905:12)
   at nextTickCallbackWith2Args (node.js:441:9)
   at process._tickCallback (node.js:355:17)

Idrinth avatar Jun 02 '18 01:06 Idrinth

Happened to me too, site is useless for now

CamiloTD avatar Jul 27 '18 07:07 CamiloTD

Just experienced this issue. req.session.save is not a function

jidemobell avatar Sep 13 '18 04:09 jidemobell

@lipp any update on that issue?

fewieden avatar Oct 28 '18 16:10 fewieden

I met the same problem now!

yunnysunny avatar Feb 14 '19 11:02 yunnysunny

@lipp any plans to fix this? Doclets is broken for a year now.

magicznyleszek avatar Mar 25 '19 14:03 magicznyleszek

@lipp same problem here...

nico1996it avatar Apr 01 '19 09:04 nico1996it

@lipp I also have the same problem.

cherryblossom000 avatar Jul 31 '19 11:07 cherryblossom000