5G网络下,生成内容会中断 #4692
Replies: 26 comments 6 replies
-
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
Beta Was this translation helpful? Give feedback.
-
📦 Deployment environmentDocker 📌 Software version1.28.5 💻 System environmentiOS 🌐 BrowserChrome 🐛 Problem descriptionUnder 5G network conditions, generating long content will almost inevitably be interrupted, resulting in incomplete generation. 📷 Steps to reproduceSee video Uploading F9D0042B-7A52-4D64-8DB8-12CEF90709BC.mp4… 🚦 Expected resultsAbility to generate complete responses under any network conditions 📝 Supplementary informationCould it be related to packet loss rate? |
Beta Was this translation helpful? Give feedback.
-
这肯定是你部署的服务器网络问题 |
Beta Was this translation helpful? Give feedback.
-
This is definitely a problem with the server network you deployed |
Beta Was this translation helpful? Give feedback.
-
额,我知道肯定和网络有关,但是不知道你看我的实验视频没有,唯一的变量是我把手机的5G网络,变成了手机连wifi |
Beta Was this translation helpful? Give feedback.
-
Um, I know it must be related to the network, but I don’t know if you saw my experimental video. The only variable is that I changed the 5G network of the mobile phone into the mobile phone connected to wifi. |
Beta Was this translation helpful? Give feedback.
-
变化的是客户端的网络连接 |
Beta Was this translation helpful? Give feedback.
-
What changes is the client’s network connection |
Beta Was this translation helpful? Give feedback.
-
你要明白,wifi和5g走的路由不是一样的,5g的trace下路由看看是不是那个节点出问题。 |
Beta Was this translation helpful? Give feedback.
-
You have to understand that the routes taken by WiFi and 5G are not the same. Run the 5G trace route to see if there is a problem with that node. |
Beta Was this translation helpful? Give feedback.
-
我是搞嵌入式的,对网络这块不是很熟哈
|
Beta Was this translation helpful? Give feedback.
-
I work in the embedded field and am not very familiar with the network.
|
Beta Was this translation helpful? Give feedback.
-
问题在5g到服务器这段链路上,这种大概率是中途有节点延迟高甚至丢包断连,最好试试换运营商或者用4G,应该是用的http tcp协议 |
Beta Was this translation helpful? Give feedback.
-
The problem lies in the link from 5G to the server. There is a high probability that there is a node with high delay or even packet loss and disconnection in the middle. It is best to try changing operators or using 4G, which should use the http tcp protocol. |
Beta Was this translation helpful? Give feedback.
-
lobe
如果是tcp协议,那理论上应该是有重传机制的?除非是超时了? |
Beta Was this translation helpful? Give feedback.
-
lobe
If it is a tcp protocol, then in theory there should be a retransmission mechanism? Unless it's a timeout? |
Beta Was this translation helpful? Give feedback.
-
这就要开发者回答这个问题了 |
Beta Was this translation helpful? Give feedback.
-
It’s up to developers to answer this question |
Beta Was this translation helpful? Give feedback.
-
应该还是网络问题——不仅是与部署lobechat的服务器之间的网络连接,还有可能和服务器(或者客户端)与API接口(看你有没有开“客户端请求模式”)的网络连接有关。 如果是使用的是二道贩子那的中转接口,可以尝试换一家,有些二道贩子的接口在国内网络环境下不稳定。 |
Beta Was this translation helpful? Give feedback.
-
It should still be a network problem - not only the network connection with the server where lobechat is deployed, but also the network connection between the server (or client) and the API interface (see whether you have turned on "client request mode"). If you are using the transit interface from a second-tier dealer, you can try to change it. Some second-tier dealers’ interfaces are unstable in the domestic network environment. |
Beta Was this translation helpful? Give feedback.
-
没有使用客户端请求模式,所以实际发起请求的都是我的服务器,对api请求来说,在5G和WiFi模式下是一样的网络条件 |
Beta Was this translation helpful? Give feedback.
-
The client request mode is not used, so my server actually initiates the request. For api requests, the network conditions are the same in 5G and WiFi modes. |
Beta Was this translation helpful? Give feedback.
-
分别使用电信和联通 5G 网络测试,Lobe Chat 工作正常。 这种情况通常建议考虑服务器的网络问题,例如服务器所在地是否距离太远(位于美国、欧洲等)。可以使用一台电脑连接手机热点,在电脑上使用 tracert 等工具查看一下路由。 最后,此问题应该与 Lobe Chat 本身无关,建议移至讨论区进行讨论。 |
Beta Was this translation helpful? Give feedback.
-
Tested using China Telecom and China Unicom 5G networks respectively, Lobe Chat works normally. In this case, it is usually recommended to consider the server's network problems, such as whether the server is located too far away (in the United States, Europe, etc.). You can use a computer to connect to the mobile phone hotspot, and use tools such as tracert on the computer to check the route. Finally, this issue should have nothing to do with Lobe Chat itself and it is recommended to move it to the discussion forum for discussion. |
Beta Was this translation helpful? Give feedback.
-
服务器是香港的 |
Beta Was this translation helpful? Give feedback.
-
The server is from Hong Kong |
Beta Was this translation helpful? Give feedback.
-
📦 部署环境
Docker
📌 软件版本
1.28.5
💻 系统环境
iOS
🌐 浏览器
Chrome
🐛 问题描述
在5G网络条件下,生成长的内容几乎必现中断,导致生成不全
而切到WiFi下,则能顺利生成
除了网络条件,其余条件均一致
📷 复现步骤
见视频
1039381501.mp4
🚦 期望结果
任何网络条件下,都能生成完整回复
📝 补充信息
会不会和丢包率有关?
或者和超时时间有关?
Beta Was this translation helpful? Give feedback.
All reactions