-
-
Notifications
You must be signed in to change notification settings - Fork 983
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The requested endpoint (GET /v1/chat/completions) was not found #129
Comments
If you open it directly in the browser, the request method is GET. You should use POST method to request this api. |
have the same error in docker it started well
but then I get an error: add an additional slash to the end of the base URL doesn't work also tried to use to "http://localhost:3040/v1/chat/completions" instead of "http://localhost:3040/v1\chat/completions" - all result in the same error, I've already tried use "http://localhost:3040/v1/" and "http://localhost:3040/v1\" - same error i even tried to use the direct ip link,instead of localhost and get the same error, doesn't work anyway |
I have the same problem. |
散了吧,这玩意来不起,无论哪种方式都不行,除非能看到一篇可行的方案。 |
Which deployment method did you use successfully? Where can the resulting API work? Thanks |
Did you mean the IP forbidden by OpenAI? |
https://github.com/PawanOsman/ChatGPT/tree/main/docker-compose and https://github.com/PawanOsman/ChatGPT?tab=readme-ov-file#using-docker all work. |
@ocdevcn @CodeDevNinja Cause ChatGPT uses CloudFlare, you need a "clean" IP address that doesn't fall into their filters. Hmm, basically, this project exploits ChatGPT web public session (non-login session), which is basically fragile. |
Thank you very much for answering my confusion. I think I should try more. I did use the computer room IP, but the IP I used can access https://chatgpt.com/ normally. |
Have you tried calling a POST Request to your own API Endpoint (http://127.0.0.1:3040/v1/chat/completions)? Direct access from web browsers will not work because they use GET Request. Cloudflare uses many different criteria to scan and filter requests that it considers "robotic".
|
I have same issue when call from curl |
seems it does NOT work for me |
The same problem, have any updates ? |
you need to send a post request. This has already been said here why's everyone ignoring them? |
I have tried POST request
but it shows
|
I run "docker run -dp 3040:3040 pawanosman/chatgpt:latest",
then open "http://localhost:3040/v1/chat/completions" in chromium.
The following error message appears on the web page:
{
"status": false,
"error": {
"message": "The requested endpoint (GET /v1/chat/completions) was not found. please make sure to use "http://localhost:3040/v1\" as the base URL.",
"type": "invalid_request_error"
},
"support": "https://discord.pawan.krd"
}
The text was updated successfully, but these errors were encountered: