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] Dalle-3 无法使用 #4299

Open
cookieY opened this issue Oct 9, 2024 · 3 comments
Open

[Bug] Dalle-3 无法使用 #4299

cookieY opened this issue Oct 9, 2024 · 3 comments
Labels
🐛 Bug Something isn't working | 缺陷 dalle

Comments

@cookieY
Copy link
Contributor

cookieY commented Oct 9, 2024

📦 Environment

Docker

📌 Version

v1.21.8

💻 Operating System

Other Linux

🌐 Browser

Chrome

🐛 Bug Description

使用 text2image 功能生成图片后 图片无法显示

接口 /webapi/proxy 报错 400 {"error":"Not support internal host proxy"}

后端日志报错

I: request to https://oaidalleapiprodscus.blob.core.windows.net/private/org-qCe6JgaC2AUJAAIvDJTOQP7V/user-FpTEyVidRobRD1Pn4XvL5EIM/img-z4iqykp2BxFaZn5hU7hMzPcU.png?st=2024-10-09T01%3A30%3A11Z&se=2024-10-09T03%3A30%3A11Z&sp=r&sv=2024-08-04&sr=b&rscd=inline&rsct=image/png&skoid=d505667d-d6c1-4a0a-bac7-5c84a87759f8&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skt=2024-10-08T05%3A58%3A53Z&ske=2024-10-09T05%3A58%3A53Z&sks=b&skv=2024-08-04&sig=x9oepvxRk7vTi94h1nO%2BYxOzBp7mVRvmWCrsKv71kMU%3D failed, reason: DNS lookup 224.0.0.3(family:4, host:oaidalleapiprodscus.blob.core.windows.net) is not allowed. Because, It is private IP address.

📷 Recurrence Steps

No response

🚦 Expected Behavior

No response

📝 Additional Information

No response

@cookieY cookieY added the 🐛 Bug Something isn't working | 缺陷 label Oct 9, 2024
@lobehubbot
Copy link
Member

👀 @cookieY

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

@dosubot dosubot bot added the dalle label Oct 9, 2024
Copy link

dosubot bot commented Oct 9, 2024

Hey @cookieY! 👋 I'm here to help you with bugs, questions, and becoming a contributor. Let's squash some bugs together!

A similar issue was discussed where the Dalle-3 text2image feature returned a 400 error with the message "Not support internal host proxy." This happens because the proxy implementation blocks requests to internal IP addresses. The error occurs when a DNS lookup resolves to a private IP address, which is not allowed by the proxy [1].

To address this, ensure that the proxy settings are correctly configured and that the request is not resolving to a private IP. You might need to adjust your network or proxy settings to allow the necessary external requests.

To continue talking to Dosu, mention @dosu.

@lobehubbot
Copy link
Member

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


Encountered the same problem, you can see the picture after opening the picture link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷 dalle
Projects
Status: Roadmap - Chat 1.x
Development

No branches or pull requests

2 participants