Hi all,
I am a new cryoSPARC user. We recently installed cryoSPARC v3.2.2 in the master node. When doing Movies Import I got an error response
“Error connecting to cryoSPARC license server. Checking local license file. Could not find local license file. Please re-establish your connection to the license servers.”
I checked “cryosparcm status” and found a warning that my active license could not be verified because the connection failure to license server.
When I do “curl https://get.cryosparc.com” I got a response that said “curl: (28) Failed to connect to get.cryosparc.com port 443 after 278754 ms: Connection timed out”.
Appreciate any help. Thanks
Zhenhua
Welcome to the forum @zhenhua .
Firewall or proxy settings on the master computer or on the network may prevent the connection.
What happens when you type:
-
curl https://get.cryosparc.com
-
curl get.cryosparc.com
on the command line?
Hi wtempel,@wtempel
-
curl https://get.cryosparc.com
“curl: (28) Failed to connect to get.cryosparc.com port 443 after 278805 ms: Connection timed out”
-
curl get.cryosparc.com
“curl: (28) Failed to connect to get.cryosparc.com port 80 after 278673 ms: Connection timed out”
Could you give me some specific suggestions on firewall or proxy settings? Thank you
Best regards,
Zhenhua
Do you have any indication that this computer allows outgoing connections to the internet, like browsing web pages hosted outside your organization?
Can you contact your local IT support for help?
Hi wtempel,
This node could not allow outgoing connections! I will contact my local IT. Thank you!
Hi all, in my case, the command “module load httpproxy” should be used before starting up cryoSPARC. License server connection failure is fixed when the needed ports are opened. Many thanks to @wtempel
1 Like
Hi , it seems after update from 4.0.3 to 4.1.x the application handles license server differently and getting this error:
✕ Connection to license server FAILED
While verifying the license, CryoSPARC encountered HTTPSConnectionPool(host=‘get.cryosparc.com’, port=443): Max retries exceeded with url: /checklicenseexists/{LICENSE_ID} (Caused by SSLError(SSLError(1, ‘[SSL: UNSAFE_LEGACY_RENEGOTIATION_DISABLED] unsafe legacy renegotiation disabled (_ssl.c:1131)’)))
even when setting
export CRYOSPARC_INSECURE=true the issue remained.
Our company firewall has strict policy enabling only https instead of ssl calls by default.
Is there some configuration which can help?
[ec2-user@ip-cryosparc]$ curl https://get.cryosparc.com
{“message”:“Missing Authentication Token”}
[ec2-user@ip-cryosparc]$curl get.cryosparc.com
curl: (56) Recv failure: Connection reset by peer
Thanks and regards
Matus
@matus_m Please can you try
cryosparcm call conda install -c conda-forge openssl=1
cryosparcm restart
Does this fix the problem?
1 Like
Hi , thank you for the response and sorry for the delay, got to it just now.
Actually it seems the conda command cannot be successfully executed.
Should this be resolved in 4.2.1?
Please can you post the command and the error message?
[ec2-user@headnode] $ cryosparcm call conda install -c conda-forge openssl=1
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package → Available versions
Package openssl conflicts for:
python==3.8.15=h4a9ceb5_0_cpython → openssl[version=‘>=3.0.7,<4.0a0’]
openssl=1The following specifications were found to be incompatible with your system:
- feature:/linux-64::__glibc==2.26=0
- feature:|@/linux-64::__glibc==2.26=0
Your installed version is: 2.26
Please can you try if this modified command works:
cryosparcm call conda install -c conda-forge python=3.8.14 openssl=1
1 Like
Thank you very much, the command was successful and it resovled the issue with the connection to license server.