Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Proxy-V4 seems working well but revChatGPT/V1.py got 403 #58

Closed
chushj opened this issue Apr 17, 2023 · 4 comments
Closed

Proxy-V4 seems working well but revChatGPT/V1.py got 403 #58

chushj opened this issue Apr 17, 2023 · 4 comments

Comments

@chushj
Copy link

chushj commented Apr 17, 2023

Proxy-V4 shows
[GIN] 2023/04/17 - 03:52:06 | 403 | 55.76265ms | 127.0.0.1 | GET "/api/conversation/cc726f70-4963-1cf5-b0bd-faf50560d26a"
[GIN] 2023/04/17 - 03:52:06 | 403 | 8.479793ms | 127.0.0.1 | POST "/api/conversation"

revChatGPT/V1.py shows
File "/home/ec2-user/.local/lib/python3.11/site-packages/revChatGPT/V1.py", line 696, in __check_response
raise error from e
revChatGPT.typings.Error: OpenAI: error code: 1020 (code: 403)

But revChatGPT/V1.py works well with the default proxy https://chat.gateway.do/api/

@dawhdb
Copy link

dawhdb commented Apr 17, 2023

我Proxy-V4的是403,环境变量里加了puid这些,请问是还有哪里需要弄吗
1

@chushj
Copy link
Author

chushj commented Apr 17, 2023

Oh, I got 403 too. I noticed that there are two cf_clearance cookies in the request, and I noticed that timeouts in the browser happen frequently.(So the page was initialized to new chat)"

@Walbre
Copy link

Walbre commented Apr 17, 2023

I've got the same problem, any way to fix it ?

@chushj
Copy link
Author

chushj commented Apr 18, 2023

From https://github.com/acheong08/ChatGPT

Due to recent tightening of OpenAI's security, the default endpoint has been swapped over to one provided by @pengzhile. It is not open source and privacy is not guarenteed. Use it at your own risk. I am working on an open source implementation with the latest changes but that could take a while.

@chushj chushj closed this as completed Apr 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants