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] 部署在局域网上的服务无法被访问到 #2243

Closed
AppleRiven opened this issue Apr 27, 2024 · 9 comments
Closed

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

AppleRiven opened this issue Apr 27, 2024 · 9 comments
Labels
🤔 Need Reproduce Further information is requested | 需要更多信息复现

Comments

@AppleRiven
Copy link

💻 系统环境

Windows

📦 部署环境

Vercel / Zeabur / Sealos

🌐 浏览器

Chrome

🐛 问题描述

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

🚦 期望结果

No response

📷 复现步骤

No response

📝 补充信息

No response

@AppleRiven AppleRiven added the 🐛 Bug Something isn't working | 缺陷 label Apr 27, 2024
@lobehubbot
Copy link
Member

👀 @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
Copy link
Member

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

@arvinxx
Copy link
Contributor

arvinxx commented Apr 27, 2024

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

@lobehubbot
Copy link
Member

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?

@arvinxx arvinxx added 🤔 Need Reproduce Further information is requested | 需要更多信息复现 and removed 🐛 Bug Something isn't working | 缺陷 labels Apr 27, 2024
@progmboy
Copy link

progmboy commented Apr 28, 2024

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

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

@arvinxx
Copy link
Contributor

arvinxx commented Apr 28, 2024

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

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

@lobehubbot
Copy link
Member

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
Copy link
Member

👋 @{{ 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 lobehubbot closed this as not planned Won't fix, can't repro, duplicate, stale May 2, 2024
@lobehubbot
Copy link
Member

@AppleRiven

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤔 Need Reproduce Further information is requested | 需要更多信息复现
Projects
Status: Done
Development

No branches or pull requests

4 participants