Yesterday, our CryoSPARC server started showing this error:
While verifying the license, CryoSPARC encountered HTTPSConnectionPool(host=‘get.cryosparc.com’, port=443): Max retries exceeded with url: /checklicenseexists/[license key removed] (Caused by SSLError(SSLError(1, ‘[SSL: UNSAFE_LEGACY_RENEGOTIATION_DISABLED] unsafe legacy renegotiation disabled (_ssl.c:1131)’)))
I did some research and found other CryoSPARC customers that had encountered the same error so I tried commands suggested by CryoSPARC support and got these responses:
I’m able to curl other HTTP and HTTPS sites from the machine, so everything seems OK with the machine’s ability to access the internet and, specifically, the CryoSPARC licensing servers.
I’ve stopped and started the CryoSPARC services and rebooted the server but nothing has resolved the issue.
When I ran cryosparcm status, I got this response:
While verifying the license, CryoSPARC encountered HTTPSConnectionPool(host=‘get.cryosparc.com’, port=443): Max retries exceeded with url: /checklicenseexists/[license key removed] (Caused by SSLError(SSLError(1, ‘[SSL: UNSAFE_LEGACY_RENEGOTIATION_DISABLED] unsafe legacy renegotiation disabled (_ssl.c:1131)’)))
✓ CryoSPARC is running v4.2.1+230427
…
“/opt/cryosparc3/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.8/runpy.py”, line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File “/opt/cryosparc3/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.8/runpy.py”, line 87, in _run_code
exec(code, run_globals)
File “/opt/cryosparc3/cryosparc_master/cryosparc_command/instance_tests/installation_test.py”, line 88, in
run_cryosparc_installation_tests()
File “/opt/cryosparc3/cryosparc_master/cryosparc_command/instance_tests/installation_test.py”, line 48, in run_cryosparc_installation_tests
if core.update_required(current_version):
File “cryosparc_master/cryosparc_command/core.py”, line 202, in core.update_required
File “/opt/cryosparc3/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.8/site-packages/semver.py”, line 159, in wrapper
return func(*args, **kwargs)
File “/opt/cryosparc3/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.8/site-packages/semver.py”, line 856, in compare
v1 = VersionInfo.parse(ver1)
File “/opt/cryosparc3/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.8/site-packages/semver.py”, line 726, in parse
raise ValueError(“%s is not valid SemVer string” % version)
ValueError: is not valid SemVer string
Additionally, running the curl command to check license status from the command line referenced in your troubleshooting guide indicates that the license is valid.
Also similar to the license verification, I was able to run curl https://conda.anaconda.org/conda-forge/linux-64/current_repodata.json at the command line and download the current_repodata.json file.
This issue was ultimately caused by Python not being able to access the correct certificates to make outbound HTTPS connections. We’ve resolved it and the server is back online. Please close this ticket.