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

[Bug] 正常使用时频繁无故出现 ERROR 提示 #5395

Closed
Superzk1024 opened this issue Jan 10, 2025 · 18 comments
Closed

[Bug] 正常使用时频繁无故出现 ERROR 提示 #5395

Superzk1024 opened this issue Jan 10, 2025 · 18 comments
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@Superzk1024
Copy link

📦 部署环境

Docker

📌 软件版本

1.45.3

💻 系统环境

Windows

🌐 浏览器

Chrome

🐛 问题描述

就正常使用,正常聊天,突然会出现 ERROR 标志,如图
image

📷 复现步骤

正常使用就会出现

🚦 期望结果

如果出现异常不要影响正常使用体验

📝 补充信息

No response

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

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


📦 Deployment environment

Docker

📌 Software version

1.45.3

💻 System environment

Windows

🌐 Browser

Chrome

🐛 Problem description

Just use it normally and chat normally, and suddenly the ERROR sign will appear, as shown in the picture
image

📷 Steps to reproduce

It will appear during normal use

🚦 Expected results

If an abnormality occurs, do not affect the normal use experience.

📝 Supplementary information

No response

@lobehubbot
Copy link
Member

👀 @Superzk1024

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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

Copy link

dosubot bot commented Jan 10, 2025

@Superzk1024 你好!我是Dosu,一个可以帮助你解决 bug、回答问题,并成为贡献者的机器人。我会在等待人类维护者的时候帮助你。期待与你合作!🤖

I found a similar unsolved discussion regarding issues encountered when deploying LobeChat using Docker [1]. Additionally, there are two closed issues related to client errors, but no specific solutions were provided in the comments [2][3].

For the ERROR message issue you're experiencing, it might be related to a known bug that occurs when searching for 'deepseek' in the model provider selection, which causes the application to crash with frontend errors. This issue has been fixed in newer versions, so updating to the latest version of the LobeChat Docker container might resolve the problem [4].

To update the Docker container, you can follow these steps:

  1. Stop and remove the old container:

    docker stop lobe-chat
    docker rm lobe-chat
  2. Pull the latest image:

    docker pull lobehub/lobe-chat
  3. Redeploy the container with the updated image:

    docker run -d -p 3210:3210 \
      -e OPENAI_API_KEY=sk-xxxx \
      -e OPENAI_PROXY_URL=https://api-proxy.com/v1 \
      -e ACCESS_CODE=lobe66 \
      --name lobe-chat \
      lobehub/lobe-chat
  4. Optionally, clean up unused images:

    docker image prune -f

This process should help ensure that you are running the latest version, which may resolve the frequent ERROR messages you're encountering [5].

To continue talking to Dosu, mention @dosu.


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

@Sun-drenched
Copy link

需要补充更多信息,错误发生时Docker容器日志、网页控制台等

@lobehubbot
Copy link
Member

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


More information needs to be added, such as Docker container logs, web console, etc. when the error occurs.

@Superzk1024
Copy link
Author

📦 部署环境

Docker

📌 软件版本

1.45.3

💻 系统环境

Windows

🌐 浏览器

Chrome

🐛 问题描述

就正常使用,正常聊天,突然会出现 ERROR 标志,如图 image

📷 复现步骤

正常使用就会出现

🚦 期望结果

如果出现异常不要影响正常使用体验

📝 补充信息

image

@lobehubbot
Copy link
Member

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


📦 Deployment environment

Docker

📌 Software version

1.45.3

💻 System environment

Windows

🌐 Browser

Chrome

🐛 Problem description

Just use it normally and chat normally, and suddenly the ERROR sign will appear, as shown in the picture ![image](https://private-user-images.githubusercontent.com/48895509/402004985-0b956c8a-1e76-4b71-a 217-5a44e94bfda6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoic mF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzY1ODY5OTEsIm5iZiI6MTczNjU4NjY5MSw icGF0aCI6Ii80ODg5NTUwOS80MDIwMDQ5ODUtMGI5NTZjOGEtMWU3Ni00YjcxLWEyMTctNWE0NGU5NGJmZGE2LnBuZz9YLUFtei 1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAx MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMTExVDA5MTEzMVomWC1BbXotRXhwaXJ lcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY1NDZhOTUyNWViOTNkYzA4NDhlMzJhNWU0MGY0NTNhM2EwYTg2OWU3NjRlYzgxY2VhN DIwYTA2OTE4MzAzZGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.erc_GYNFqSYTJLguwuCKDQSEAldZluqpOUOq4jXVxXg)

📷 Reproduction steps

It will appear under normal use

🚦 Expected results

If an abnormality occurs, do not affect the normal use experience

📝 Supplementary information

image

@arvinxx
Copy link
Contributor

arvinxx commented Jan 14, 2025

试试最新版还有这个问题不?

@lobehubbot
Copy link
Member

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


Try the latest version and still have this problem?

@Superzk1024
Copy link
Author

尝试最新版本还有这个问题不?

1.46.0 还是有这种情况,个别时候在聊天窗口长时间不操作自己就会出现,或者有时候从其他页面切回来也是显示一个 ERROR ,点重新加载按钮没有反应不起作用,只能点返回首页。

@lobehubbot
Copy link
Member

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


Try the latest version and still have this problem?

1.46.0 There is still this situation. Sometimes it will appear by itself if you do not operate it for a long time in the chat window, or sometimes when you switch back from other pages, an ERROR will be displayed. If you click the reload button, there will be no response and it will not work. You can only click return. front page.

@arvinxx
Copy link
Contributor

arvinxx commented Jan 18, 2025

@Superzk1024 试一下 https://chat-preview.lobehub.com 是否有这个问题?看下怎么复现?

@lobehubbot
Copy link
Member

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


@Superzk1024 Try chat-preview.lobehub.com. Does it have this problem? See how to reproduce it?

@Superzk1024
Copy link
Author

更新了几个版本之后好像没怎么出现了,我再观察一段时间看看

@lobehubbot
Copy link
Member

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


After updating a few versions, it doesn't seem to show up much anymore. I'll keep an eye on it for a while and see.

@arvinxx
Copy link
Contributor

arvinxx commented Jan 23, 2025

@Superzk1024 那这个issue 我先关了,有问题再reopen

@arvinxx arvinxx closed this as completed Jan 23, 2025
@github-project-automation github-project-automation bot moved this from Roadmap - Chat 1.x to Done in Lobe Chat Routine Jan 23, 2025
@lobehubbot
Copy link
Member

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


@Superzk1024 I will close this issue first and reopen it if there is any problem.

@lobehubbot
Copy link
Member

@Superzk1024

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

@dosubot dosubot bot mentioned this issue Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷
Projects
Status: Done
Development

No branches or pull requests

4 participants