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] 服务器没有等到上游服务器的回应,请稍后再试 #6267

Closed
bbbugg opened this issue Feb 17, 2025 · 7 comments
Closed

[Bug] 服务器没有等到上游服务器的回应,请稍后再试 #6267

bbbugg opened this issue Feb 17, 2025 · 7 comments
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@bbbugg
Copy link

bbbugg commented Feb 17, 2025

📦 部署环境

Vercel

📦 部署模式

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

📌 软件版本

最新

💻 系统环境

Windows

🌐 浏览器

Chrome

🐛 问题描述

问o1模型一个问题,等了很久lobechat回应“很抱歉,服务器没有等到上游服务器的回应,请稍后再试”,但是后来在api接口调用记录那里能看到给出了回复,就是用时比较久,但是lobechat没法显示该回答了

Image

Image

📷 复现步骤

No response

🚦 期望结果

能够收到等待比较久的回答

📝 补充信息

No response

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

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


📦 Deployment environment

Vercel

📦 Deployment mode

Server-side mode (lobe-chat-database mirror)

📌 Software version

up to date

💻 System environment

Windows

🌐 Browser

Chrome

🐛 Question description

Asked a question about the O1 model, and waited for a long time Lobechat responded, "I'm sorry, the server did not wait for the upstream server's response, please try again later." However, I can see the reply in the API interface call record, which is that it took a long time. , but lobechat cannot display the answer

Image

Image

📷 Reproduction steps

No response

🚦 Expected results

Can receive long-awaited answers

📝 Supplementary information

No response

@lobehubbot
Copy link
Member

👀 @bbbugg

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

@arvinxx
Copy link
Contributor

arvinxx commented Feb 17, 2025

切到客户端请求试试。因为 Vercel 有服务端请求的最大响应时长限制

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

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


Try cutting to client request. Because Vercel has a maximum response time limit for server requests

@lobehubbot
Copy link
Member

@bbbugg

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

@iBenzene
Copy link

iBenzene commented Feb 18, 2025

如何切换到客户端请求呢?没有找到相关的文档,能够把请求 API 的逻辑放到前端。

@lobehubbot
Copy link
Member

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


How to switch to client request?

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