Skip to content
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

ISSUE #552

Open
1 of 4 tasks
HGkidudeski opened this issue May 22, 2023 · 1 comment
Open
1 of 4 tasks

ISSUE #552

HGkidudeski opened this issue May 22, 2023 · 1 comment

Comments

@HGkidudeski
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

I'm submitting a ...

Description

error :

Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 1348, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1282, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1328, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1277, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1037, in _send_output
self.send(msg)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 975, in send
self.connect()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1454, in connect
self.sock = self._context.wrap_socket(self.sock,
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 517, in wrap_socket
return self.sslsocket_class._create(
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 1075, in _create
self.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 1346, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/harpergalbreath/YouTube-Viewer/youtube_viewer.py", line 1003, in
osname, exe_name = download_driver(patched_drivers=patched_drivers)
File "/Users/harpergalbreath/YouTube-Viewer/youtubeviewer/download_driver.py", line 112, in download_driver
uc.install()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/undetected_chromedriver/_compat.py", line 262, in install
ChromeDriverManager(executable_path, target_version, *args, **kwargs).install()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/undetected_chromedriver/_compat.py", line 192, in install
self.fetch_chromedriver()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/undetected_chromedriver/_compat.py", line 221, in fetch_chromedriver
ver = self.get_release_version_number().vstring
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/undetected_chromedriver/_compat.py", line 211, in get_release_version_number
return LooseVersion(urlopen(self.class.DL_BASE + path).read().decode())
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 519, in open
response = self._open(req, data)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 536, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 1391, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 1351, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)>

Environment

- OS : mac
- Python : 3.11
- Script version : 113.0.5672.126

config.json

{
    "http_api": {
        "enabled": false,
        "host": "0.0.0.0",
        "port": 5000
    },
    "database": true,
    "views": 300,
    "minimum": 85.0,
    "maximum": 95.0,
    "proxy": {
        "category": "f",
        "proxy_type": false,
        "filename": "socks5_proxies.txt",
        "authentication": false,
        "proxy_api": false,
        "refresh": 0.0
    },
    "background": false,
    "bandwidth": false,
    "playback_speed": 1,
    "max_threads": 5,
    "min_threads": 2
}
@martisti
Copy link

martisti commented May 30, 2023

EDIT: I found a solution. RUN /Applications/Python\ 3.11/Install\ Certificates.command
"I have exact the same issue with Python 3.11 and Mac OS Ventura. I used 1.6.1 version with Mac OS Big Sur, but after upgrade I came with this issue. I hope to find some help. Thanks"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants