# Mysteriously Logged Out

**URL:** https://meta.discourse.org/t/mysteriously-logged-out/218564
**Category:** Support
**Created:** [February 17, 2022, 3:46pm UTC](https://meta.discourse.org/t/mysteriously-logged-out/218564 "2022-02-17T15:46:04Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Apreche](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/apreche/32/106705_2.png) [@Apreche](https://meta.discourse.org/u/Apreche)
#### Post date: [February 17, 2022, 3:46pm UTC](https://meta.discourse.org/t/mysteriously-logged-out/218564/1 "2022-02-17T15:46:04Z")

</div>

Went to my discourse this morning and I was logged out. I went to login and I got an “Unknown Error”. I tried to reset password or use a magic login email, but got a “Forbidden” message.

After some investigation and rebuild on the backend side I determined this was entirely a front-end issue. Other users can login and use the discourse just fine.

I’m using the latest Firefox on Windows 11. If I use a private browsing window or a different browser, I can login and use the site without issue.

I cleared all my local data for the site in Firefox an then I was able to login using a non-private window.

However, a very short while later I was forcibly logged out again. I got a “You have been logged out” message. When I try to login again I see the “Unknown Error”. If I check the JS Console when logging in, there is an error that says: “BAD CSRF”. Something to do with the newest Firefox maybe?

---

<div class="post-metadata">

### Author: ![Apreche](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/apreche/32/106705_2.png) [@Apreche](https://meta.discourse.org/u/Apreche)
#### Post date: [February 17, 2022, 4:43pm UTC](https://meta.discourse.org/t/mysteriously-logged-out/218564/2 "2022-02-17T16:43:08Z")

</div>

It seems to have resolved itself, for now…, after a second clearing of local data and a complete restart of Firefox. Still very strange.

---

<div class="post-metadata">

### Author: ![Apreche](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/apreche/32/106705_2.png) [@Apreche](https://meta.discourse.org/u/Apreche)
#### Post date: [February 17, 2022, 5:09pm UTC](https://meta.discourse.org/t/mysteriously-logged-out/218564/3 "2022-02-17T17:09:52Z")

</div>

It was too good to be true. It only lasted about an hour. Now the “You were logged out” message has returned.

---

<div class="post-metadata">

### Author: ![Apreche](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/apreche/32/106705_2.png) [@Apreche](https://meta.discourse.org/u/Apreche)
#### Post date: [February 17, 2022, 8:59pm UTC](https://meta.discourse.org/t/mysteriously-logged-out/218564/4 "2022-02-17T20:59:33Z")

</div>

Current suspicion is that a Firefox add-on is the culprit. Now using the process of elimination to find out.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [February 18, 2022, 12:24am UTC](https://meta.discourse.org/t/mysteriously-logged-out/218564/5 "2022-02-18T00:24:51Z")

</div>

> [@Apreche](#):
>
> nt suspicion is that a Firefox

Sounds likely. I would try that.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [August 16, 2022, 7:56am UTC](https://meta.discourse.org/t/mysteriously-logged-out/218564/6 "2022-08-16T07:56:18Z")

</div>

Hi @Apreche 🙂

Did you manage to track down which extension it was?

---

<div class="post-metadata">

### Author: ![Apreche](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/apreche/32/106705_2.png) [@Apreche](https://meta.discourse.org/u/Apreche)
#### Post date: [August 16, 2022, 11:14am UTC](https://meta.discourse.org/t/mysteriously-logged-out/218564/8 "2022-08-16T11:14:44Z")

</div>

I honestly can’t say. The problem has been gone for some time now, and I have all my usual add-ons enabled.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [January 18, 2023, 12:20pm UTC](https://meta.discourse.org/t/mysteriously-logged-out/218564/9 "2023-01-18T12:20:44Z")

</div>


