-
Notifications
You must be signed in to change notification settings - Fork 3
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
Proxy error #8
Comments
socks5 ? |
Please @kaliiiiiiiiii what could be the cause of the error?, so we know how to avoid it. , sometimes i experience it, proxy is not socks5. Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Administrator\Downloads\project_bot\main.py", line 561, in manual_organic_search
driver = Chrome(profile, options=options,
File "C:\Users\Administrator\PycharmProjects\pythonProject\.venv\lib\site-packages\selenium_profiles\webdriver.py", line 182, in __init__
self.profiles.proxy.set_single(proxy["proxy"], bypass_list=proxy["bypass_list"])
File "C:\Users\Administrator\PycharmProjects\pythonProject\.venv\lib\site-packages\selenium_profiles\scripts\proxy.py", line 63, in set_single
self._injector.proxy.set_single(**proxy)
File "C:\Users\Administrator\PycharmProjects\pythonProject\.venv\lib\site-packages\selenium_injector\scripts\injector.py", line 241, in set_single
if self.auth:
File "C:\Users\Administrator\PycharmProjects\pythonProject\.venv\lib\site-packages\selenium_injector\scripts\injector.py", line 221, in auth
return self.socket.exec(self.socket.js.types.path("proxy.credentials"),
File "C:\Users\Administrator\PycharmProjects\pythonProject\.venv\lib\site-packages\selenium_injector\scripts\socket.py", line 27, in exec
result = self.post(json.dumps(script), user=user, timeout=timeout, start_time=start_time, interval=interval)
File "C:\Users\Administrator\PycharmProjects\pythonProject\.venv\lib\site-packages\selenium_injector\scripts\sync_websocket.py", line 109, in post
self.send(message=parsed, user=user, timeout=timeout, start_time=start_time, interval=interval)
File "C:\Users\Administrator\PycharmProjects\pythonProject\.venv\lib\site-packages\selenium_injector\scripts\sync_websocket.py", line 96, in send
user = self.wait_user(user, timeout=timeout, interval=interval, start_time=start_time)
File "C:\Users\Administrator\PycharmProjects\pythonProject\.venv\lib\site-packages\selenium_injector\scripts\sync_websocket.py", line 144, in wait_user
raise TimeoutError("User not connected")
TimeoutError: User not connected ``` |
could indicate that the chrome-extension has not been loaded in correctly. Could you check that? |
What extension do you mean? |
Well it should automatically load in a chrome-extension => check that |
It only loads this chrome://version/ and stops there |
Load in the browser, not as a page lol |
Sorry i don't understand what you meant "Well it should automatically load in a chrome-extension => check that", How do i check it? |
This mostly happens when you run it in multiple threads |
Check if a chrome extension is installed on headfull |
Yea, there's Selenium-injector extensions installed |
mhh could be some racing condition then - not absolutely sure. |
From the Traceback report i think it's being caused by Selenium-injector. Is there anyway to emulate screen sizes and useragents in selenium driverless?. |
Yes - but it's detectable anyways |
Describe the bug
Locally on macbook the script runs well, but when I try to run it on a server, it fails with a "User not connected" error.
To Reproduce
Expected behavior or error-message
Same behavior as on a local machine. Basically the code fails in selenium-injector when checking for the "current auth" state.
Environment (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: