Blank page after opening the 39000 website-cryosparc V2

Hi,

I followed the instruction on your website and install cryosparc v2 for Single workstation. The installation went well and I have connected ‘master’ and ‘worker’ using the command below:

bin/cryosparcw connect --worker xxxxx --master xxxxx --ssdpath xxxxxxx

I use cuda8.0 and centos 6 for installation.There are no error messages during the installation process. However, I only get a white blank page after I open the website “http://xxxxxx:39000/”. The setting of iptables is ok for port 39000-39010. Here is the information after I type “cryosparcm status”


CryoSPARC System master node installed at
/home/btz/software/cryosparc2_master
Current cryoSPARC version: v2.0.27-release

cryosparcm process status:

command_core RUNNING pid 19116, uptime 0:04:00
command_proxy RUNNING pid 19171, uptime 0:03:56
command_vis RUNNING pid 19144, uptime 0:03:58
database RUNNING pid 19020, uptime 0:04:02
watchdog_dev STOPPED Not started
webapp RUNNING pid 19194, uptime 0:03:54
webapp_dev STOPPED Not started


global config variables:

export CRYOSPARC_LICENSE_ID=“xxxxxxxxxx”
export CRYOSPARC_MASTER_HOSTNAME=“xxxxxxxxx”
export CRYOSPARC_DB_PATH="/data/cryosparc_v2"
export CRYOSPARC_BASE_PORT=39000
export CRYOSPARC_DEVELOP=false
export CRYOSPARC_INSECURE=true

Thanks for the help!

Best
BTZ

Hi @Btz, can you do

cryosparcm log webapp

and paste the output here?

Thanks for the reply! Here is the output for “cryosparcm log webapp”

cryoSPARC v2
Ready to serve GridFS
cryoSPARC v2
Ready to serve GridFS
cryoSPARC v2
Ready to serve GridFS
cryoSPARC v2
Ready to serve GridFS
cryoSPARC v2
Ready to serve GridFS
cryoSPARC v2
Ready to serve GridFS
cryoSPARC v2
Ready to serve GridFS

Best
Btz

Hi @btz,

That output indicates the webapp is operational. What operating system are you using, and do you have any firewalls enabled?

Thanks,

I am using centos 6.8. I have tried latest version of firefox and chrome. I also tried to shut down the iptables. None of these works.

Thanks!

Best
Btz

I meet the same problem with centos7. I can use cryosparc v1 at the same computer.

Did you solve this problem?

Same problem on Ubuntu 16.04 (CUDA 8.0). But in my case “cryosparcm log webapp” produces the following output:

