@phillxnet @sanviler today I’ve been encountering the above error on both a Leap 16.0 as well as a TW VM. Both are running Rockstor version 5.5.3-0. I am getting the error message right of the bat, referencing root.json though:
Traceback (most recent call last):
File "/opt/rockstor/.venv/lib/python3.13/site-packages/urllib3/connectionpool.py", line 464, in _make_request
self._validate_conn(conn)
~~~~~~~~~~~~~~~~~~~^^^^^^
File "/opt/rockstor/.venv/lib/python3.13/site-packages/urllib3/connectionpool.py", line 1093, in _validate_conn
conn.connect()
~~~~~~~~~~~~^^
File "/opt/rockstor/.venv/lib/python3.13/site-packages/urllib3/connection.py", line 796, in connect
sock_and_verified = _ssl_wrap_socket_and_match_hostname(
sock=sock,
...<14 lines>...
assert_fingerprint=self.assert_fingerprint,
)
File "/opt/rockstor/.venv/lib/python3.13/site-packages/urllib3/connection.py", line 928, in _ssl_wrap_socket_and_match_hostname
context = create_urllib3_context(
ssl_version=resolve_ssl_version(ssl_version),
...<2 lines>...
cert_reqs=resolve_cert_reqs(cert_reqs),
)
File "/opt/rockstor/.venv/lib/python3.13/site-packages/urllib3/util/ssl_.py", line 298, in create_urllib3_context
context = SSLContext(PROTOCOL_TLS_CLIENT)
File "/root/.local/share/pypoetry/python/cpython@3.13.11/lib/python3.13/ssl.py", line 438, in __new__
self = _SSLContext.__new__(cls, protocol)
ssl.SSLError: unknown error (_ssl.c:3135)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/rockstor/.venv/lib/python3.13/site-packages/urllib3/connectionpool.py", line 787, in urlopen
response = self._make_request(
conn,
...<10 lines>...
**response_kw,
)
File "/opt/rockstor/.venv/lib/python3.13/site-packages/urllib3/connectionpool.py", line 488, in _make_request
raise new_e
urllib3.exceptions.SSLError: unknown error (_ssl.c:3135)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/rockstor/.venv/lib/python3.13/site-packages/requests/adapters.py", line 645, in send
resp = conn.urlopen(
method=request.method,
...<9 lines>...
chunked=chunked,
)
File "/opt/rockstor/.venv/lib/python3.13/site-packages/urllib3/connectionpool.py", line 841, in urlopen
retries = retries.increment(
method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]
)
File "/opt/rockstor/.venv/lib/python3.13/site-packages/urllib3/util/retry.py", line 535, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='rockstor.com', port=443): Max retries exceeded with url: /rockons/root.json (Caused by SSLError(SSLError(0, 'unknown error (_ssl.c:3135)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py", line 40, in _handle_exception
yield
File "/opt/rockstor/src/rockstor/storageadmin/views/rockon.py", line 490, in _get_available
response = requests.get(remote_root, timeout=5)
File "/opt/rockstor/.venv/lib/python3.13/site-packages/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
File "/opt/rockstor/.venv/lib/python3.13/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/rockstor/.venv/lib/python3.13/site-packages/requests/sessions.py", line 592, in request
resp = self.send(prep, **send_kwargs)
File "/opt/rockstor/.venv/lib/python3.13/site-packages/requests/sessions.py", line 706, in send
r = adapter.send(request, **kwargs)
File "/opt/rockstor/.venv/lib/python3.13/site-packages/requests/adapters.py", line 676, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='rockstor.com', port=443): Max retries exceeded with url: /rockons/root.json (Caused by SSLError(SSLError(0, 'unknown error (_ssl.c:3135)')))
In both case this was a fresh enough install where the Rockons had never been loaded before.
However, on both of them it started working about 5 minutes after my first attempts. in both cases I was also able to use curl to get to the https://rockstor.com/rockons/root.json
Not sure whether this was then truly the network target blocking a connection attempt, or whether this is e.g. related to the zypper checks for new packages/history and updates that could cause something like that?