SSL Error #21
Unanswered
CABBONE-CHEN
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Do you have proxy enabled in your system? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all! Firstly Thanks for the great tool, it would really save tons of time! However, Can any help up understand this issue? I have tried several times, re log in to get several tokens but still the same :( Thanks a lot in advance!
csv2notion --token TOKEN input.csv
INFO: Validating CSV & Notion DB schema
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))': /api/v3/loadUserContent
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))': /api/v3/loadUserContent
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))': /api/v3/loadUserContent
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))': /api/v3/loadUserContent
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))': /api/v3/loadUserContent
Traceback (most recent call last):
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 696, in urlopen
self._prepare_proxy(conn)
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 964, in _prepare_proxy conn.connect()
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connection.py", line 364, in connect
conn = self._connect_tls_proxy(hostname, conn)
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connection.py", line 501, in connect_tls_proxy socket = ssl_wrap_socket(
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\util\ssl.py", line 453, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(sock, context, tls_in_tls)
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\util\ssl.py", line 495, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock)
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\ssl.py", line 1040, in _create
self.do_handshake()
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1129)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\adapters.py", line 489, in send
resp = conn.urlopen(
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 783, in urlopen
return self.urlopen(
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 783, in urlopen
return self.urlopen(
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 783, in urlopen
return self.urlopen(
[Previous line repeated 2 more times]
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\util\retry.py", line 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.notion.so', port=443): Max retries exceeded with url: /api/v3/loadUserContent (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\Scripts\csv2notion.exe_main.py", line 7, in
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\csv2notion\cli.py", line 82, in main
cli(*sys.argv[1:])
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\csv2notion\cli.py", line 31, in cli
client = get_notion_client(
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\csv2notion\notion_db.py", line 204, in get_notion_client
client = NotionClientExtended(token_v2=token)
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\csv2notion\notion_db_client.py", line 23, in init
super().init(*args, **kwargs)
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\notion\client.py", line 113, in init
self._update_user_info()
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\notion\client.py", line 144, in _update_user_info
records = self.post("loadUserContent", {}).json()["recordMap"]
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\ratelimit\decorators.py", line 113, in wrapper
return func(*args, **kargs)
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\ratelimit\decorators.py", line 80, in wrapper
return func(*args, **kargs)
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\notion\client.py", line 275, in post
return self._post(endpoint, data)
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\notion\client.py", line 283, in _post
response = self.session.post(url, json=data)
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\sessions.py", line 635, in post
return self.request("POST", url, data=data, json=json, **kwargs)
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "C:\Users\HUAWEI\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\adapters.py", line 563, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='www.notion.so', port=443): Max retries exceeded with url: /api/v3/loadUserContent (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))
Beta Was this translation helpful? Give feedback.
All reactions