DB-GPT
DB-GPT copied to clipboard
[Bug] [server activate] 启动server 出现403 error
Search before asking
- [X] I had searched in the issues and found no similar issues.
Operating system information
Linux
Python version information
=3.11
DB-GPT version
latest release
Related scenes
- [ ] Chat Data
- [ ] Chat Excel
- [ ] Chat DB
- [ ] Chat Knowledge
- [X] Model Management
- [ ] Dashboard
- [ ] Plugins
Installation Information
-
[ ] AutoDL Image
-
[ ] Other
Device information
device: mac ventura 13.5
Models information
llm: azure openai
What happened
i change my env to proxy and fill with openai credentials. but when i run the server, i encountered the error 403.
ERROR: [Errno 48] error while attempting to bind on address ('0.0.0.0', 5000): address already in use
INFO: Waiting for application shutdown.
INFO [pilot.model.cluster.worker.manager] Stop all workers
INFO [pilot.model.cluster.worker.manager] Apply req: None, apply_func: <function LocalWorkerManager._stop_all_worker.
What you expected to happen
- not sure which part of my settings is incorrect, my friend used the same .env file and it works perfectly fine.
- is it the vpn problem?
How to reproduce
my .env
LLM_MODEL=proxyllm MODEL_SERVER=http://127.0.0.1:8000 PROXY_API_TYPE = azure PROXY_API_BASE = xxxx PROXY_API_VERSION = xxx PROXY_API_KEY = xxxx PROXY_SERVER_URL=https://api.openai.com/v1/chat/completions
Additional context
No response
Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
error while attempting to bind on address ('0.0.0.0', 5000): address already in use
error while attempting to bind on address ('0.0.0.0', 5000): address already in use
maybe you 5000 port you have already binded
This issue has been marked as stale
, because it has been over 30 days without any activity.
I have the same issue.
5000端口是MacOS默认使用的端口
可以看这个帖子去修改 https://forums.developer.apple.com/forums/thread/682332
相同问题,搞不懂为什么用默认5000端口,应该避开常用端口
This issue has been marked as stale
, because it has been over 30 days without any activity.
This issue bas been closed, because it has been marked as stale
and there has been no activity for over 7 days.