Skip to content
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

Console 端预览主题时,会突然丢失登录状态 #4047

Closed
ruibaby opened this issue Jun 7, 2023 · 5 comments · Fixed by #5518 or #5961
Closed

Console 端预览主题时,会突然丢失登录状态 #4047

ruibaby opened this issue Jun 7, 2023 · 5 comments · Fixed by #5518 or #5961
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.
Milestone

Comments

@ruibaby
Copy link
Member

ruibaby commented Jun 7, 2023

是什么版本出现了此问题?

2.6.0

使用的什么数据库?

PostgreSQL

使用的哪种方式部署?

Docker Compose

在线站点地址

https://ryanc.cc

发生了什么?

如图,此时刚登录到 Console:

image

但重新登录之后就不会再复现,即便是退出登录之后重新登录。

/kind bug

相关日志输出

No response

附加信息

No response

@f2c-ci-robot f2c-ci-robot bot added the kind/bug Categorizes issue or PR as related to a bug. label Jun 7, 2023
@wonderwander
Copy link

image
2.7版本也复现了这个问题

@JohnNiang
Copy link
Member

Hi @wonderwander ,目前暂时还不清楚具体原因,所以还未修复。

@ruibaby ruibaby added this to the 2.14.x milestone Mar 17, 2024
@ruibaby
Copy link
Member Author

ruibaby commented Mar 17, 2024

/assign

f2c-ci-robot bot pushed a commit that referenced this issue Mar 19, 2024
… expiration issue (#5518)

#### What type of PR is this?

/area ui
/kind bug
/milestone 2.14.x

#### What this PR does / why we need it:

重构文章预览和主题预览的页面加载方式,尝试解决在某些情况下打开预览导致登录 session 失效的问题。

#### Which issue(s) this PR fixes:

Fixes #4047

#### Special notes for your reviewer:

需要测试:

1. 主题预览中的各个功能是否正常。
2. 文章预览功能是否正常。

#### Does this PR introduce a user-facing change?

```release-note
修复在某些情况下,打开文章预览或主题预览之后导致登录失效的问题。
```
@ruibaby ruibaby modified the milestones: 2.14.x, 2.14.0 Mar 22, 2024
@JohnNiang
Copy link
Member

JohnNiang commented May 21, 2024

近期仍然有部分用户反馈登录成功后突然丢失登录状态的问题,我将重新打开并尝试修复。

/reopen
/milestone 2.16.x
/assign

Copy link

f2c-ci-robot bot commented May 21, 2024

@JohnNiang: Reopened this issue.

In response to this:

/reopen
/milestone 2.16.x
/assign

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@f2c-ci-robot f2c-ci-robot bot modified the milestones: 2.14.0, 2.16.x May 21, 2024
f2c-ci-robot bot pushed a commit that referenced this issue May 22, 2024
#### What type of PR is this?

/kind improvement
/area core
/milestone 2.16.x

#### What this PR does / why we need it:

This PR unifies api and portal security configurations into one for a better maintenance.

Meanwhile, removing `HaloAnonymousAuthenticationWebFilter` introduced by <#3152> may fix <#4047>.

#### Which issue(s) this PR fixes:

Fixes #4047

#### Special notes for your reviewer:

#### Does this PR introduce a user-facing change?

```release-note
修复登录成功后立即出现登录失效的问题
```
@ruibaby ruibaby modified the milestones: 2.16.x, 2.16.0 May 22, 2024
f2c-ci-robot bot pushed a commit that referenced this issue Aug 8, 2024
#### What type of PR is this?

/kind bug
/area ui
/milestone 2.19.x

#### What this PR does / why we need it:

此 PR 将主题预览及文章预览的 `iframe` 由 srcdoc 改为使用 src 加载。用于解决在主题预览时,如果点击保存设置,会导致主题端页面跳转至首页。

#### How to test it?

1. 打开主题预览界面。
2. 打开非首页的页面。
3. 点击保存配置。查看此时刷新页面后是否不再回到首页。

同时需要测试 #4047 中的场景是否还会再发生。

#### Which issue(s) this PR fixes:

Fixes #6371 

#### Does this PR introduce a user-facing change?
```release-note
解决预览主题时保存设置,页面会跳转至首页的问题。
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
3 participants