FastChat icon indicating copy to clipboard operation
FastChat copied to clipboard

python3 -m fastchat.serve.model_worker returns status_code 403

Open wanbo432503 opened this issue 1 year ago • 2 comments

I start the fastchat controller by default configuration: python3 -m fastchat.serve.controller

However, when i registered the model_worker, it failed at the assert code which checks whether the status_code equals to 200. So, I print the status code, which is 403. Why did that happen?

image

wanbo432503 avatar May 17 '23 02:05 wanbo432503

Same here :cry:

wsascha avatar May 26 '23 09:05 wsascha

same,anybody help?

RogerYu123 avatar Jun 09 '23 01:06 RogerYu123

same here

kennymckormick avatar Jun 23 '23 13:06 kennymckormick

same here, my status code is 503

qiuyuleng1 avatar Aug 02 '23 05:08 qiuyuleng1

Adding localhost to no_proxy can help.

qiuyuleng1 avatar Aug 02 '23 06:08 qiuyuleng1

Adding localhost to no_proxy can help.

Hi Qiuyu, I have the same 503 error code and I came across your solution. Could you please explain how to "Add localhost to no_proxy"? This is crucial for me. Thank you so much!

Go0day avatar Aug 31 '23 15:08 Go0day

Adding localhost to no_proxy can help.

Hi Qiuyu, I have the same 503 error code and I came across your solution. Could you please explain how to "Add localhost to no_proxy"? This is crucial for me. Thank you so much!

My colleague assisted me with this by adding a command to the .bashrc file: export no_proxy="$no_proxy,localhost" Hoping this could help you guys.

Go0day avatar Sep 01 '23 07:09 Go0day

@wanbo432503 have you tried @Go0day 's suggestion? This has been a bit, I will close it. If you still need help, please reopen!

surak avatar Oct 23 '23 09:10 surak