theAbdoSabbagh / UnlimitedGPT

An unofficial Python wrapper for OpenAI's ChatGPT API

Home Page:https://pypi.org/project/UnlimitedGPT/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ValueError: Cloudflare challenge failed

rahulbanwasi opened this issue · comments

Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/UnlimitedGPT/UnlimitedGPT.py", line 259, in _ensure_cf
WebDriverWait(self.driver, 10).until_not(
File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/support/wait.py", line 118, in until_not
raise TimeoutException(message)
selenium.common.exceptions.TimeoutException: Message:

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/UnlimitedGPT/UnlimitedGPT.py", line 259, in _ensure_cf
WebDriverWait(self.driver, 10).until_not(
File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/support/wait.py", line 118, in until_not
raise TimeoutException(message)
selenium.common.exceptions.TimeoutException: Message:

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/UnlimitedGPT/UnlimitedGPT.py", line 259, in _ensure_cf
WebDriverWait(self.driver, 10).until_not(
File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/support/wait.py", line 118, in until_not
raise TimeoutException(message)
selenium.common.exceptions.TimeoutException: Message:

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/root/gptnew/tcgpt.py", line 12, in
chatbot = ChatGPT(
File "/usr/local/lib/python3.10/dist-packages/UnlimitedGPT/UnlimitedGPT.py", line 75, in init
self._init_browser()
File "/usr/local/lib/python3.10/dist-packages/UnlimitedGPT/UnlimitedGPT.py", line 186, in _init_browser
self._ensure_cf()
File "/usr/local/lib/python3.10/dist-packages/UnlimitedGPT/UnlimitedGPT.py", line 268, in _ensure_cf
return self._ensure_cf(retry - 1)
File "/usr/local/lib/python3.10/dist-packages/UnlimitedGPT/UnlimitedGPT.py", line 268, in _ensure_cf
return self._ensure_cf(retry - 1)
File "/usr/local/lib/python3.10/dist-packages/UnlimitedGPT/UnlimitedGPT.py", line 268, in _ensure_cf
return self._ensure_cf(retry - 1)
File "/usr/local/lib/python3.10/dist-packages/UnlimitedGPT/UnlimitedGPT.py", line 269, in _ensure_cf
raise ValueError("Cloudflare challenge failed")
ValueError: Cloudflare challenge failed