jjjchens235/leetcode-sql-unlocked

i am getting this error

Opened this issue · 0 comments

Traceback (most recent call last):
File "/usr/lib/python3.8/urllib/request.py", line 1350, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/lib/python3.8/http/client.py", line 1255, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output
self.send(msg)
File "/usr/lib/python3.8/http/client.py", line 950, in send
self.connect()
File "/usr/lib/python3.8/http/client.py", line 1424, in connect
self.sock = self._context.wrap_socket(self.sock,
File "/usr/lib/python3.8/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/usr/lib/python3.8/ssl.py", line 1040, in _create
self.do_handshake()
File "/usr/lib/python3.8/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL] internal error (_ssl.c:1123)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "leetcode_sql_unlocked.py", line 77, in
main()
File "leetcode_sql_unlocked.py", line 53, in main
lc = get_leetcode()
File "leetcode_sql_unlocked.py", line 49, in get_leetcode
lc = Leetcode(driver_path, q_elements_path, q_state_path, q_public_urls_path, headless=headless)
File "/home/omar/Downloads/dgf/leetcode-sql-unlocked/leetcode_sql_unlocked/src/leetcode.py", line 23, in init
self.web_handler = WebHandler(self.driver_path, headless)
File "/home/omar/Downloads/dgf/leetcode-sql-unlocked/leetcode_sql_unlocked/src/web_handler.py", line 30, in init
self.driver = Driver.get_driver(driver_path, headless=headless)
File "/home/omar/Downloads/dgf/leetcode-sql-unlocked/leetcode_sql_unlocked/src/driver.py", line 76, in get_driver
Driver.__download_driver(path, system)
File "/home/omar/Downloads/dgf/leetcode-sql-unlocked/leetcode_sql_unlocked/src/driver.py", line 29, in __download_driver
response = urlopen("https://sites.google.com/a/chromium.org/chromedriver/downloads", context=ssl.SSLContext(ssl.PROTOCOL_TLSv1)).read()
File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/usr/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/lib/python3.8/urllib/request.py", line 1393, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/usr/lib/python3.8/urllib/request.py", line 1353, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL] internal error (_ssl.c:1123)>