ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Bug] An error will be reported when the proxy_url environment variable uses a domain name(deploy using docker)

Open
#4,378 0 comments 0 reactions 1 assignee Claimed by @Dean-YZG View on GitHub
bug
Dominant language
TypeScript
Stars
88.8k
Forks
59.1k
PR merge metrics
No merged PRs in 30d

Description

### Bug Description

When deploying using docker, an error will be reported if the proxy url uses a domain name.
It only works if you change it to a numeric IP address

### Steps to Reproduce

docker run -d -p 3000:3000 \
-e OPENAI_API_KEY=sk-xxxx \
-e CODE=your-password \
-e PROXY_URL=http://domina_name:7890 \
yidadaa/chatgpt-next-web

### Expected Behavior

docker runs successfully

### Screenshots

![image](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/assets/50436440/1e97c3f3-1a40-4dc4-a635-32f19b9561d9)

### Deployment Method

- [X] Docker
- [ ] Vercel
- [ ] Server

### Desktop OS

truenas

### Desktop Browser

_No response_

### Desktop Browser Version

_No response_

### Smartphone Device

_No response_

### Smartphone OS

_No response_

### Smartphone Browser

_No response_

### Smartphone Browser Version

_No response_

### Additional Logs

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.