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

Users created/logged in with 1.5.0 cannot access the app after upgrading to 2.0.0-pre* #569

Closed
astorije opened this issue Aug 17, 2016 · 4 comments · Fixed by #570
Closed
Labels
Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors.
Milestone

Comments

@astorije
Copy link
Member

Steps to reproduce:

  • On The Lounge v1.5.0, create a user
  • Start the server, login and close the server
  • Install the latest version (v2.0.0-pre6 right now)
  • Start the server and notice the following error in the server console:
Missing error handler on `socket`.
TypeError: Cannot read property 'token' of undefined
    at Socket.auth (/Users/jeremie/Perso/lounge/src/server.js:289:60)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at Socket.onevent (/Users/jeremie/Perso/lounge/node_modules/socket.io/lib/socket.js:335:8)
    at Socket.onpacket (/Users/jeremie/Perso/lounge/node_modules/socket.io/lib/socket.js:295:12)
    at Client.ondecoded (/Users/jeremie/Perso/lounge/node_modules/socket.io/lib/client.js:193:14)
    at Decoder.Emitter.emit (/Users/jeremie/Perso/lounge/node_modules/socket.io/node_modules/socket.io-parser/node_modules/component-emitter/index.js:134:20)
    at Decoder.add (/Users/jeremie/Perso/lounge/node_modules/socket.io/node_modules/socket.io-parser/index.js:247:12)
    at Client.ondata (/Users/jeremie/Perso/lounge/node_modules/socket.io/lib/client.js:175:18)
    at emitOne (events.js:77:13)
@astorije astorije added the Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors. label Aug 17, 2016
@astorije astorije added this to the 2.0.0 milestone Aug 17, 2016
@astorije astorije changed the title Users from 1.5.0 cannot access the app Users created/logged in with 1.5.0 cannot access the app after upgrading to 2.0.0-pre* Aug 17, 2016
@GriffinCodes
Copy link

GriffinCodes commented Aug 18, 2016

I can't figure out why but I am now able to log in while none of my other users are. I can view all of my custom css and highlights.

@toxinu
Copy link

toxinu commented Aug 18, 2016

Same bug for me.
I can't log. Any workaround?

@astorije
Copy link
Member Author

@toxinu, there is a bug fix under review: #570.
In the meantime, you can either log in with a different browser, or in private browsing, or by emptying your browser cache (but careful, that will delete your custom CSS if you have some, as well as settings).

@toxinu
Copy link

toxinu commented Aug 19, 2016

@astorije, browser cache deleted. Thank you! 👍

@xPaw xPaw closed this as completed in #570 Aug 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants