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] Docker部署出现-3001怎么解决 #5193

Closed
angler5930 opened this issue Aug 5, 2024 · 7 comments
Closed

[Bug] Docker部署出现-3001怎么解决 #5193

angler5930 opened this issue Aug 5, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@angler5930
Copy link

angler5930 commented Aug 5, 2024

📦 部署方式

Docker

📌 软件版本

v2.14

💻 系统环境

Windows

📌 系统版本

Windows 10

🌐 浏览器

Chrome

📌 浏览器版本

127.0.6533.89

🐛 问题描述

q1
用上面代码部署会出现-3001错误
q2
但是在设置里单独设置接口地址就没问题
q3
q4
请问这个问题怎么解决呢?

📷 复现步骤

No response

🚦 期望结果

No response

📝 补充信息

接口地址没问题,在设置里单独设置接口地址可以访问。单独设置太麻烦了

@angler5930 angler5930 added the bug Something isn't working label Aug 5, 2024
@lloydzhou
Copy link
Contributor

请自己检查配置的api地址是否正确,以及环境的网络情况。
这里getaddrinfo报错就是容器内路由不到这个地址。

@Issues-translate-bot
Copy link

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


Please check whether the configured API address is correct and the network conditions of the environment.
The error reported by getaddrinfo here means that the address cannot be routed within the container.

@angler5930
Copy link
Author

接口地址没问题,在设置里单独设置接口地址可以访问。单独设置太麻烦了

@lloydzhou
Copy link
Contributor

但是,这个错误始终是一个底层的网络问题。应用的代码层面应该解决不了。

@Issues-translate-bot
Copy link

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


However, this error is always an underlying network issue. The application code level should not be able to solve it.

@angler5930
Copy link
Author

此问题暂时已解决,把docker降级到26.0.0版本就可以了。这个版本没网络问题

@Issues-translate-bot
Copy link

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


It seems that https is not recognized. I wrote two layers of https to solve it -e BASE_URL=https://https://gpt.datapipe.top/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants