I'm getting logged out regularly


User avatar
Feyd_Ruin
Elder Vampire
Posts: 5400
Joined: 4 years ago
Answers: 3
Pronoun: he / him
Contact:

Post by Feyd_Ruin » 2 years ago

Coming back home, it didn't log me out. 🤞
To the beaten, the broken, or the damned; the lost, and the wayward: wherever I may be, you will have a home.

User avatar
The Fluff
Le fou, c'est moi
Posts: 2398
Joined: 4 years ago
Pronoun: Unlisted
Location: Gradius Home World
Contact:

Post by The Fluff » 2 years ago

looks good. Not getting logged out anymore.
Image
AnimEVO 2020 - EFZ Tournament (english commentary) // Clearing 4 domain with Qiqi
want to play a uw control deck in modern, but don't have Jace or snapcaster? please come visit us at the Emeria thread

User avatar
spacemonaut
Bauble reclaimer
Posts: 1374
Joined: 4 years ago
Answers: 10
Pronoun: she / her
Location: Scotland

Post by spacemonaut » 2 years ago

So far so good here too. :)

User avatar
Feyd_Ruin
Elder Vampire
Posts: 5400
Joined: 4 years ago
Answers: 3
Pronoun: he / him
Contact:

Post by Feyd_Ruin » 2 years ago

Looks like we found the culprit.
Apologies for it taking so long.
To the beaten, the broken, or the damned; the lost, and the wayward: wherever I may be, you will have a home.

User avatar
The Fluff
Le fou, c'est moi
Posts: 2398
Joined: 4 years ago
Pronoun: Unlisted
Location: Gradius Home World
Contact:

Post by The Fluff » 2 years ago

as of 9:16 pm. It came back again.

disconnected when I came back here.
Image
AnimEVO 2020 - EFZ Tournament (english commentary) // Clearing 4 domain with Qiqi
want to play a uw control deck in modern, but don't have Jace or snapcaster? please come visit us at the Emeria thread

User avatar
3drinks
Kaalia's Personal Liaison
Posts: 4830
Joined: 4 years ago
Pronoun: he / him
Location: Ruined City of Drannith, Ikoria

Post by 3drinks » 2 years ago

So far so good on my end.

Modern
R{R/W} 87guide Burn
Commander
WRKellan, the Fae-Blooded // Birthright Boon (local secret santa gift)
RTorbran, Thane of Red Fell (Red Deck Wins)
WBRAlesha, Who Smiles at Death (Slivers)
WBRKaalia HQ

User avatar
WizardMN
Posts: 1963
Joined: 4 years ago
Answers: 124
Pronoun: he / him
Location: Twin Cities
Contact:

Post by WizardMN » 2 years ago

I signed in this morning after being logged out and came back just a few minutes ago and was logged out again. Note that for her it is just when coming back to the site; not necessarily when trying to navigate it anymore.

User avatar
spacemonaut
Bauble reclaimer
Posts: 1374
Joined: 4 years ago
Answers: 10
Pronoun: she / her
Location: Scotland

Post by spacemonaut » 2 years ago

It just happened again.

1. Visited the site at the index, was logged in
2. Visited custom cards, was logged out
3. Went to home just to see if i was still logged out there
4. Hit log in
5. Logged in
6. Landed at the index again
7. Visited custom cards again
8. Was logged out, again! Already, yes!

I didn't have my debug console open but I'm gonna be keeping an eye on it next time I visit.

User avatar
WizardMN
Posts: 1963
Joined: 4 years ago
Answers: 124
Pronoun: he / him
Location: Twin Cities
Contact:

Post by WizardMN » 2 years ago

spacemonaut wrote:
2 years ago
I didn't have my debug console open but I'm gonna be keeping an eye on it next time I visit.
If a debug console is helpful, let me know how to do it and I can provide that output too.

User avatar
Feyd_Ruin
Elder Vampire
Posts: 5400
Joined: 4 years ago
Answers: 3
Pronoun: he / him
Contact:

Post by Feyd_Ruin » 2 years ago

I did another change.
So, if it happens to anyone again after this post, please let me know.

Since I'm still trying to figure out what's causing it, I honestly don't know if anything in dev tools / console can show anything. So you come back, it reads your cookie, accepts the "remember me" and everything is great. You're logged in. There was no issue, you have a new session, you passed all validation, etc. You're good to go. You then visit page #2 and suddenly your logged out. This... doesn't make sense. If something killed the session, then you'd just revalidate because the remember me key is the same and we just saw that work. So something would have to change your cookies after you are revalidated to kill the session and the remember me key. But I checked when it happened to me, the cookie was still there and everything was fine. Not expired, not malformed, etc.

It isn't happening to me at all on any browser now, not for two days. I was really thinking I had it fixed until the reports today. :(

This last change might fix it? I've turned off forcing server URL settings. This shouldn't really cause issues, but apparently it has on other boards. We force SSL/HTTPS and www through other backend processes anyways, so it doesn't hurt anything to turn it off.
To the beaten, the broken, or the damned; the lost, and the wayward: wherever I may be, you will have a home.

User avatar
The Fluff
Le fou, c'est moi
Posts: 2398
Joined: 4 years ago
Pronoun: Unlisted
Location: Gradius Home World
Contact:

Post by The Fluff » 2 years ago

It isn't happening to me at all on any browser now, not for two days. I was really thinking I had it fixed until the reports today.
not sure if it's just coincidence, but it had a lull of 2 days for me as well. As in everything worked fine for approx two days, before the problem came back again.

well, it's working fine again for now. Hopefully, it does not come back after a day or two.
Image
AnimEVO 2020 - EFZ Tournament (english commentary) // Clearing 4 domain with Qiqi
want to play a uw control deck in modern, but don't have Jace or snapcaster? please come visit us at the Emeria thread

User avatar
spacemonaut
Bauble reclaimer
Posts: 1374
Joined: 4 years ago
Answers: 10
Pronoun: she / her
Location: Scotland

Post by spacemonaut » 2 years ago

Something I just saw today that seems relevant (not a log out):

1. Visited the site at the custom cards forum directly, for my first visit to the site today (good morning!). Everything looked normal.
2. Visited a subforum. Still normal, still logged in. However, now, I had a (1) notification that wasn't there in step 1.

The (1) notification was from the quote in this thread from eight hours ago.

It seems like there's a task or tasks that got kicked off in step 1, which in step 2 gave me a notification, but in other cases could have logged me out.

User avatar
3drinks
Kaalia's Personal Liaison
Posts: 4830
Joined: 4 years ago
Pronoun: he / him
Location: Ruined City of Drannith, Ikoria

Post by 3drinks » 2 years ago

Next day, still no issues. Here's to forty eight hours 🥂

Modern
R{R/W} 87guide Burn
Commander
WRKellan, the Fae-Blooded // Birthright Boon (local secret santa gift)
RTorbran, Thane of Red Fell (Red Deck Wins)
WBRAlesha, Who Smiles at Death (Slivers)
WBRKaalia HQ

User avatar
The Fluff
Le fou, c'est moi
Posts: 2398
Joined: 4 years ago
Pronoun: Unlisted
Location: Gradius Home World
Contact:

Post by The Fluff » 2 years ago

5:47 pm. Got home from work. Found out I'm logged out.

it's still happening..
Image
AnimEVO 2020 - EFZ Tournament (english commentary) // Clearing 4 domain with Qiqi
want to play a uw control deck in modern, but don't have Jace or snapcaster? please come visit us at the Emeria thread

User avatar
WizardMN
Posts: 1963
Joined: 4 years ago
Answers: 124
Pronoun: he / him
Location: Twin Cities
Contact:

Post by WizardMN » 2 years ago

Same for me. I just logged in and tried to go to a couple threads in my notification area and I was immediately logged out.

User avatar
3drinks
Kaalia's Personal Liaison
Posts: 4830
Joined: 4 years ago
Pronoun: he / him
Location: Ruined City of Drannith, Ikoria

Post by 3drinks » 2 years ago

Day three everything is as expected.

Modern
R{R/W} 87guide Burn
Commander
WRKellan, the Fae-Blooded // Birthright Boon (local secret santa gift)
RTorbran, Thane of Red Fell (Red Deck Wins)
WBRAlesha, Who Smiles at Death (Slivers)
WBRKaalia HQ

User avatar
Feyd_Ruin
Elder Vampire
Posts: 5400
Joined: 4 years ago
Answers: 3
Pronoun: he / him
Contact:

Post by Feyd_Ruin » 2 years ago

I'm fairly positive I finally figured it out.

The session ID isn't always getting added into the cookie on the first page load. Usually this is worked around by the forum software appending your sid on to the links if it detects this, so the session is saved when you click the next link. But it doesn't automatically do that to all of the custom page links we have, etc.

This happened to me testing on Edge. I saw the SID appended to most of the forum links, but not our custom pages links (ie the header). Taking a snapshot of the cookie there showed no SID. Opening one of the custom link pages without the appended sid then gave me a cookie with a session ID that didn't match the previous page's links.

What changed that made this become something of concern now, when we've had this same setup for 2 years, and why it isn't looking at the remember me key again.. I have no idea.

I'll figure out a workaround.
To the beaten, the broken, or the damned; the lost, and the wayward: wherever I may be, you will have a home.

User avatar
Feyd_Ruin
Elder Vampire
Posts: 5400
Joined: 4 years ago
Answers: 3
Pronoun: he / him
Contact:

Post by Feyd_Ruin » 2 years ago

Vrgrb now checks to see if the SID should be appended to links to ensure session continuation, and if so, appends it to all internal links.

...I really hope this is the end of it.
To the beaten, the broken, or the damned; the lost, and the wayward: wherever I may be, you will have a home.

User avatar
WizardMN
Posts: 1963
Joined: 4 years ago
Answers: 124
Pronoun: he / him
Location: Twin Cities
Contact:

Post by WizardMN » 2 years ago

This seems to be working much better for me lately. I have not been getting logged out when coming back after a few hours and I have not been getting logged out when trying to navigate to threads from the notifications drop down.

User avatar
The Fluff
Le fou, c'est moi
Posts: 2398
Joined: 4 years ago
Pronoun: Unlisted
Location: Gradius Home World
Contact:

Post by The Fluff » 2 years ago

looking good over here as well. Not been logged out for two whole days now.
Image
AnimEVO 2020 - EFZ Tournament (english commentary) // Clearing 4 domain with Qiqi
want to play a uw control deck in modern, but don't have Jace or snapcaster? please come visit us at the Emeria thread

User avatar
3drinks
Kaalia's Personal Liaison
Posts: 4830
Joined: 4 years ago
Pronoun: he / him
Location: Ruined City of Drannith, Ikoria

Post by 3drinks » 2 years ago

It just happened to me a moment ago.

Modern
R{R/W} 87guide Burn
Commander
WRKellan, the Fae-Blooded // Birthright Boon (local secret santa gift)
RTorbran, Thane of Red Fell (Red Deck Wins)
WBRAlesha, Who Smiles at Death (Slivers)
WBRKaalia HQ

User avatar
Feyd_Ruin
Elder Vampire
Posts: 5400
Joined: 4 years ago
Answers: 3
Pronoun: he / him
Contact:

Post by Feyd_Ruin » 2 years ago

3drinks wrote:
2 years ago
It just happened to me a moment ago.
Do you happen to remember which page you visited when it logged you out?
To the beaten, the broken, or the damned; the lost, and the wayward: wherever I may be, you will have a home.

User avatar
Feyd_Ruin
Elder Vampire
Posts: 5400
Joined: 4 years ago
Answers: 3
Pronoun: he / him
Contact:

Post by Feyd_Ruin » 2 years ago

ERMERGERD. Ok, so I went diving into the sessions tables and logs, and noticed something.

3drinks, you created a new session when you visited viewforum.php?f=24
18 seconds later you created a new session by visiting app.php/senky_pushnotifications_sw.js

...it's been the push notifications this whole time.
Somehow even with them being disabled, it was still hitting the offending page.

I've deleted the data completely from the server.
Lets see if it occurs now...
To the beaten, the broken, or the damned; the lost, and the wayward: wherever I may be, you will have a home.

User avatar
3drinks
Kaalia's Personal Liaison
Posts: 4830
Joined: 4 years ago
Pronoun: he / him
Location: Ruined City of Drannith, Ikoria

Post by 3drinks » 2 years ago

Feyd_Ruin wrote:
2 years ago
3drinks wrote:
2 years ago
It just happened to me a moment ago.
Do you happen to remember which page you visited when it logged you out?
Yes. I have my nexus home page set as the commander subforum. I type an "N" in the address bar and nexus comes up from frequent sites.

Modern
R{R/W} 87guide Burn
Commander
WRKellan, the Fae-Blooded // Birthright Boon (local secret santa gift)
RTorbran, Thane of Red Fell (Red Deck Wins)
WBRAlesha, Who Smiles at Death (Slivers)
WBRKaalia HQ

Post Reply Previous topicNext topic

Return to “Community Software Feedback and Bug Reports”