lobe-chat icon indicating copy to clipboard operation
lobe-chat copied to clipboard

[Bug] 部署在局域网上的服务无法被访问到

Open AppleRiven opened this issue 10 months ago • 7 comments

💻 系统环境

Windows

📦 部署环境

Vercel / Zeabur / Sealos

🌐 浏览器

Chrome

🐛 问题描述

我在本地和局域网内的服务器上部署了相同的服务,本地可以通过localhost:local_port正常访问,但是无法在本地通过remoteIP:remotePort访问服务器上的服务,已经在NextChat上试过可行。

🚦 期望结果

No response

📷 复现步骤

No response

📝 补充信息

No response

AppleRiven avatar Apr 27 '24 16:04 AppleRiven

👀 @AppleRiven

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

lobehubbot avatar Apr 27 '24 16:04 lobehubbot

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


💻 System environment

Windows

📦 Deployment environment

Vercel / Zeabur / Sealos

🌐 Browser

Chrome

🐛 Problem description

I have deployed the same service on the local server and the server in the LAN. The local server can be accessed normally through localhost:local_port, but the service on the server cannot be accessed locally through remoteIP:remotePort. I have tried it on NextChat and it works.

🚦 Expected results

No response

📷 Steps to reproduce

No response

📝 Supplementary information

No response

lobehubbot avatar Apr 27 '24 16:04 lobehubbot

没懂,你部署了啥?和 LobeChat 有啥关系

arvinxx avatar Apr 27 '24 17:04 arvinxx

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


I don’t understand. What did you deploy? What does it have to do with LobeChat?

lobehubbot avatar Apr 27 '24 17:04 lobehubbot

局域网本地nas docker运行lobechat 且开启了https, 然后访问另外一台机器部署的非https的ollama检测失败 . image

另外关闭“使用客户端请求模式”,虽然检测失败,但是是可以正常使用的。

progmboy avatar Apr 28 '24 07:04 progmboy

另外关闭“使用客户端请求模式”,虽然检测失败,但是是可以正常使用的。

那应该是检测这块的逻辑问题,我们后续优化下

arvinxx avatar Apr 28 '24 10:04 arvinxx

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


Also turn off "Use client request mode". Although the detection fails, it can be used normally.

That should be a logical problem in detecting this area. We will optimize it later.

lobehubbot avatar Apr 28 '24 10:04 lobehubbot

👋 @{{ author }}
Since the issue was labeled with 🤔 Need Reproduce, but no response in 3 days. This issue will be closed. If you have any questions, you can comment and reply.
由于该 issue 被标记为需要更多信息,却 3 天未收到回应。现关闭 issue,若有任何问题,可评论回复。

lobehubbot avatar May 02 '24 00:05 lobehubbot

✅ @AppleRiven

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

lobehubbot avatar May 02 '24 00:05 lobehubbot