Exception from sub switcher.job id BKvWYwdopkf55pE2C TypeError: Cannot read property ‘name’ of null
at get_project_query (imports/api/Jobs/server/publications.js:8:60)
at get_allowed_projects (imports/api/Jobs/server/publications.js:15:24)
at Subscription.Meteor.publish [as _handler] (imports/api/Jobs/server/publications.js:59:7)
at currentArgumentChecker.withValue (packages/check/match.js:118:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Object._failIfArgumentsAreNotAllChecked (packages/check/match.js:116:43)
at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1765:18)
at DDP._CurrentPublicationInvocation.withValue (packages/ddp-server/livedata_server.js:1043:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Subscription._runHandler (packages/ddp-server/livedata_server.js:1041:51)
at Session._startSubscription (packages/ddp-server/livedata_server.js:859:9)
at Session.sub (packages/ddp-server/livedata_server.js:625:12)
at packages/ddp-server/livedata_server.js:559:43
Exception from sub projects.recent id 3R6HzNxesoaFSwDgT TypeError: Cannot read property ‘name’ of null
at get_project_query (imports/api/Projects/server/publications.js:9:60)
at Subscription.Meteor.publish.list [as _handler] (imports/api/Projects/server/publications.js:62:15)
at currentArgumentChecker.withValue (packages/check/match.js:118:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Object._failIfArgumentsAreNotAllChecked (packages/check/match.js:116:43)
at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1765:18)
at DDP._CurrentPublicationInvocation.withValue (packages/ddp-server/livedata_server.js:1043:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Subscription._runHandler (packages/ddp-server/livedata_server.js:1041:51)
at Session._startSubscription (packages/ddp-server/livedata_server.js:859:9)
at Session.sub (packages/ddp-server/livedata_server.js:625:12)
at packages/ddp-server/livedata_server.js:559:43
Exception from sub user.state id sBgugH4ExymPeLJKW TypeError: this.ready is not a function
at Subscription.Meteor.publish [as _handler] (imports/api/Users/server/publications.js:34:15)
at currentArgumentChecker.withValue (packages/check/match.js:118:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Object._failIfArgumentsAreNotAllChecked (packages/check/match.js:116:43)
at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1765:18)
at DDP._CurrentPublicationInvocation.withValue (packages/ddp-server/livedata_server.js:1043:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Subscription._runHandler (packages/ddp-server/livedata_server.js:1041:51)
at Session._startSubscription (packages/ddp-server/livedata_server.js:859:9)
at Session.sub (packages/ddp-server/livedata_server.js:625:12)
at packages/ddp-server/livedata_server.js:559:43
Exception from sub user.state id wW6NkQPRCmStQcB2o TypeError: this.ready is not a function
at Subscription.Meteor.publish [as _handler] (imports/api/Users/server/publications.js:34:15)
at currentArgumentChecker.withValue (packages/check/match.js:118:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Object._failIfArgumentsAreNotAllChecked (packages/check/match.js:116:43)
at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1765:18)
at DDP._CurrentPublicationInvocation.withValue (packages/ddp-server/livedata_server.js:1043:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Subscription._runHandler (packages/ddp-server/livedata_server.js:1041:51)
at Session._startSubscription (packages/ddp-server/livedata_server.js:859:9)
at Session.sub (packages/ddp-server/livedata_server.js:625:12)
at packages/ddp-server/livedata_server.js:559:43
Exception from sub user.state id TQRNcvRjcmt4anfco TypeError: this.ready is not a function
at Subscription.Meteor.publish [as _handler] (imports/api/Users/server/publications.js:34:15)
at currentArgumentChecker.withValue (packages/check/match.js:118:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Object._failIfArgumentsAreNotAllChecked (packages/check/match.js:116:43)
at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1765:18)
at DDP._CurrentPublicationInvocation.withValue (packages/ddp-server/livedata_server.js:1043:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Subscription._runHandler (packages/ddp-server/livedata_server.js:1041:51)
at Session._startSubscription (packages/ddp-server/livedata_server.js:859:9)
at Session.sub (packages/ddp-server/livedata_server.js:625:12)
at packages/ddp-server/livedata_server.js:559:43
Exception from sub user.state id okZot2ipJfjtK3qJz TypeError: this.ready is not a function
at Subscription.Meteor.publish [as _handler] (imports/api/Users/server/publications.js:34:15)
at currentArgumentChecker.withValue (packages/check/match.js:118:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Object._failIfArgumentsAreNotAllChecked (packages/check/match.js:116:43)
at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1765:18)
at DDP._CurrentPublicationInvocation.withValue (packages/ddp-server/livedata_server.js:1043:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Subscription._runHandler (packages/ddp-server/livedata_server.js:1041:51)
at Session._startSubscription (packages/ddp-server/livedata_server.js:859:9)
at Session.sub (packages/ddp-server/livedata_server.js:625:12)
at packages/ddp-server/livedata_server.js:559:43
Exception from sub user.state id ffik39fyWTqFonpWR TypeError: this.ready is not a function
at Subscription.Meteor.publish [as _handler] (imports/api/Users/server/publications.js:34:15)
at currentArgumentChecker.withValue (packages/check/match.js:118:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Object._failIfArgumentsAreNotAllChecked (packages/check/match.js:116:43)
at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1765:18)
at DDP._CurrentPublicationInvocation.withValue (packages/ddp-server/livedata_server.js:1043:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Subscription._runHandler (packages/ddp-server/livedata_server.js:1041:51)
at Session._startSubscription (packages/ddp-server/livedata_server.js:859:9)
at Session.sub (packages/ddp-server/livedata_server.js:625:12)
at packages/ddp-server/livedata_server.js:559:43
Exception from sub user.state id AaMmfKkQpuqMHeWxa TypeError: this.ready is not a function
at Subscription.Meteor.publish [as _handler] (imports/api/Users/server/publications.js:34:15)
at currentArgumentChecker.withValue (packages/check/match.js:118:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Object._failIfArgumentsAreNotAllChecked (packages/check/match.js:116:43)
at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1765:18)
at DDP._CurrentPublicationInvocation.withValue (packages/ddp-server/livedata_server.js:1043:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Subscription._runHandler (packages/ddp-server/livedata_server.js:1041:51)
at Session._startSubscription (packages/ddp-server/livedata_server.js:859:9)
at Session.sub (packages/ddp-server/livedata_server.js:625:12)
at packages/ddp-server/livedata_server.js:559:43
Exception from sub user.state id yJXpbdZbauwoAoKRt TypeError: this.ready is not a function
at Subscription.Meteor.publish [as _handler] (imports/api/Users/server/publications.js:34:15)
at currentArgumentChecker.withValue (packages/check/match.js:118:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Object._failIfArgumentsAreNotAllChecked (packages/check/match.js:116:43)
at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1765:18)
at DDP._CurrentPublicationInvocation.withValue (packages/ddp-server/livedata_server.js:1043:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Subscription._runHandler (packages/ddp-server/livedata_server.js:1041:51)
at Session._startSubscription (packages/ddp-server/livedata_server.js:859:9)
at Session.sub (packages/ddp-server/livedata_server.js:625:12)
at packages/ddp-server/livedata_server.js:559:43
Exception from sub user.state id sqLQCJyW9tSEQyceY TypeError: this.ready is not a function
at Subscription.Meteor.publish [as _handler] (imports/api/Users/server/publications.js:34:15)
at currentArgumentChecker.withValue (packages/check/match.js:118:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Object._failIfArgumentsAreNotAllChecked (packages/check/match.js:116:43)
at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1765:18)
at DDP._CurrentPublicationInvocation.withValue (packages/ddp-server/livedata_server.js:1043:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Subscription._runHandler (packages/ddp-server/livedata_server.js:1041:51)
at Session._startSubscription (packages/ddp-server/livedata_server.js:859:9)
at Session.sub (packages/ddp-server/livedata_server.js:625:12)
at packages/ddp-server/livedata_server.js:559:43
Exception from sub user.state id BCQoXF8rALMwkQfiE TypeError: this.ready is not a function
at Subscription.Meteor.publish [as _handler] (imports/api/Users/server/publications.js:34:15)
at currentArgumentChecker.withValue (packages/check/match.js:118:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Object._failIfArgumentsAreNotAllChecked (packages/check/match.js:116:43)
at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1765:18)
at DDP._CurrentPublicationInvocation.withValue (packages/ddp-server/livedata_server.js:1043:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Subscription._runHandler (packages/ddp-server/livedata_server.js:1041:51)
at Session._startSubscription (packages/ddp-server/livedata_server.js:859:9)
at Session.sub (packages/ddp-server/livedata_server.js:625:12)
at packages/ddp-server/livedata_server.js:559:43
Exception from sub projects id yga2bR2Ywzmzp3Lna TypeError: Cannot read property ‘name’ of null
at get_project_query (imports/api/Projects/server/publications.js:9:60)
at Subscription.Meteor.publish [as _handler] (imports/api/Projects/server/publications.js:17:26)
at currentArgumentChecker.withValue (packages/check/match.js:118:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Object._failIfArgumentsAreNotAllChecked (packages/check/match.js:116:43)
at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1765:18)
at DDP._CurrentPublicationInvocation.withValue (packages/ddp-server/livedata_server.js:1043:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Subscription._runHandler (packages/ddp-server/livedata_server.js:1041:51)
at Session._startSubscription (packages/ddp-server/livedata_server.js:859:9)
at Session.sub (packages/ddp-server/livedata_server.js:625:12)
at packages/ddp-server/livedata_server.js:559:43
Exception from sub switcher.workspaces id 3zE9PkCC8BGsx3ixF TypeError: Cannot read property ‘name’ of null
at get_project_query (imports/api/Workspaces/server/publications.js:8:60)
at Subscription.Meteor.publish [as _handler] (imports/api/Workspaces/server/publications.js:28:15)
at currentArgumentChecker.withValue (packages/check/match.js:118:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Object._failIfArgumentsAreNotAllChecked (packages/check/match.js:116:43)
at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1765:18)
at DDP._CurrentPublicationInvocation.withValue (packages/ddp-server/livedata_server.js:1043:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Subscription._runHandler (packages/ddp-server/livedata_server.js:1041:51)
at Session._startSubscription (packages/ddp-server/livedata_server.js:859:9)
at Session.sub (packages/ddp-server/livedata_server.js:625:12)
at packages/ddp-server/livedata_server.js:559:43
Exception from sub switcher.job id oYfScNsHfwpJ6HPQR TypeError: Cannot read property ‘name’ of null
at get_project_query (imports/api/Jobs/server/publications.js:8:60)
at get_allowed_projects (imports/api/Jobs/server/publications.js:15:24)
at Subscription.Meteor.publish [as _handler] (imports/api/Jobs/server/publications.js:59:7)
at currentArgumentChecker.withValue (packages/check/match.js:118:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Object._failIfArgumentsAreNotAllChecked (packages/check/match.js:116:43)
at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1765:18)
at DDP._CurrentPublicationInvocation.withValue (packages/ddp-server/livedata_server.js:1043:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Subscription._runHandler (packages/ddp-server/livedata_server.js:1041:51)
at Session._startSubscription (packages/ddp-server/livedata_server.js:859:9)
at Session.sub (packages/ddp-server/livedata_server.js:625:12)
at packages/ddp-server/livedata_server.js:559:43
Exception from sub projects.recent id eM6gBjbgw9m8o7qGN TypeError: Cannot read property ‘name’ of null
at get_project_query (imports/api/Projects/server/publications.js:9:60)
at Subscription.Meteor.publish.list [as _handler] (imports/api/Projects/server/publications.js:62:15)
at currentArgumentChecker.withValue (packages/check/match.js:118:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Object._failIfArgumentsAreNotAllChecked (packages/check/match.js:116:43)
at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1765:18)
at DDP._CurrentPublicationInvocation.withValue (packages/ddp-server/livedata_server.js:1043:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Subscription._runHandler (packages/ddp-server/livedata_server.js:1041:51)
at Session._startSubscription (packages/ddp-server/livedata_server.js:859:9)
at Session.sub (packages/ddp-server/livedata_server.js:625:12)
at packages/ddp-server/livedata_server.js:559:43
Exception from sub user.state id GZ76ssTdJyNZtjhTw TypeError: this.ready is not a function
at Subscription.Meteor.publish [as _handler] (imports/api/Users/server/publications.js:34:15)
at currentArgumentChecker.withValue (packages/check/match.js:118:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Object._failIfArgumentsAreNotAllChecked (packages/check/match.js:116:43)
at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1765:18)
at DDP._CurrentPublicationInvocation.withValue (packages/ddp-server/livedata_server.js:1043:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Subscription._runHandler (packages/ddp-server/livedata_server.js:1041:51)
at Session._startSubscription (packages/ddp-server/livedata_server.js:859:9)
at Session.sub (packages/ddp-server/livedata_server.js:625:12)
at packages/ddp-server/livedata_server.js:559:43
Exception from sub user.state id C9RZdC7mCaRJi4625 TypeError: this.ready is not a function
at Subscription.Meteor.publish [as _handler] (imports/api/Users/server/publications.js:34:15)
at currentArgumentChecker.withValue (packages/check/match.js:118:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Object._failIfArgumentsAreNotAllChecked (packages/check/match.js:116:43)
at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1765:18)
at DDP._CurrentPublicationInvocation.withValue (packages/ddp-server/livedata_server.js:1043:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Subscription._runHandler (packages/ddp-server/livedata_server.js:1041:51)
at Session._startSubscription (packages/ddp-server/livedata_server.js:859:9)
at Session.sub (packages/ddp-server/livedata_server.js:625:12)
at packages/ddp-server/livedata_server.js:559:43
Exception from sub user.state id ALafTjA7X7FvtuDBL TypeError: this.ready is not a function
at Subscription.Meteor.publish [as _handler] (imports/api/Users/server/publications.js:34:15)
at currentArgumentChecker.withValue (packages/check/match.js:118:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Object._failIfArgumentsAreNotAllChecked (packages/check/match.js:116:43)
at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1765:18)
at DDP._CurrentPublicationInvocation.withValue (packages/ddp-server/livedata_server.js:1043:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
at Subscription._runHandler (packages/ddp-server/livedata_server.js:1041:51)
at Session._startSubscription (packages/ddp-server/livedata_server.js:859:9)
at Session.sub (packages/ddp-server/livedata_server.js:625:12)
at packages/ddp-server/livedata_server.js:559:43

Did anyone have a solution for this yet? i do have the same problem on a cent.os 7.5 computer that is master and worker.

I have the same problem on RedHat7. “cryosparcm log webapp” produces the following:

cryoSPARC v2
Ready to serve GridFS
cryoSPARC v2
Ready to serve GridFS
cryoSPARC v2
Ready to serve GridFS

Same issue as Btz, and I see that I am not alone.

Same for me.
Blank page on Fireforx but it work on Chome

I have the Same problem on CentOS 6.5. But I can use cryosparc v0 at the same workstation:(

My problem is solved by downloading and installing the latest firefox.

For the best experience using cryoSPARC, we recommend using the latest version of Chrome.

For anyone experiencing a blank screen, are there any errors when running cryosparcm start? Are there any errors when you run cryosparcm log webapp?

- Suhail

the blank page appears when one connects to http, but the instructions say connect to https
https gives in my case an SSL error.

https://localhost:39000/
“”"
This site can’t provide a secure connection
localhost sent an invalid response.
ERR_SSL_PROTOCOL_ERROR
“”"
isn’t this browser related?
(our chrome version is 54)

connecting to http I also get a blank screen on Chrome and Firefox

I have no errors running >cryosparcm start or >cryosparcm log webapp

BS"D

I have installed V2 on two Centos 7 machines (standalone workstations). Both show similar behaviour to that described above. One installation gave errors, one did not. The one that did not, gives no errors on cryosparcm log webapp, but in both cases I see the following:

  1. With the latest firefox available for Centos 7 (60.1) the http connection shows the login window for a split second, and then goes blank, as others observe.

  2. With the latest firefox available from a Mac (60.2), I get the same thing.

  3. With the latest chrome from a Mac, I get the same thing.

Using the https connection (firefox from Centos, and from Mac), I get the same SSL error as seen by murk

Update: after restarting cryosparc on the machine that gave no installation errors, I got a log in screen using Safari on my Mac, and Firefox from a different Centos box (both http). So that is progress.

Sorry, the documentation incorrectly specifies HTTPS; this should be HTTP (will update the docs accordingly). When you visit htttp://localhost:39000, open up the browser inspect panel (Press Command+Option+J (Mac) or Control+Shift+J (Windows, Linux, Chrome OS). Is there anything in the console?

If running cryosparm start causes no errors and there are no errors in the web application logs, the web application should display normally.

- Suhail

console:
xxxxxxxxxxxxxxxxxxxxb7087.js:105 Uncaught SyntaxError: Unexpected token …

(scrambled the token a bit)

how can I get a list of running servers, tokens?

also url of webapp doesn’t seem to work

cryosparcm url
Unknown command url

I had the same issue with a blank login page directly after installation. For me a restart of cryosparc solved the issue:
$ cryosparcm stop
$ cryosparcm start