I am reaching out for help with a critical issue affecting our Discourse forum at starorigin.net. Users are experiencing a severe login/logout bug that is paralyzing our community. When attempting to log out, the page refreshes but fails to fully log out, displaying a message “You have been logged out” with a refresh button that doesn’t resolve the issue. Additionally, logging in or out in new browsers or incognito mode is problematic.
We have tried several troubleshooting steps, including clearing browser cache, using different browsers and devices, and checking for updates. We suspect that recently installed plugins and themes might be causing the issue, but even after removing them and rebuilding the container, the problem persists.
Your expertise and assistance are greatly appreciated. Please respond with any insights or solutions you might have.
This issue has been resolved.
Thank you all for your support and suggestions, especially @denvergeeks, who enthusiastically helped me by registering and logging into my website to pinpoint the error and resolve the issue. Half of this problem was due to my own oversight and foolishness, as there was a conflict between Cloudflare’s cache settings and the cache settings of my server management panel, 1Panel. After I turned off the cache switch in the 1Panel server management panel, my website returned to normal. I am very grateful to everyone for your help!
safe mode, this bug is still severely present. Additionally, when I log out of my administrator account, I am automatically redirected to a regular user’s account, and a window appears saying “You have been logged out.” Furthermore, I migrated to a new server a few days ago, and I am unsure if this is related.
This is exactly the issue I’m currently facing! Just now, when I tried to log into my account, I was even mistakenly redirected to your account interface! I have no idea what is causing all of this. I plan to back up my community data, delete the containers, pull the images again, rebuild the containers, and restore the backup to see if that resolves my problem.
Chrome browser provided a suggestion, but I don’t quite understand what it means:
Mixed content: load all resources via HTTPS to improve the security of your site.
Even though the initial HTML page is loaded over a secure HTTPS connection, some resources like images, stylesheets, or scripts are being accessed over an insecure HTTP connection. Usage of insecure resources is restricted to strengthen the security of your entire site.
To resolve this issue, load all resources over a secure HTTPS connection.
A few days ago, I migrated to a new server. Here’s how I did it: I followed the official steps to pull the image, create the container, and enter the container. Then, I created an app.yml file and copied the contents of the app.yml file from my old server to the new one. After that, I uploaded my community backup data to the default backup directory on the new server. Finally, I rebuilt the container. Following these steps, I successfully migrated to the new server. However, one day later, after attempting to install new plugins, I encountered this bug. I removed all the newly installed plugins, but the bug still persists, and I am unable to resolve it.
[PLUGIN discourse-tooltips]
“Deprecation notice: Modifying topic-list with reopen is deprecated. Use the value transformer topic-list-columns and other new topic-list plugin APIs instead. [deprecated since Discourse v3.4.0.beta3-dev] [deprecation id: discourse.hbr-topic-list-overrides]”
I wonder if this is related to this plugin?
It seems I might have figured out where the issue is. This plugin appears to have been deprecated, so I’ll try removing it and see what happens.
I don’t believe so, that’s just a developer awareness deprecation warning for an api it is using, that is now deprecated. It is not an error. That specific API will not be removed until Q2.
Interesting… Just now I freshly opened your site (but did not Login) in Firefox (which I have never used yet to go to your site, or even at all this morning), and even without logging in I see there that I am logged in as that same other user…
Then, a few minutes later the page refreshed itself again and it shows as logged out…
Then, I see these errors in the Firefox browser console…
Then immediately I click to go to the User listing page, but I am still not listed as a user (even though I can still see my correct avatar in the header)…