Skip to content

最新版本无法正常打开对话框(不稳定复现,浏览器控制台报错) #7470

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

Open
zzzz0317 opened this issue Apr 18, 2025 · 8 comments
Labels
🐛 Bug Something isn't working | 缺陷 unconfirm 未被维护者确认的问题

Comments

@zzzz0317
Copy link
Contributor

zzzz0317 commented Apr 18, 2025

📦 部署环境

Docker

📦 部署模式

服务端模式(lobe-chat-database 镜像)

📌 软件版本

v1.80.4

💻 系统环境

Ubuntu

🌐 浏览器

Chrome

🐛 问题描述

最新的 v1.80.4,数据库版,使用zitadel认证,会出现同样的问题,时而能复现,时而正常,没操作服务端

29081-25498457896f5d18.js:1 TypeError: Cannot read properties of undefined (reading 'find')
    at 25002-b529253d278abe0e.js:1:245
    at 25002-b529253d278abe0e.js:1:679
    at Array.map (<anonymous>)
    at l (25002-b529253d278abe0e.js:1:422)
    at e (57007-cc897d43ae8f9a95.js:4:1410)
    at 57007-cc897d43ae8f9a95.js:4:1621
    at Object.useSyncExternalStore (93e5f3ba-f88dbf66a1fbc80b.js:1:63253)
    at t.useSyncExternalStore (29081-25498457896f5d18.js:1:124059)
    at t.useSyncExternalStoreWithSelector (57007-cc897d43ae8f9a95.js:4:1355)
    at u (57007-cc897d43ae8f9a95.js:8:16932)
    at n (57007-cc897d43ae8f9a95.js:8:17044)
    at 35285-75a58a9cbe6ae699.js:1:39262
    at l2 (93e5f3ba-f88dbf66a1fbc80b.js:1:50100)
    at ox (93e5f3ba-f88dbf66a1fbc80b.js:1:69891)
    at ob (93e5f3ba-f88dbf66a1fbc80b.js:1:68804)
    at ov (93e5f3ba-f88dbf66a1fbc80b.js:1:68418)
    at oU (93e5f3ba-f88dbf66a1fbc80b.js:1:84664)
    at ic (93e5f3ba-f88dbf66a1fbc80b.js:1:112391)
    at 93e5f3ba-f88dbf66a1fbc80b.js:1:112236
    at is (93e5f3ba-f88dbf66a1fbc80b.js:1:112244)
    at u5 (93e5f3ba-f88dbf66a1fbc80b.js:1:109327)
    at iH (93e5f3ba-f88dbf66a1fbc80b.js:1:129984)
    at MessagePort.M (29081-25498457896f5d18.js:1:42551)

Image

📷 复现步骤

无法稳定复现,不登录时可以打开,登录后不一定能打开,触发原因未知

🚦 期望结果

正常打开对话框

📝 补充信息

#7312 (comment)

我这里似乎从v1.77问题就出现了

@zzzz0317 zzzz0317 added the unconfirm 未被维护者确认的问题 label Apr 18, 2025
@lobehubbot
Copy link
Member

👀 @zzzz0317

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@dosubot dosubot bot added the 🐛 Bug Something isn't working | 缺陷 label Apr 18, 2025
@github-project-automation github-project-automation bot moved this to Roadmap - Chat 1.x in Lobe Chat Routine Apr 18, 2025
Copy link

dosubot bot commented Apr 18, 2025

This issue with the Lobe Chat application (version v1.80.4) is a known problem related to Zitadel authentication. The error message "TypeError: Cannot read properties of undefined (reading 'find')" occurs intermittently and is linked to the authentication flow. This issue has been reported and discussed in the repository [1].

The problem seems to arise without any server-side changes, indicating a potential bug in the client-side code handling the authentication process. It has been noted since version v1.77, and the error occurs particularly after logging in, making it difficult to consistently reproduce [1].

If you are looking for a solution, you might want to check if there have been any updates or patches released after version v1.80.4 that address this issue. Additionally, reviewing the client-side code related to authentication might help identify and fix the bug.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

Copy link

dosubot bot commented Apr 18, 2025

The issue you're experiencing with the dialog box not opening consistently in version v1.80.4, using Zitadel authentication on Ubuntu with Chrome, is related to an intermittent "TypeError: Cannot read properties of undefined (reading 'find')" error. This error is associated with the authentication flow and can occur randomly, even without changes to the server configuration [1].

A similar unsolved discussion can be found here, which might provide additional context or insights into the issue [2].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@KingDoum
Copy link

同一个问题,我是用Logto 认证的 也出现这个问题

Image

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


For the same problem, I used Logto authentication, and this problem also occurred

Image

@yuyun2000
Copy link

me too

@ZsgsDesign
Copy link

The error occurring here is not related to SSO functions, but is triggered when the frontend code attempts to retrieve the pluginList, particularly when fetching details of all installed plugins. This issue typically arises if the gateway for your custom-installed plugins is not properly configured or accessible.

Solution: Verify any custom plugins you have installed and ensure that their respective gateways are correctly established and connectable.

That solves my problem. If that works, I think we can confidently close this issue.

@yuyun2000
Copy link

The error occurring here is not related to SSO functions, but is triggered when the frontend code attempts to retrieve the pluginList, particularly when fetching details of all installed plugins. This issue typically arises if the gateway for your custom-installed plugins is not properly configured or accessible.

Solution: Verify any custom plugins you have installed and ensure that their respective gateways are correctly established and connectable.

That solves my problem. If that works, I think we can confidently close this issue.

Yes, I also noticed that my plugin store is not opening, so how can I solve this problem? I don't have any third-party plugins installed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷 unconfirm 未被维护者确认的问题
Projects
Status: Roadmap - Chat 1.x
Development

No branches or pull requests

5 participants