Skip to content
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

revChatGPT.typings.Error: OpenAI: {"detail":"Our systems have detected unusual activity from your system. Please try again later."} (code: 403) #16

Closed
Nadeus opened this issue Jun 20, 2023 · 10 comments · Fixed by #17

Comments

@Nadeus
Copy link

Nadeus commented Jun 20, 2023

Hey,

I'm having the same issue as last time. Maybe we should use the latest version of revGPT?

acheong08/ChatGPT@7c7b36a

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
@Nadeus
Copy link
Author

Nadeus commented Jun 20, 2023

Also: acheong08/ChatGPT#1431

@Erol444
Copy link
Owner

Erol444 commented Jun 20, 2023

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.

@Nadeus
Copy link
Author

Nadeus commented Jun 20, 2023

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

@Nadeus
Copy link
Author

Nadeus commented Jun 24, 2023

Hey there, normally it has been fixed in the latest update: acheong08/ChatGPT#1431

Could you update the library in your tool?

@JakobJBauer
Copy link

gtp-4-mobile has the same error now.

@Erol444
Copy link
Owner

Erol444 commented Jun 26, 2023

@Nadeus @JakobJBauer could you try the latest version?

@JakobJBauer
Copy link

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)

@JakobJBauer
Copy link

I updated revChatGPT to the latest version and it works again as mentioned in this issue, but seems like a temporary fix

@Nadeus
Copy link
Author

Nadeus commented Jun 26, 2023

If you just updated revChatGPT's version, normally it should work!

@Nadeus
Copy link
Author

Nadeus commented Jun 29, 2023

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants