ChatGPT icon indicating copy to clipboard operation
ChatGPT copied to clipboard

[Bug]: V1.get_conversations() response 404

Open cjb1234567 opened this issue 1 year ago • 23 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What happened?

V1 chat_bot.ask() returns revChatGPT.V1.Error because url returns 404

Steps to reproduce the problem

  1. Go to .... V1.get_conversations()

What should have happened?

url = BASE_URL + f"api/conversations?offset={offset}&limit={limit}"

'https://apps.openai.com/api/conversations?offset=0&limit=20' returns 404

Version where the problem happens

V1 Version: 2.3.5

What Python version are you running this with?

3.10

What is your operating system ?

Linux

Command Line Arguments

no

Console logs

File "E:\DockerProj\gptweb\venv\Lib\site-packages\revChatGPT\V1.py", line 144, in ask
    self.__map_conversations()
  File "E:\DockerProj\gptweb\venv\Lib\site-packages\revChatGPT\V1.py", line 296, in __map_conversations
    conversations = self.get_conversations()
                    ^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\DockerProj\gptweb\venv\Lib\site-packages\revChatGPT\V1.py", line 236, in get_conversations
    self.__check_response(response)
  File "E:\DockerProj\gptweb\venv\Lib\site-packages\revChatGPT\V1.py", line 226, in __check_response
    raise error
revChatGPT.V1.Error

Additional information

No response

cjb1234567 avatar Mar 09 '23 01:03 cjb1234567

Recommendation: Use V3.

acheong08 avatar Mar 09 '23 01:03 acheong08

It is due to the endpoint being shut down by OpenAI

acheong08 avatar Mar 09 '23 01:03 acheong08

It is due to the endpoint being shut down by OpenAI

Is this the endpoint you're talking about? https://chat.duti.tech/api/

fish8848-chen avatar Mar 09 '23 02:03 fish8848-chen

It is due to the endpoint being shut down by OpenAI

Is this the endpoint you're talking about? https://chat.duti.tech/api/

most this kind of endpoint

Pengchengistaken avatar Mar 09 '23 02:03 Pengchengistaken

I'm trying to find free alternatives. I don't want to pay for ChatGPT [obviously], so I'm looking into my options.

7trail avatar Mar 09 '23 02:03 7trail

Working on it. Could exist other bypasses.

acheong08 avatar Mar 09 '23 02:03 acheong08

I'm thinking the same thing @acheong08 . Lmk if you need assistance with anything, I'm a big supporter of this API.

7trail avatar Mar 09 '23 02:03 7trail

POE.com might be a nice addition, since OpenAI and Google Claude are both alive there.

itsuwari avatar Mar 09 '23 02:03 itsuwari

It wouldn't be an idea to look like the proxy on the cloudflare Workers system if the code is simple everyone can create yours to use

noseon avatar Mar 09 '23 03:03 noseon

I mean the bypass method is patched.

acheong08 avatar Mar 09 '23 03:03 acheong08

POE.com might be a nice addition, since OpenAI and Google Claude are both alive there.

POE/POE.py at main · vaibhavk97/Poe

acheong08 avatar Mar 09 '23 03:03 acheong08

Now's a good time to mention that POE.com actually has ChatGPT built into it. It also does not have a visible rate limit. Adding access to POE through here would be nice.

7trail avatar Mar 09 '23 03:03 7trail

Now's a good time to mention that POE.com actually has ChatGPT built into it. It also does not have a visible rate limit. Adding access to POE through here would be nice.

Will work on it.

acheong08 avatar Mar 09 '23 03:03 acheong08

https://github.com/mmabrouk/chatgpt-wrapper/blob/main/chatgpt_wrapper/gpt_api.py would it be a good idea to put the vercel.app proxy on this site?

noseon avatar Mar 09 '23 03:03 noseon

acheong08,wait you fix

ouwx avatar Mar 09 '23 04:03 ouwx

Unlikely for this to get fixed. V2 and V3 are currently the only methods

acheong08 avatar Mar 09 '23 04:03 acheong08

The API key for V2 should be pk-TNkDYMHpJKKuSfiAWJlUCKQSnKluoZxvLGKRPnPzxCDPdVxs

acheong08 avatar Mar 09 '23 04:03 acheong08

Build an available endpoint maybe ?

NamiKaze7 avatar Mar 09 '23 05:03 NamiKaze7

Is there any other alternative method to get original web chatgpt answer other than open chat.openai.com? the gpt-3.5-turbo api is still different from web chatgpt.

seyrenus avatar Mar 09 '23 06:03 seyrenus

V2 的 API 密钥应该是pk-TNkDYMHpJKKuSfiAWJlUCKQSnKluoZxvLGKRPnPzxCDPdVxs

python3 -m revChatGPT.V2 --api_key=pk-TNkDYMHpJKKuSfiAWJlUCKQSnKluoZxvLGKRPnPzxCDPdVxs

    ChatGPT - A command-line interface to OpenAI's ChatGPT (https://chat.openai.com/chat)
    Repo: github.com/acheong08/ChatGPT
    

Logging in... Logged in

Type '!help' to show a full list of commands Press enter twice to submit your question.

You: 写一个二分查找

revChatGPT==3.1.8 python3 -m revChatGPT.V2 也不行哈

Liu-Angelo avatar Mar 09 '23 07:03 Liu-Angelo

It's working. I need to update the instructions. alt+enter to submit

acheong08 avatar Mar 09 '23 09:03 acheong08

Is this endpoint still unavailable? Any plan to fix it?

renewboy avatar Mar 09 '23 09:03 renewboy

in my view the owner should show how to make the proxy for anyone who wants to use it somewhere. because there are a lot of people using his proxy and in this case there is a cost to maintain the proxy.

noseon avatar Mar 09 '23 14:03 noseon

in my view the owner should show how to make the proxy for anyone who wants to use it somewhere. because there are a lot of people using his proxy and in this case there is a cost to maintain the proxy.

We did that with V1. Look how fast it got patched. (A few hours)

acheong08 avatar Mar 09 '23 23:03 acheong08

It seems everything is overloaded though. Waiting for @PawanOsman to either scale up or share source code with people who can

acheong08 avatar Mar 09 '23 23:03 acheong08

Oh shit someone from the community found a new bypass. Will write up a server for that soon

acheong08 avatar Mar 10 '23 00:03 acheong08

@acheong08 Can you provide a proxy bin just like before?

s524797336 avatar Mar 10 '23 01:03 s524797336

makes a pyc in python with very friendly configuration. because it can run both locally and on a site that runs python and becomes a proxy. so you get rid of having to pay a proxy or you try to make it run on cloudflare on Workers ai each person does their own.

noseon avatar Mar 10 '23 01:03 noseon

makes a pyc in python with very friendly configuration. because it can run both locally and on a site that runs python and becomes a proxy. so you get rid of having to pay a proxy or you try to make it run on cloudflare on Workers ai each person does their own.

Are you willing to cooperate with me? I don't have the time to do too much

acheong08 avatar Mar 10 '23 02:03 acheong08

The code is written in Go btw. Not sure how to port it to JS because it involves TLS spoofing

acheong08 avatar Mar 10 '23 02:03 acheong08