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
[1.5.2.1] Using accounts-* package keep logging out #9140
Comments
@ymchun - you might be impacted by #9066, which was fixed and released with 1.5.2.1 (see a549448). Are you by chance setting the Accounts |
@hwillson I didn't set this option, docs said it defaults to 90. It seems the session not expired when reload page but it just expired after some time. Using ddp debug, seems after login, the server update the session token which expired immediately. I will look into it for reproduction. |
Seeing this in multiple projects at Reaction after updating to
Blaze and React frontend. Don't have time to put together a reproduction immediately, but wanted to chime in. |
Since upgrading to Error message:
The app is trying to resume the session:
|
@maxfi Same here using ddp debug |
@ymchun Did you upgrade from |
@maxfi My app upgraded from and the ddp debug |
@hwillson From the recommendation in Meteor allow/deny vulnerability disclosure – Meteor Blog I updated from As this issue has been adversely affecting my users today what is the recommended resolution to this? Should I rollback to |
The big question is, is this an Update: as far as we can see now it's unrelated. I'll keep you updated. |
@maxfi The recommendation in the article you linked to was to update @jamiter This cannot be an issue with the |
@abernix You're right. My bad. I've rolled back to |
Hi all - I've found the problem and am working on a fix. More details coming shortly. |
I've upgraded to 1.5.2.1 and then decided to upgrade my unreleased apps to 1.6.beta.32. I was just logged out twice when testing. |
A release candidate for Meteor 1.5.2.2 has been released which includes this change. Please help test it and confirm whether this issue is fixed!
|
Testing the new release and still experiencing issues. Seems like 1.5.2 did finally fix my segfaults but this is equally as painful: account packages
|
Great news! I’ll have a look soon! |
I was experiencing this behavior when using version 1.5.2 with Whilst still on 1.5.2 (because I cannot update due to #9141), after changing to I'm not sure whether my experience is relevant. |
I'm experiencing random logout locally when I make some changes and the browser just logouts and then proceed to hot reload. |
@WayneUong Are you seeing this behavior after updating to the 1.5.2.2 RC?
|
It seems to be fixed for me, I am testing my app from past 4 hours, my user is still logged in. For those who are still looking for a fix, please try:
I will continue testing my app, if I found any irregularity in behavior, I will report here |
@iamkevingreen Just to confirm, you're still seeing users get logged out after running/testing with the 1.5.2.2 RC? Can you describe the problems you're seeing in more detail? The 1.5.2.2 RC seems to fix this issue for others, so any extra details you can provide would be greatly appreciated. |
After several hours (~6 hours) using |
@hwillson any save on client/server, also updating data in compose (i connect to a remote database if that helps) will also trigger a log out. I can provide more information if you let me know how you want it provided node v8.1.2 |
After restarting my machine this is no longer an issue for me |
Sorry if I missed this, but was there any action required to get this fix to work besides updating? I've tried updating to 1.5.2.2 and to 1.6-rc.13 and I'm still getting similar behavior, staying on 1.5.2 and the accounts packages bundled there works totally fine. Possibly it's something else / new with the accounts packages but the behavior seems very similar where on hot reload / deployment / sometimes randomly seeming, the connection gets logged out and thus can't load anything until refresh. (timing wise it also lined up with this issue, so assuming it is same) |
I'm having the same error. I went directly to 1.6 from 1.5.2. When we open a new tab, the login is not validated, and I have to login again in the new tab. Which allowed me to login in two different users, in the same browser, at the same time. Apparently that happens on Chrome not on Firefox em PROD. |
PS: I discovered what was happening. On PROD we were being logged out every time we opened a new tab (and only logged out in that tab, we could event login with different users on both). We used to use appcache but we've uninstalled. It may have left something behind, as soon as we've cleared the Chrome app data, everything went back to normal. |
After upgrading to Meteor 1.5.2.1, Meteor session keep logging out after some time (e.g. few minutes). But no problem when rollback to 1.5.2.
I am using ubuntu 16.04 and Angular 2 for the frontend.
List of packages:
The text was updated successfully, but these errors were encountered: