lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
42.17k stars 9.51k forks source link

[Bug] Plugin installation failed message #4269

Open sshzz opened 1 day ago

sshzz commented 1 day ago

📦 Environment

Docker

📌 Version

v1.21.4

💻 Operating System

Ubuntu

🌐 Browser

Safari

🐛 Bug Description

I got a message every time I start Lobechat or access any chat: Plugin Current Time Assistant installation failed Failed to fetch the manifest link. Please ensure the link is valid and allows cross-origin access.

I have deleted this plugging, but the message keeps appearing several times when I use Lobechat

📷 Recurrence Steps

Install and uninstall Current Time plugin

🚦 Expected Behavior

No response

📝 Additional Information

No response

lobehubbot commented 1 day ago

👀 @sshzz

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[bot] commented 1 day ago

Hey @sshzz! 👋 I'm here to help you with bug fixes, answer questions, and even assist you in becoming a contributor. Let's squash those bugs together!

The error message "Failed to fetch the manifest link. Please ensure the link is valid and allows cross-origin access" is generated from the locales/en-US/plugin.json file in the Lobe Chat codebase [1].

To address the persistent error message after uninstalling the plugin, you can try the following steps:

  1. Clear Plugin State: Ensure that any state or cache related to the plugin is cleared. This might involve checking if there are any residual configurations or state data that need to be manually removed.

  2. Reset Error Messages: Use the resend and deleteMessage functions to clear or reset error messages. This can be done by triggering these functions to regenerate and delete the existing error message [2].

If these steps do not resolve the issue, it might be necessary to check for any additional configurations or settings that could be causing the error message to persist.

To continue talking to Dosu, mention @dosu.