ChatGPT-API-server icon indicating copy to clipboard operation
ChatGPT-API-server copied to clipboard

[Err] 404 page not found

Open soiqualang opened this issue 3 years ago • 6 comments

Hi there, Yesterday I ran /api/ask and it was okay, but today it returned 404 page not found after a long period of hanging. What can I do to fix this error?

image

soiqualang avatar Dec 30 '22 03:12 soiqualang

Are you making a POST request? Try with curl and see what is returned.

acheong08 avatar Dec 30 '22 03:12 acheong08

Are you making a POST request? Try with curl and see what is returned.

Yes, In Postman I used POST request. I'm trying with curl and it's been hanging for more than 30 minutes :') .

image

Maybe I'll keep hanging curl post to see what it returns. Thanks

soiqualang avatar Dec 30 '22 04:12 soiqualang

In your curl request, you specified conversation_id and parent_id. Do not do that unless you have the IDs

acheong08 avatar Dec 30 '22 05:12 acheong08

There is also the case of port number. It might be that you cannot access the port.

acheong08 avatar Dec 30 '22 05:12 acheong08

(I'm not a docker expert and can't be sure why that would be. Try it locally without docker.)

acheong08 avatar Dec 30 '22 05:12 acheong08

(I'm not a docker expert and can't be sure why that would be. Try it locally without docker.)

Thank you very much and happy new year. I tried not using docker but it keeps hanging when using curl post (note that 2 days ago I used to run it successfully but the next day it got the same condition, I tried using another computer and the installation doesn't use docker as you suggested but still hangs on request, it returns nothing, keep hanging like that). Once again thank you very much for your active support.

soiqualang avatar Dec 31 '22 17:12 soiqualang