NextChat icon indicating copy to clipboard operation
NextChat copied to clipboard

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

Open fengjk12138 opened this issue 11 months ago • 0 comments

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

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

fengjk12138 avatar Mar 23 '24 16:03 fengjk12138