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

Docker FAQ 问题集锦 #2105

Closed
Yidadaa opened this issue Jun 23, 2023 · 34 comments
Closed

Docker FAQ 问题集锦 #2105

Yidadaa opened this issue Jun 23, 2023 · 34 comments

Comments

@Yidadaa
Copy link
Collaborator

Yidadaa commented Jun 23, 2023

This is a place to collect common issues and discussions related to Docker deployment.

本 Issue 用于收集 Docker 部署情况下的常见问题。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: Docker FAQ question collection

@foaisjf
Copy link

foaisjf commented Jun 30, 2023

新版本前面加代理的情况下会出现js加载404的情况

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


In the case of adding a proxy in front of the new version, js loading 404 will occur

@KasuganoLove

This comment was marked as off-topic.

@likeyan2022
Copy link

likeyan2022 commented Sep 1, 2023

{
"error": true,
"message": "Failed to fetch"
}

docker 部署的如上问题如何解决

@lzxphp
Copy link

lzxphp commented Sep 10, 2023

按照readme文档的说明使用docker部署,部署成功后,提问对话一直报这个错误改如何解决,谢谢,{
"cause": {
"name": "ConnectTimeoutError",
"code": "UND_ERR_CONNECT_TIMEOUT",
"message": "Connect Timeout Error"
}
}

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Install the readme file and deploy it using docker. After the deployment is successful, the question dialogue keeps reporting this error. How to solve it? Thank you, {
"cause": {
"name": "ConnectTimeoutError",
"code": "UND_ERR_CONNECT_TIMEOUT",
"message": "Connect Timeout Error"
}
}

@misty-windy
Copy link

按照readme文档的说明使用docker部署,部署成功后,提问对话一直报这个错误改如何解决,谢谢,{ "cause": { "name": "ConnectTimeoutError", "code": "UND_ERR_CONNECT_TIMEOUT", "message": "Connect Timeout Error" } }

应该是缺少配置 base_url 我也碰到了这个问题,配置好代理就没问题了

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Use docker deployment according to the instructions in the readme document. After the deployment is successful, the question dialogue keeps reporting this error, how to solve it, thank you, { "cause": { "name": "ConnectTimeoutError", "code": "UND_ERR_CONNECT_TIMEOUT", "message ": "Connect Timeout Error" } }

It should be a lack of configuration base_url. I also encountered this problem. Once the proxy is configured, there will be no problem.

@misty-windy
Copy link

docker-compose 我用了 version 3 部署的,没有配置 profiles 变量, 部署完成后,请求接口出现以下问题
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><title>404: This page could not be found</title><meta name="next-head-count" content="3"/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js"></script><script src="/_next/static/chunks/webpack-c4df1eb302122a90.js" defer=""></script><script src="/_next/static/chunks/framework-4498e84bb0ba1830.js" defer=""></script><script src="/_next/static/chunks/main-a8e5fb1af3348164.js" defer=""></script><script src="/_next/static/chunks/pages/_app-0fe44225c17aa1f2.js" defer=""></script><script src="/_next/static/chunks/pages/_error-a73f64b4ecbfa014.js" defer=""></script><script src="/_next/static/u6nWKbpMIvhKDCIrEzMSj/_buildManifest.js" defer=""></script><script src="/_next/static/u6nWKbpMIvhKDCIrEzMSj/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">This page could not be found<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"u6nWKbpMIvhKDCIrEzMSj","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>

@lzxphp
Copy link

lzxphp commented Sep 11, 2023

按照readme文档的说明使用docker部署,部署成功后,提问对话一直报这个错误改如何解决,谢谢,{ "cause": { "name": "ConnectTimeoutError", "code": "UND_ERR_CONNECT_TIMEOUT", "message": "Connect Timeout Error" } }

应该是缺少配置 base_url 我也碰到了这个问题,配置好代理就没问题了

你说的配置base_url 代理,是指在docker部署的时候添加文档上的这-e PROXY_URL=http://127.0.0.1:7890 \ 配置吗

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Use docker deployment according to the instructions in the readme document. After the deployment is successful, the question dialogue keeps reporting this error, how to solve it, thank you, { "cause": { "name": "ConnectTimeoutError", "code": "UND_ERR_CONNECT_TIMEOUT", " message": "Connect Timeout Error" } }

It should be a lack of configuration base_url. I also encountered this problem. Once the proxy is configured, there will be no problem.

When you talk about configuring the base_url proxy, do you mean adding the -e PROXY_URL=http://127.0.0.1:7890 \ configuration in the document when deploying docker?

@misty-windy
Copy link

按照readme文档的说明使用docker部署,部署成功后,提问对话一直报这个错误改如何解决,谢谢,{ "cause": { "name": "ConnectTimeoutError", "code": "UND_ERR_CONNECT_TIMEOUT", "message": "Connect Timeout Error" } }

应该是缺少配置 base_url 我也碰到了这个问题,配置好代理就没问题了

你说的配置base_url 代理,是指在docker部署的时候添加文档上的这-e PROXY_URL=http://127.0.0.1:7890 \ 配置吗

是这个配置,看Environment Variables部分,有个 BASE_URL 环境变量 (Override openai api request base url)

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Use docker deployment according to the instructions in the readme document. After the deployment is successful, the question dialogue keeps reporting this error, how to solve it, thank you, { "cause": { "name": "ConnectTimeoutError", "code": "UND_ERR_CONNECT_TIMEOUT", "message": "Connect Timeout Error" } }

It should be a lack of configuration base_url. I also encountered this problem. After configuring the proxy, there will be no problem.

When you talk about configuring the base_url proxy, do you mean adding the -e PROXY_URL=http://127.0.0.1:7890 \ configuration in the document when deploying docker?

This is the configuration, look at the Environment Variables section, there is a BASE_URL environment variable (Override openai api request base url)

@Yidadaa Yidadaa mentioned this issue Sep 11, 2023
@sz-p
Copy link

sz-p commented Sep 11, 2023

pull image renter missing signature key ?

@Yidadaa
Copy link
Collaborator Author

Yidadaa commented Sep 11, 2023

@sz-p Make sure your docker version is >= 20.

@sz-p
Copy link

sz-p commented Sep 11, 2023

@sz-p Make sure your docker version is >= 20.

It is work ths

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


This is a place for frequently asked questions and discussions related to Docker deployments.

This issue collects common problems in Docker deployment.

Streaming typewriter is not supported
docker run --name chat-next-web -e BASE_URL=https://xxx.com -d -p 3001:3000 yidadaa/chatgpt-next-web:latest

If you do not write BASE_URL and manually specify the interface address https://xxx.com in the web page settings, the streaming typewriter is supported.
docker run --name chat-next-web -d -p 3001:3000 yidadaa/chatgpt-next-web:latest

Interface https://xxx.com log Accept request header, the former is Accept=/, the latter is Accept=text/event-stream

@Hope to unify and change to streaming

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Docker can be opened using the local IP, but it cannot be opened by entering the domain name and port number.

@BinbinbinDashen
Copy link

BinbinbinDashen commented Oct 24, 2023

{
"cause": {
"errno": -111,
"code": "ECONNREFUSED",
"syscall": "connect",
"address": "224.0.0.1",
"port": 443
}
}这个错是docker网络代理的问题吗?

@Gelei88
Copy link

Gelei88 commented Nov 7, 2023

国内网络打不开如何解决

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


How to solve the problem that the domestic network cannot be opened

@bbongs99 bbongs99 mentioned this issue Dec 8, 2023
Closed
@yuechuzhihou
Copy link

{
"cause": {
"errno": -3008,
"code": "ENOTFOUND",
"syscall": "getaddrinfo",
"hostname": "chargpt2.nextweb.fun"
}
}大佬们这个是什么问题?

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


{
"cause": {
"errno": -3008,
"code": "ENOTFOUND",
"syscall": "getaddrinfo",
"hostname": "chargpt2.nextweb.fun"
}
} What's the problem, guys?

@rangerbing
Copy link

使用docker-compose部署,http域名访问,图片加载不出来
Deployed using docker-compose and accessed via http domain name, the image cannot be loaded.
image
image

@MrDgbot
Copy link

MrDgbot commented Dec 28, 2023

为什么,docker部署出来,但是页面上是2.19.3
version: "3.9"
services:
chatgpt-next-web:
container_name: chatgpt-next-web
image: yidadaa/chatgpt-next-web:v2.10.1
ports:
- "3000:3000"
[root@VM-16-16-centos chatweb]# docker images | grep chatgpt-next-web
yidadaa/chatgpt-next-web latest 4290e38dec4c 16 hours ago 200MB
yidadaa/chatgpt-next-web v2.10.1 4290e38dec4c 16 hours ago 200MB
yidadaa/chatgpt-next-web f96fdf2912d0 2 weeks ago 198MB
image

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Why, docker is deployed, but the page shows 2.19.3
version: "3.9"
services:
chatgpt-next-web:
container_name: chatgpt-next-web
image: yidadaa/chatgpt-next-web:v2.10.1
ports:
- "3000:3000"
[root@VM-16-16-centos chatweb]# docker images | grep chatgpt-next-web
yidadaa/chatgpt-next-web latest 4290e38dec4c 16 hours ago 200MB
yidadaa/chatgpt-next-web v2.10.1 4290e38dec4c 16 hours ago 200MB
yidadaa/chatgpt-next-web f96fdf2912d0 2 weeks ago 198MB
image

@fred-bf fred-bf unpinned this issue Jan 30, 2024
@wfqLab
Copy link

wfqLab commented Feb 14, 2024

docker-compose 我用了 version 3 部署的,没有配置 profiles 变量, 部署完成后,请求接口出现以下问题 <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><title>404: This page could not be found</title><meta name="next-head-count" content="3"/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js"></script><script src="/_next/static/chunks/webpack-c4df1eb302122a90.js" defer=""></script><script src="/_next/static/chunks/framework-4498e84bb0ba1830.js" defer=""></script><script src="/_next/static/chunks/main-a8e5fb1af3348164.js" defer=""></script><script src="/_next/static/chunks/pages/_app-0fe44225c17aa1f2.js" defer=""></script><script src="/_next/static/chunks/pages/_error-a73f64b4ecbfa014.js" defer=""></script><script src="/_next/static/u6nWKbpMIvhKDCIrEzMSj/_buildManifest.js" defer=""></script><script src="/_next/static/u6nWKbpMIvhKDCIrEzMSj/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">This page could not be found<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"u6nWKbpMIvhKDCIrEzMSj","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>

hello ,我也遇到同样的问题,这个问题你这边后面时如何解决的呢

@geekplusaa
Copy link

docker 启动的服务.前端页面大量token请求,一段时间后,网页会打不开.

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


A service started by docker. A large number of token requests are requested from the front-end page. After a period of time, the web page will not be able to be opened.

@Ballen2270
Copy link

新版本前面加代理的情况下会出现js加载404的情况

你好 这个问题解决了吗

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


When adding a proxy in front of the new version, js loading 404 will occur.

Hello, has this problem been solved?

@gufeng0
Copy link

gufeng0 commented Apr 8, 2024

image
大佬们,帮忙看看这是啥原因,我就是用项目里的docker-compose.yml文件

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


image
Guys, please help me find out why this is happening. I just use the docker-compose.yml file in the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests