It seems like this topic comes up periodically but not with a definitive answer. Launching jobs from the server returns the error
Error connecting to cryoSPARC license server. Checking local license file. <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)>Local license file is expired. Please re-establish your connection to the license servers.
We have gotten this periodically and have cleared it in the past by rebooting the server. Not an optimal solution. The master submits to a slurm cluster and generally performs well. Diagnostics are
$ cryosparcm status
CryoSPARC System master node installed at
/home/[redacted]/cryosparc_master
Current cryoSPARC version: v3.3.1+211214
CryoSPARC process status:
app RUNNING pid 2573, uptime 7 days, 1:01:24
app_dev STOPPED Not started
command_core RUNNING pid 2303, uptime 7 days, 1:01:58
command_rtp RUNNING pid 2497, uptime 7 days, 1:01:41
command_vis RUNNING pid 2478, uptime 7 days, 1:01:43
database RUNNING pid 2092, uptime 7 days, 1:02:04
liveapp STOPPED Not started
liveapp_dev STOPPED Not started
webapp RUNNING pid 2564, uptime 7 days, 1:01:25
webapp_dev STOPPED Not started
The general suggestion is to set CRYOSPARC_INSECURE to true. Are there any drawbacks to implementing this? We have several other cryoSPARC instances in the organization and this one is the only one experiencing the problem.
Welcome to the forum @doug-oneal-nih.
There are drawbacks to enabling CRYOSPARC_INSECURE.
You may want to rule out the possibility that SSL validation fails due to an aberrant system time on the computer in question. Does the date command show an unexpected system time/date?
If not, please can you share outputs of
cryosparcm log command_core
eval $(cryosparcm env) && env
Please remove confidential information before posting.
The system does have a reasonable date configured. I have also tested SSL connections to other servers and the certificate handshakes come back ok. System time isn’t an issue.
$ cryosparcm log command_core
[redacted]…
2022-01-26 14:51:42,367 COMMAND.DATA dump_job_database INFO | Writing 120 database images to [redacted]
2022-01-26 14:51:42,368 COMMAND.DATA dump_job_database INFO | Done. Exported 120 images in 0.16s
2022-01-26 14:51:42,368 COMMAND.DATA dump_job_database INFO | Exporting all job’s streamlog events…
2022-01-26 14:51:42,423 COMMAND.DATA dump_job_database INFO | Done. Exported 1 files in 0.06s
2022-01-26 14:51:42,423 COMMAND.DATA dump_job_database INFO | Exporting job metafile…
2022-01-26 14:51:42,425 COMMAND.DATA dump_job_database INFO | Creating .csg file for particles_all_classes
2022-01-26 14:51:42,433 COMMAND.DATA dump_job_database INFO | Creating .csg file for particles_class_0
2022-01-26 14:51:42,440 COMMAND.DATA dump_job_database INFO | Creating .csg file for volume_class_0
2022-01-26 14:51:42,453 COMMAND.DATA dump_job_database INFO | Done. Exported in 0.03s
2022-01-26 14:51:42,454 COMMAND.DATA dump_job_database INFO | Updating job manifest…
2022-01-26 14:51:42,461 COMMAND.DATA dump_job_database INFO | Done. Updated in 0.01s
2022-01-26 14:51:42,461 COMMAND.DATA dump_job_database INFO | Exported P24 J339 in 0.26s
2022-01-26 14:51:42,478 COMMAND.JOBS set_job_status INFO | Status changed for P24.J339 from running to completed
2022-01-26 14:51:42,482 COMMAND.CORE run WARNING | Insecure mode - no SSL for external requests
2022-01-26 14:53:47,320 COMMAND.DATA dump_job_database INFO | Request to export P43 J8
2022-01-26 14:53:47,325 COMMAND.DATA dump_job_database INFO | Exporting job to /mnt/beegfs/lea/ZorAB_susan/P43/J8
2022-01-26 14:53:47,327 COMMAND.DATA dump_job_database INFO | Exporting all of job’s images in the database to [redacted]…
2022-01-26 14:53:47,473 COMMAND.DATA dump_job_database INFO | Writing 102 database images to /mnt/beegfs/lea/ZorAB_susan/P43/J8/gridfs_data/gridfsdata_0
2022-01-26 14:53:47,473 COMMAND.DATA dump_job_database INFO | Done. Exported 102 images in 0.15s
2022-01-26 14:53:47,473 COMMAND.DATA dump_job_database INFO | Exporting all job’s streamlog events…
2022-01-26 14:53:47,844 COMMAND.DATA dump_job_database INFO | Done. Exported 1 files in 0.37s
2022-01-26 14:53:47,844 COMMAND.DATA dump_job_database INFO | Exporting job metafile…
2022-01-26 14:53:47,846 COMMAND.DATA dump_job_database INFO | Creating .csg file for exposures
2022-01-26 14:53:47,861 COMMAND.DATA dump_job_database INFO | Done. Exported in 0.02s
2022-01-26 14:53:47,861 COMMAND.DATA dump_job_database INFO | Updating job manifest…
2022-01-26 14:53:47,868 COMMAND.DATA dump_job_database INFO | Done. Updated in 0.01s
2022-01-26 14:53:47,868 COMMAND.DATA dump_job_database INFO | Exported P43 J8 in 0.55s
2022-01-26 14:53:47,898 COMMAND.JOBS set_job_status INFO | Status changed for P43.J8 from running to completed
2022-01-26 14:53:47,901 COMMAND.CORE run WARNING | Insecure mode - no SSL for external requests
Waiting for data… (interrupt to abort)
@doug-oneal-nih The output indicates that CRYOSPARC_INSECURE is currently set to true. Setting CRYOSPARC_INSECURE=false is needed for troubleshooting and also preferable for cryoSPARC operation. What’s the output of cryosparcm log command_core (for completeness redirected to a file) when cryoSPARC runs with CRYOSPARC_INSECURE=false? If you prefer, you may send me the output in a direct message.
I have updated the two packages and restarted the cryoSPARC daemons. The problem takes several days to manifest so I’ll post an update at the end of the week.