revChatGPT.typings.Error: OpenAI: {"detail":"Our systems have detected unusual activity from your system. Please try again later."} (code: 403)
Nadeus opened this issue · comments
Hey,
I'm having the same issue as last time. Maybe we should use the latest version of revGPT?
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/revChatGPT/V1.py", line 699, in __check_response
response.raise_for_status()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://bypass.churchless.tech/conversation
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/louis/Desktop/DupplePy/creation-envoi-newsletter/summarization.py", line 96, in <module>
main()
File "/Users/louis/Desktop/DupplePy/creation-envoi-newsletter/summarization.py", line 58, in main
summary = generate_summary_gpt4(content)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/louis/Desktop/DupplePy/creation-envoi-newsletter/summarization.py", line 14, in generate_summary_gpt4
response = llm(
^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/langchain/llms/base.py", line 297, in __call__
self.generate([prompt], stop=stop, callbacks=callbacks)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/langchain/llms/base.py", line 191, in generate
raise e
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/langchain/llms/base.py", line 185, in generate
self._generate(prompts, stop=stop, run_manager=run_manager)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/langchain/llms/base.py", line 438, in _generate
else self._call(prompt, stop=stop)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/gpt4_openai/__init__.py", line 35, in _call
for data in self.chatbot.ask(prompt=prompt,
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/revChatGPT/V1.py", line 585, in ask
yield from self.post_messages(
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/revChatGPT/V1.py", line 538, in post_messages
yield from self.__send_request(
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/revChatGPT/V1.py", line 372, in __send_request
self.__check_response(response)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/revChatGPT/V1.py", line 85, in wrapper
out = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/revChatGPT/V1.py", line 706, in __check_response
raise error from ex
revChatGPT.typings.Error: OpenAI: {"detail":"Our systems have detected unusual activity from your system. Please try again later."} (code: 403)
Please check that the input is correct, or you can resolve this issue by filing an issue
Project URL: https://github.com/acheong08/ChatGPT
Also: acheong08/ChatGPT#1431
Doesn't look like there's a clear fix yet.. Will wait until it gets resolved on revChatGPT, we can also add mapping from gpt-4
to gpt-4-mobile
directly in this lib.
I used gpt-4-mobile
instead of gpt-4
and it worked well, though I don't know what's the difference between the two
Hey there, normally it has been fixed in the latest update: acheong08/ChatGPT#1431
Could you update the library in your tool?
gtp-4-mobile has the same error now.
@Nadeus @JakobJBauer could you try the latest version?
I updated the package using python3.9 -m pip install --upgrade gpt4-openai-api
Then validated revChatGPT version 6.4.4 and langchain
When I run the program however, I still receive the same error (now there is a message that I am a GPT+ Subscriber, but other than that nothing changed really)
revChatGPT.typings.Error: OpenAI: {"detail":"Our systems have detected unusual activity from your system. Please try again later."} (code: 403)
I updated revChatGPT to the latest version and it works again as mentioned in this issue, but seems like a temporary fix
If you just updated revChatGPT's version, normally it should work!
@Erol444 the library you're using is super unstable right now. Though they are really working hard to make it work and avoid being blocked by openai, I don't know if it will be enough.
Do you think it's possible to be able to switch between selenium (i.e the former version of your tool) and the RevChatGPT?
I had less troubles with the former version, though it was slower