-
Notifications
You must be signed in to change notification settings - Fork 55
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
[BUG] Error in pass_verification, the service not load... #34
Comments
Was this a temporary issue or does it still happen? |
Now its still happen, not work since 1 day ago... and now its not working. |
Maybe try adding a catch: |
Client is trying to connect for 30 minutes and no progress in ChatGPT_Client(EMAIL,PASS) It never connects I haven't been able to use it for 2 days. On different computers, with different accounts and in a Docker environment. |
Error: File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response ... (Session info: chrome=117.0.5938.92) |
Using verbose: 2023/09/28 21:46:06 INFO Verbose mode active And infinite... |
Any idea? please need help! |
Yes, it seems Cloudflare won't let you pass the verification. It is probably IP-based detection. There is no easy solution for this problem and it is not related to the this repository. |
It is strange since the same thing happens to me with another IP and also if I log in with the browser it works perfectly. |
Ok, I'm done seeing the problem. It is not a Cloudflare block. It is an incompatibility between the latest version of chrome 117 and chrome undetected: My last code (install chrome 117): RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
RUN apt install ./google-chrome-stable_current_amd64.deb -y And my new code: COPY chrome/chrome_114_amd64.deb /tmp/
RUN ls
#Instalar
RUN apt install /tmp/chrome_114_amd64.deb -y Now its works using chrome 114!! |
This input shows that the undetected-chrome has already hooked the client, although current version of undetected-chrome may not be compatible with the chrome-117. I'm happy that you solved the problem. |
Traceback (most recent call last):
File "code.py", line 18, in
chatgpt = ChatGPT_Client(OPENAI_EMAIL, OPENAI_PASSWORD)
File "/usr/local/lib/python3.8/site-packages/chatgpt_automation/chatgpt_client.py", line 105, in init
self.pass_verification()
File "/usr/local/lib/python3.8/site-packages/chatgpt_automation/chatgpt_client.py", line 146, in pass_verification
verify_button[0].click()
File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 93, in click
self._execute(Command.CLICK_ELEMENT)
File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 394, in _execute
return self._parent.execute(command, params)
File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 344, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.StaleElementReferenceException: Message: stale element reference: stale element not found
(Session info: chrome=117.0.5938.92); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#stale-element-reference-exception
Stacktrace:
#0 0x56149368c6b3
#1 0x5614933621e7
#2 0x56149336ff09
#3 0x561493367644
#4 0x56149336625b
#5 0x5614933689c0
#6 0x561493368a7c
#7 0x5614933aae19
#8 0x56149339f451
#9 0x5614933cb0c2
#10 0x56149339ef16
#11 0x5614933cb28e
#12 0x5614933e4322
#13 0x5614933cae93
#14 0x56149339d934
#15 0x56149339e71e
#16 0x561493651cb8
#17 0x561493655bf0
#18 0x56149366019c
#19 0x561493656808
#20 0x56149362327f
#21 0x56149367ae88
#22 0x56149367b059
#23 0x56149368b843
#24 0x7ff5b955c044
The text was updated successfully, but these errors were encountered: