New install: Error connecting to cryoSPARC license server

open

#1
[root@localhost cryosparc]# cryosparcm status

CryoSPARC System master node installed at
/home/software/cryosparc/cryosparc2_master
Current cryoSPARC version: v2.12.4
----------------------------------------------------------------------------

cryosparcm process status:

app                              STOPPED   Not started
app_dev                          STOPPED   Not started
command_core                     RUNNING   pid 11395, uptime 1:09:10
command_proxy                    RUNNING   pid 11422, uptime 1:09:07
command_rtp                      STOPPED   Not started
command_vis                      RUNNING   pid 20945, uptime 0:00:02
database                         RUNNING   pid 11311, uptime 1:09:12
watchdog_dev                     STOPPED   Not started
webapp                           RUNNING   pid 11426, uptime 1:09:04
webapp_dev                       STOPPED   Not started

----------------------------------------------------------------------------

global config variables:

export CRYOSPARC_LICENSE_ID="xxxxxxxx"
export CRYOSPARC_MASTER_HOSTNAME="localhost"
export CRYOSPARC_DB_PATH="/home/software/cryosparc/cryosparc2_database"
export CRYOSPARC_BASE_PORT=39000
export CRYOSPARC_DEVELOP=false
export CRYOSPARC_INSECURE=false

[root@localhost cryosparc]# cat cryosparc2_worker/config.sh

export CRYOSPARC_LICENSE_ID="xxxxxxxx"
export CRYOSPARC_USE_GPU=true
export CRYOSPARC_CUDA_PATH="/usr/local/cuda"
export CRYOSPARC_DEVELOP=false

OS:
CentOS Linux release 8.0.1905 (Core) 
NAME="CentOS Linux"
VERSION="8 (Core)"

Issue
I did a new install and followed the tutorial for T20s. I keep getting the following error.

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.

Running job on master node

Project P1 Job J12 Started

Master running v2.12.4, worker running v2.12.4
Traceback (most recent call last):
  File "cryosparc2_master/cryosparc2_compute/run.py", line 48, in cryosparc2_compute.run.main
  File "cryosparc2_master/cryosparc2_compute/run.py", line 25, in cryosparc2_compute.run.main.check
ValueError: invalid literal for long() with base 10: 'False'

#2

Hi @sachint,

Can you ensure you have internet access on this machine?


#3

Yes, I am connected to the internet.

[root@localhost Disk3]# ping activate.cryosparc.com
PING activate.cryosparc.com (13.35.78.73) 56(84) bytes of data.
64 bytes from server-13-35-78-73.bos50.r.cloudfront.net (13.35.78.73): icmp_seq=1 ttl=246 time=7.06 ms
64 bytes from server-13-35-78-73.bos50.r.cloudfront.net (13.35.78.73): icmp_seq=2 ttl=246 time=4.05 ms
64 bytes from server-13-35-78-73.bos50.r.cloudfront.net (13.35.78.73): icmp_seq=3 ttl=246 time=2.98 ms

I did a fresh install but still get the same error.

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.


#4

Hi @sachint,

Are you running cryoSPARC behind an institution firewall? Sometimes these firewalls block HTTPS (encrypted) requested. To confirm, can you try:

curl https://get.cryosparc.com

You should see
{"message":"Missing Authentication Token"}

Any other response will mean that something is wrong, and you should see that there is an error, likely something to do with SSL.

You can work around this by adding the following line to your config.sh in the cryosparc2_master installation directory:
export CRYOSPARC_INSECURE=true

Let us know if that works.