-
-
Notifications
You must be signed in to change notification settings - Fork 12k
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] 如何才能让Lobe客户端版本Docker镜像通过HTTP Proxy访问互联网? #6524
Comments
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
To configure the Lobe client Docker image to access the internet through an HTTP Proxy, you can follow these steps:
If these steps do not resolve the issue, you might want to look into the specific configuration of To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
@hezhijie0327 帮忙看下? |
@hezhijie0327 Help to see it? |
设置 PROXY_URL 参数,如 PROXY_URL=socks5://127.0.0.1:7890
获取 Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
发件人: LobeHub Bot ***@***.***>
发送时间: 2025年2月26日星期三 上午11:41:03
收件人: lobehub/lobe-chat ***@***.***>
抄送: Zhijie He ***@***.***>; Mention ***@***.***>
主题: Re: [lobehub/lobe-chat] [Bug] 如何才能让Lobe客户端版本Docker镜像通过HTTP Proxy访问互联网? (Issue #6524)
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
________________________________
@hezhijie0327<https://github.com/hezhijie0327> Help to see it?
—
Reply to this email directly, view it on GitHub<#6524 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AN3ISVGJL6BOQGTMHF4ZVBT2RUZU7AVCNFSM6AAAAABX4CWGTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOBTHAYTKOJWGQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
[lobehubbot]lobehubbot left a comment (lobehub/lobe-chat#6524)<#6524 (comment)>
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
________________________________
@hezhijie0327<https://github.com/hezhijie0327> Help to see it?
—
Reply to this email directly, view it on GitHub<#6524 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AN3ISVGJL6BOQGTMHF4ZVBT2RUZU7AVCNFSM6AAAAABX4CWGTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOBTHAYTKOJWGQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
http协议是 PROXY_URL=http://127.0.0.1:7890 ? |
The http protocol is PROXY_URL=http://127.0.0.1:7890? |
可以了,感谢大佬,这问题我之前研究了好久 |
OK, thank you guys, I have studied this issue for a long time before |
This issue is closed, If you have any questions, you can comment and reply. |
📦 部署环境
Docker
📦 部署模式
客户端 Pglite 模式(lobe-chat-pglite 镜像)
📌 软件版本
1.62.3
💻 系统环境
Other Linux
🌐 浏览器
Edge
🐛 问题描述
我的Linux服务器无法直接联网,但是可以通过HTTP Proxy访问互联网。
PS:这个HTTP Proxy功能是正常的,其它Linux程序均可以正常访问互联网。
使用docker run lobe-chat镜像时,不管如何设置HTTP Proxy,Lobe容器均无法联网,导致部分功能不可用.
1、直接使用宿主机的PROXY环境变量设置,不行。
2、使用宿主机的PROXY环境变量设置 + docker_network=host,不行。
3、docker -e中设置PROXY环境变量,不行。
4、怀疑是Proxy环境变量设置和Dockerfile CMD执行顺序的问题,docker run手工覆盖cmd和和entrypoint,不行。
容器启动命令
Proxy设置
Lobe访问互联网报错
📷 复现步骤
No response
🚦 期望结果
No response
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: