Plotly chartstudio 'PlotpyRequestError No message'

I’ve been using chartstudio to put my fig into my notion page with html link.

but, suddenly it doesn’t working with the error ‘PlotlyRequestError: No message’

plotly visualiztion has no problem, and my code doesn’t change either!
even I delete some files for checking my account free files limit.

I don’t know why. :frowning:

Me,too.
using oracle linux 8.7, with conda, seems ssl certificate expired,but don’t know how to solve the problem.

Traceback (most recent call last):
File “/home/opc/anaconda3/envs/py3913/lib/python3.9/site-packages/urllib3/connectionpool.py”, line 703, in urlopen
httplib_response = self._make_request(
File “/home/opc/anaconda3/envs/py3913/lib/python3.9/site-packages/urllib3/connectionpool.py”, line 386, in _make_request
self._validate_conn(conn)
File “/home/opc/anaconda3/envs/py3913/lib/python3.9/site-packages/urllib3/connectionpool.py”, line 1042, in validate_conn
conn.connect()
File “/home/opc/anaconda3/envs/py3913/lib/python3.9/site-packages/urllib3/connection.py”, line 414, in connect
self.sock = ssl_wrap_socket(
File "/home/opc/anaconda3/envs/py3913/lib/python3.9/site-packages/urllib3/util/ssl
.py", line 449, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(
File "/home/opc/anaconda3/envs/py3913/lib/python3.9/site-packages/urllib3/util/ssl
.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File “/home/opc/anaconda3/envs/py3913/lib/python3.9/ssl.py”, line 501, in wrap_socket
return self.sslsocket_class._create(
File “/home/opc/anaconda3/envs/py3913/lib/python3.9/ssl.py”, line 1041, in _create
self.do_handshake()
File “/home/opc/anaconda3/envs/py3913/lib/python3.9/ssl.py”, line 1310, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/home/opc/anaconda3/envs/py3913/lib/python3.9/site-packages/requests/adapters.py”, line 489, in send
resp = conn.urlopen(
File “/home/opc/anaconda3/envs/py3913/lib/python3.9/site-packages/urllib3/connectionpool.py”, line 787, in urlopen
retries = retries.increment(
File “/home/opc/anaconda3/envs/py3913/lib/python3.9/site-packages/urllib3/util/retry.py”, line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=‘api.plotly.com’, port=443): Max retries exceeded with url: /v2/grids (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)’)))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/home/opc/anaconda3/envs/py3913/lib/python3.9/site-packages/chart_studio/api/v2/utils.py”, line 172, in request
response = requests.request(method, url, **kwargs)
File “/home/opc/anaconda3/envs/py3913/lib/python3.9/site-packages/requests/api.py”, line 59, in request
return session.request(method=method, url=url, **kwargs)
File “/home/opc/anaconda3/envs/py3913/lib/python3.9/site-packages/requests/sessions.py”, line 587, in request
resp = self.send(prep, **send_kwargs)
File “/home/opc/anaconda3/envs/py3913/lib/python3.9/site-packages/requests/sessions.py”, line 701, in send
r = adapter.send(request, **kwargs)
File “/home/opc/anaconda3/envs/py3913/lib/python3.9/site-packages/requests/adapters.py”, line 563, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host=‘api.plotly.com’, port=443): Max retries exceeded with url: /v2/grids (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)’)))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/home/opc/django-ex/scripts/generateChart.py”, line 411, in
findlast2dayLastYear(sys.argv[1], sys.argv[2],
File “/home/opc/django-ex/scripts/generateChart.py”, line 157, in findlast2dayLastYear
myplotly(last_year, today, collection, title,
File “/home/opc/django-ex/scripts/generateChart.py”, line 288, in myplotly
url = py.plot(fig, filename=collection,
File “/home/opc/anaconda3/envs/py3913/lib/python3.9/site-packages/chart_studio/plotly/plotly.py”, line 276, in plot
grid_ops.upload(
File “/home/opc/anaconda3/envs/py3913/lib/python3.9/site-packages/chart_studio/plotly/plotly.py”, line 1087, in upload
file_info = _create_or_overwrite_grid(payload)
File “/home/opc/anaconda3/envs/py3913/lib/python3.9/site-packages/chart_studio/plotly/plotly.py”, line 1550, in _create_or_overwrite_grid
res = api_module.create(data)
File “/home/opc/anaconda3/envs/py3913/lib/python3.9/site-packages/chart_studio/api/v2/grids.py”, line 18, in create
return request(“post”, url, json=body)
File “/home/opc/anaconda3/envs/py3913/lib/python3.9/site-packages/retrying.py”, line 49, in wrapped_f
return Retrying(*dargs, **dkw).call(f, *args, **kw)
File “/home/opc/anaconda3/envs/py3913/lib/python3.9/site-packages/retrying.py”, line 206, in call
return attempt.get(self._wrap_exception)
File “/home/opc/anaconda3/envs/py3913/lib/python3.9/site-packages/retrying.py”, line 247, in get
six.reraise(self.value[0], self.value[1], self.value[2])
File “/home/opc/anaconda3/envs/py3913/lib/python3.9/site-packages/six.py”, line 719, in reraise
raise value
File “/home/opc/anaconda3/envs/py3913/lib/python3.9/site-packages/retrying.py”, line 200, in call
attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
File “/home/opc/anaconda3/envs/py3913/lib/python3.9/site-packages/chart_studio/api/v2/utils.py”, line 179, in request
raise exceptions.PlotlyRequestError(message, status_code, content)
chart_studio.exceptions.PlotlyRequestError: No message