You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem in Windows:
Certificate owner "Selenium Wire CA"
I have got an error "Invalid root certificates" in selenium wired mode. Problem with root certificates in browser, only in wired mode. I can't switch it on
from seleniumwire import undetected_chromedriver as uc
Same code. Problem in Linux:
/usr/bin/python3.10 /snap/pycharm-professional/295/plugins/python/helpers/pydev/pydevd.py --multiprocess --qt-support=auto --client 127.0.0.1 --port 41309 --file /home/aleksey/PycharmProjects/pythonProject/main.py
Connected to pydev debugger (build 221.6008.17)
Traceback (most recent call last):
File "/snap/pycharm-professional/295/plugins/python/helpers/pydev/pydevd.py", line 1491, in _exec
pydev_imports.execfile(file, globals, locals) # execute the script
File "/snap/pycharm-professional/295/plugins/python/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/home/aleksey/PycharmProjects/pythonProject/main.py", line 44, in
driver = uc.Chrome(version_main=114, options=options,
File "/home/aleksey/.local/lib/python3.10/site-packages/seleniumwire/undetected_chromedriver/webdriver.py", line 32, in init
config = self._setup_backend(seleniumwire_options)
File "/home/aleksey/.local/lib/python3.10/site-packages/seleniumwire/webdriver.py", line 41, in _setup_backend
self.backend = backend.create(
File "/home/aleksey/.local/lib/python3.10/site-packages/seleniumwire/backend.py", line 24, in create
backend = MitmProxy(addr, port, options)
File "/home/aleksey/.local/lib/python3.10/site-packages/seleniumwire/server.py", line 61, in init
self.master.server = ProxyServer(ProxyConfig(mitmproxy_opts))
File "/home/aleksey/.local/lib/python3.10/site-packages/seleniumwire/thirdparty/mitmproxy/server/config.py", line 40, in init
self.configure(options, set(options.keys()))
File "/home/aleksey/.local/lib/python3.10/site-packages/seleniumwire/thirdparty/mitmproxy/server/config.py", line 65, in configure
self.certstore = certs.CertStore.from_store(
File "/home/aleksey/.local/lib/python3.10/site-packages/seleniumwire/thirdparty/mitmproxy/certs.py", line 209, in from_store
key = OpenSSL.crypto.load_privatekey(
File "/home/aleksey/.local/lib/python3.10/site-packages/OpenSSL/crypto.py", line 2763, in load_privatekey
_raise_current_error()
File "/home/aleksey/.local/lib/python3.10/site-packages/OpenSSL/_util.py", line 57, in exception_from_error_queue
raise exception_type(errors)
OpenSSL.crypto.Error: [('DECODER routines', '', 'unsupported')]
python-BaseException
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Problem in Windows:
Certificate owner "Selenium Wire CA"
I have got an error "Invalid root certificates" in selenium wired mode. Problem with root certificates in browser, only in wired mode. I can't switch it on
from seleniumwire import undetected_chromedriver as uc
Same code. Problem in Linux:
/usr/bin/python3.10 /snap/pycharm-professional/295/plugins/python/helpers/pydev/pydevd.py --multiprocess --qt-support=auto --client 127.0.0.1 --port 41309 --file /home/aleksey/PycharmProjects/pythonProject/main.py
Connected to pydev debugger (build 221.6008.17)
Traceback (most recent call last):
File "/snap/pycharm-professional/295/plugins/python/helpers/pydev/pydevd.py", line 1491, in _exec
pydev_imports.execfile(file, globals, locals) # execute the script
File "/snap/pycharm-professional/295/plugins/python/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/home/aleksey/PycharmProjects/pythonProject/main.py", line 44, in
driver = uc.Chrome(version_main=114, options=options,
File "/home/aleksey/.local/lib/python3.10/site-packages/seleniumwire/undetected_chromedriver/webdriver.py", line 32, in init
config = self._setup_backend(seleniumwire_options)
File "/home/aleksey/.local/lib/python3.10/site-packages/seleniumwire/webdriver.py", line 41, in _setup_backend
self.backend = backend.create(
File "/home/aleksey/.local/lib/python3.10/site-packages/seleniumwire/backend.py", line 24, in create
backend = MitmProxy(addr, port, options)
File "/home/aleksey/.local/lib/python3.10/site-packages/seleniumwire/server.py", line 61, in init
self.master.server = ProxyServer(ProxyConfig(mitmproxy_opts))
File "/home/aleksey/.local/lib/python3.10/site-packages/seleniumwire/thirdparty/mitmproxy/server/config.py", line 40, in init
self.configure(options, set(options.keys()))
File "/home/aleksey/.local/lib/python3.10/site-packages/seleniumwire/thirdparty/mitmproxy/server/config.py", line 65, in configure
self.certstore = certs.CertStore.from_store(
File "/home/aleksey/.local/lib/python3.10/site-packages/seleniumwire/thirdparty/mitmproxy/certs.py", line 209, in from_store
key = OpenSSL.crypto.load_privatekey(
File "/home/aleksey/.local/lib/python3.10/site-packages/OpenSSL/crypto.py", line 2763, in load_privatekey
_raise_current_error()
File "/home/aleksey/.local/lib/python3.10/site-packages/OpenSSL/_util.py", line 57, in exception_from_error_queue
raise exception_type(errors)
OpenSSL.crypto.Error: [('DECODER routines', '', 'unsupported')]
python-BaseException
Beta Was this translation helpful? Give feedback.
All reactions