Closed NoNeuronsNoStress closed 1 year ago
For me it doesn't work either. The section
chatbot = Chatbot({
"session_token": token
}, conversation_id=None, parent_id=None) # You can start a custom conversation
is just hanging with the output Spawning browser...
I wonder if it can't login anymore that easily due to cloudfare?
is just hanging with the output Spawning browser...
It can't open your browser. Maybe try opening Google Chrome or Chromium before running it.
'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f828d711de0>: Failed to establish a new connection: [Errno 111] Connection refused')':
Are you running in a restricted environment such as firejail? It can't connect to your chrome drivers
firejail
as far as I know I dont run it in any restricted environment. I only made a small python function and little webapp where I call the function that logs in succesfully with a session token, but then i get this error
is just hanging with the output Spawning browser...
It can't open your browser. Maybe try opening Google Chrome or Chromium before running it.
'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f828d711de0>: Failed to establish a new connection: [Errno 111] Connection refused')':
Are you running in a restricted environment such as firejail? It can't connect to your chrome drivers
i just found out that after this error happens, if i open chatgpt manually from my browser the conversations are there, and they even got answered. (but it seems like they failed to get back to me.)
Having the OP thing, too; It does not prevent chatbot from working though. Maybe the issue with how uc works on server (meaning, this might not be related to revChatGPT itself)
Same when using celery for async tasks. It works fine on python script or shell but not working in the celery workers.
hey! I tried to make a web project where i made a function to communicate with chatgpt using a little function. If I run it as a python script then everything works fine. However if a write a function and call it from there it fails and I get the following error:
Spawning browser... 2023-01-04 20:45:51.598 patching driver executable /home/noneuronsnostress/.local/share/undetected_chromedriver/ad3dc0ba33b8ff01_chromedriver Browser spawned. 2023-01-04 20:45:53.536 Connection pool is full, discarding connection: localhost. Connection pool size: 1 Found Cloudflare Cookie! 2023-01-04 20:45:59.541 Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f828d7128c0>: Failed to establish a new connection: [Errno 111] Connection refused')': /session/82c6f38f6eb6f45379bbb34afc799853/se/log 2023-01-04 20:45:59.541 Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f828d713880>: Failed to establish a new connection: [Errno 111] Connection refused')': /session/82c6f38f6eb6f45379bbb34afc799853/se/log 2023-01-04 20:45:59.542 Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f828d711de0>: Failed to establish a new connection: [Errno 111] Connection refused')': /session/82c6f38f6eb6f45379bbb34afc799853/se/log
Python version: 3.10.6 and the script is in the newest version.