-
-
Notifications
You must be signed in to change notification settings - Fork 11k
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
[Bug] v1.41.0 更新後如果已經是登入狀態,再點選登出就會卡在"用戶狀態初始化" #5221
Comments
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
The issue you're experiencing seems to be related to the logout process in version v1.41.0, where the application gets stuck on the "user state initialization" screen after logging out. Unfortunately, I couldn't find specific changes in version v1.41.0 that might directly affect the logout process or user state initialization. However, here are a few things you might consider checking or trying:
If these suggestions do not resolve the issue, you might need to investigate further into the specific changes made in version v1.41.0 or consider reaching out to the development team for more detailed support. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
我测试下来是正常的呀?能否给出更加具体的复现情况?例如是怎么部署的,最好能有录屏看下 |
Is it normal after my test? Can you give a more specific reproduction situation? For example, how is it deployed? It would be best to have a screen recording to see. |
目前退回上一版 v1.36.30 正常 URL "https://xxx/" 就會卡住,但手動補上 https://xxx/chat 就可以正常進入,但是只要刪除掉 /chat 就不會自動跳轉。 使用 Docker + Clerk 認證方式,沒有啟用 Pglite Client DB 功能,畫面停留在新版的啟動畫面[用戶狀態初始化...],不論刪除 cookie 或 Ctrl+F5 重新整理都相同狀況。 Chrome 瀏覽器的 DevTools Console 出現以下訊息: 警告:clerk.browser.js:12 Clerk: Clerk has been loaded with development keys. Development instances have strict usage limits and should not be used when deploying your application to production. Learn more: https://clerk.com/docs/deployments/overview 錯誤:5ea94cf1-d4d8dddaa4971af6.js:1 Uncaught Error: Minified React error #418; visit https://react.dev/errors/418?args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings. 警告: Chrome is moving towards a new experience that allows users to choose to browse without third-party cookies.ultimate-bird-48.clerk.accounts.dev/v1/client?__clerk_api_version=2024-10-01&_clerk_js_version=5.43.2&__clerk_db_jwt=dvb_2qt5Tu3iHfOfvtutUQdid2ajDN5:1 |
是使用client db + auth 的方式? |
Is it using client db + auth? |
是的。 |
Yes. |
@Sen-CaPoo 建议切换到 server db + auth 哈。 Client db + auth 的方式目前已经不准备维护了,现在我们部署模式类型分支有点多,我们暂时没有精力能确保所有类型都能稳定。未来的部署方式 (LobeChat 2.0) 就只会收敛到两种:
之前这个方案能用算是 bug as feature ,那个 bug 修掉以后这个不 work 了其实算是正常的。 |
@Sen-CaPoo suggested switching to server db + auth. The Client db + auth method is no longer planned to be maintained. Now we have too many branches of deployment mode types, and we currently do not have the energy to ensure that all types are stable. The future deployment method (LobeChat 2.0) will only converge to two types:
The fact that this solution worked before was actually a bug as feature. After the bug is fixed, it is actually normal for this solution not to work anymore. |
理解,目前先採用應急手段就是手動將網址導向 /chat 順利使用,主要原因為我這邊是教學單位,同學們沒辦法保證都能備份好數據進行遷移 Pglite。 另外就是 postgres 在部屬上有些困難,還無法順利進行。 還是感謝 @arvinxx 與其他開發者的努力與貢獻,這個項目非常的棒。 |
Understand, the first emergency measure is to manually redirect the URL to /chat for smooth use. The main reason is that I am a teaching institution and there is no way for students to ensure that they can back up their data and migrate it to Pglite. In addition, postgres has some difficulties in deployment and cannot proceed smoothly. Thanks again to @arvinxx and other developers for their efforts and contributions. This project is great. |
嗯嗯了解,我们升级 2.0 大版本的时候会做好这个数据的自动迁移,届时直接切换 pglite 应该不会有太大的问题。 另外就是建议提前测试下 pglite 的方案下在你们的应用场景下是否会存在预期外的问题。这样可以尽早和我们反馈,看看有没有解法。
这块具体的问题是什么?是文档哪方面写的不够详细吗 |
Yes, I understand. When we upgrade to the 2.0 major version, we will automatically migrate this data. At that time, there should be no big problem in directly switching to pglite. In addition, it is recommended to test the pglite solution in advance to see if there are any unexpected problems in your application scenarios. This way you can give us feedback as early as possible to see if there is a solution.
What is the specific problem here? Is it because the document is not detailed enough? |
📦 Environment
Docker
📌 Version
v1.41.0
💻 Operating System
Windows
🌐 Browser
Chrome
🐛 Bug Description
v1.41.0 更新後如果已經是登入狀態,再點選登出就會卡在應用剛開啟時的讀取畫面"用戶狀態初始化...",重開依然如此,刪除 cookie 後依然無法打開。
📷 Recurrence Steps
No response
🚦 Expected Behavior
No response
📝 Additional Information
No response
The text was updated successfully, but these errors were encountered: