I’m currently running a self-hosted Discourse instance within our infrastructure.
Everything works fine up to the point of logging in via the Discourse SSO Connect method (we use our own custom account server for authentication).
However, we’re encountering an issue where, during a search operation, a “You were logged out” popup appears randomly.
This only happens in the production environment — not in development or staging.
We haven’t modified any of the Discourse open source code.
Our assumption is that the _forum_session cookie is supposed to be updated with each API call, but for some reason, this update fails in production. As a result, the current session cookie becomes invalid and leads to a logout.
If anyone has experienced a similar issue or has insights into what’s going on, I’d really appreciate your help.
אשמח להבין באילו מקרים עדכון ה-forum_session עלול להיכשל. ממה שאני מבין, הוא מתעדכן בכל פעם שאני נכנס לדף דרך כותרת Set-Cookie בתגובה. לא שינינו שום לוגיקה קשורה, כך שאיני בטוח מדוע הוא מדי פעם אינו מתעדכן.
זה קצת מוזר — אנחנו מריצים שלוש סביבות עם אותה גרסה (3.5.0.beta1), אבל הבעיה הזו מתרחשת רק בסביבת הייצור. שתי הסביבות האחרות (פיתוח ו-staging) עובדות כשורה, אז אני לא חושב שזו בעיה הקשורה לגרסה.
אני תוהה, האם זו הפעם הראשונה שהבעיה הזו דווחה? האם היו דיווחים דומים בעבר?