Web app doesn't load, status is normal

open

#1

Hi,

This behavior seems random. I’ve tried checking some logs and haven’t found anything out of place. Basically the issue is cryoSPARC v2 is up and running as you can see below:

But Webapp doesn’t load and shows the error above.

When I restart cryoSPARC v2 the behavior is corrected. This has been an ongoing issue for sometime now, we’re using version 2.11.0.

Any advice would be appreciated, thanks.


#2

Hi @shockacone,

Could you paste the contents of cryosparcm log webapp please?

Thanks,
Suhail


#3

Blockquote
cryosparc2@semcworkshop:~/cryosparc2_master/bin$ cryosparcm log webapp
}
{
“method”: “POST”,
“headers”: {
“CRYOSPARC-USER”: “5afb254c4dba25102c4b1a85”
},
“body”: {
“jsonrpc”: “2.0”,
“method”: “index_abs_path”,
“params”: [
“/gpfs/appion/chernandez/THG/18nov14c/relion/Extract/job004”,
“5afb254c4dba25102c4b1a85”
],
“id”: “rc3qSoz6nDiGN5ZYd”
},
“json”: true
}
{
“method”: “POST”,
“headers”: {
“CRYOSPARC-USER”: “5afb254c4dba25102c4b1a85”
},
“body”: {
“jsonrpc”: “2.0”,
“method”: “job_set_param”,
“params”: [
“P144”,
“J71”,
“particle_meta_path”,
“/gpfs/appion/chernandez/THG/18nov14c/relion/Extract/job004”
],
“id”: “B2HBEuNHAeFFfr9Da”
},
“json”: true
}
{
“method”: “POST”,
“headers”: {
“CRYOSPARC-USER”: “5afb254c4dba25102c4b1a85”
},
“body”: {
“jsonrpc”: “2.0”,
“method”: “set_user_state_var”,
“params”: {
“user_id”: “5afb254c4dba25102c4b1a85”,
“key”: “browserPath”,
“value”: “/gpfs/appion/chernandez/THG/18nov14c/relion/Extract/job004”
},
“id”: “wsWKsF9yn2RZYx9S8”
},
“json”: true
}
{
“method”: “POST”,
“headers”: {
“CRYOSPARC-USER”: “5afb254c4dba25102c4b1a85”
},
“body”: {
“jsonrpc”: “2.0”,
“method”: “index_abs_path”,
“params”: [
“/gpfs/appion/chernandez/THG/18nov14c/relion/Extract/job004”,
“5afb254c4dba25102c4b1a85”
],
“id”: “qhWWdJMSc4K9zAJuS”
},
“json”: true
}
{
“method”: “POST”,
“headers”: {
“CRYOSPARC-USER”: “5afb254c4dba25102c4b1a85”
},
“body”: {
“jsonrpc”: “2.0”,
“method”: “index_abs_path”,
“params”: [
“/gpfs/appion/chernandez/THG/18nov14c/relion/Extract/job004/particles.star”,
“5afb254c4dba25102c4b1a85”
],
“id”: “JduNwdxEqukPhpWic”
},
“json”: true
}
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
[PUB] job.events.checkpoints: { project_uid: ‘P137’, job_uid: ‘J578’, type: ‘checkpoint’ }
{
“method”: “POST”,
“headers”: {
“CRYOSPARC-USER”: “5afb254c4dba25102c4b1a85”
},
“body”: {
“jsonrpc”: “2.0”,
“method”: “set_user_viewed_job”,
“params”: [
“5afb254c4dba25102c4b1a85”,
“P137”,
“W13”,
“J578”
],
“id”: “6zSbJAzaPSjf7zP5d”
},
“json”: true
}
[PUB] job.events: { project_uid: ‘P137’, job_uid: ‘J578’ } 100 0
[PUB] events.countAfterCheckpoint
{
“method”: “POST”,
“headers”: {
“CRYOSPARC-USER”: “5afb254c4dba25102c4b1a85”
},
“body”: {
“jsonrpc”: “2.0”,
“method”: “job_set_param”,
“params”: [
“P144”,
“J71”,
“particle_meta_path”,
“/gpfs/appion/chernandez/THG/18nov14c/relion/Extract/job004/particles.star”
],
“id”: “MWousDwN9fzMFDesp”
},
“json”: true
}
{
“method”: “POST”,
“headers”: {
“CRYOSPARC-USER”: “5afb254c4dba25102c4b1a85”
},
“body”: {
“jsonrpc”: “2.0”,
“method”: “set_user_state_var”,
“params”: {
“user_id”: “5afb254c4dba25102c4b1a85”,
“key”: “browserPath”,
“value”: “/gpfs/appion/chernandez/THG/18nov14c/relion/Extract/job004/particles.star”
},
“id”: “HdDGPxYEpvB8YpKAu”
},
“json”: true
}
{
“method”: “POST”,
“headers”: {
“CRYOSPARC-USER”: “5afb254c4dba25102c4b1a85”
},
“body”: {
“jsonrpc”: “2.0”,
“method”: “enqueue_job”,
“params”: {
“project_uid”: “P144”,
“job_uid”: “J71”,
“lane”: “default”
},
“id”: “woyRzDPeipqqkNh56”
},
“json”: true
}
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
[PUB] job.events.checkpoints: { project_uid: ‘P144’, job_uid: ‘J71’, type: ‘checkpoint’ }
{
“method”: “POST”,
“headers”: {
“CRYOSPARC-USER”: “5afb254c4dba25102c4b1a85”
},
“body”: {
“jsonrpc”: “2.0”,
“method”: “set_user_viewed_job”,
“params”: [
“5afb254c4dba25102c4b1a85”,
“P144”,
“W3”,
“J71”
],
“id”: “2dQJTSqBsNanskANA”
},
“json”: true
}
[PUB] job.events: { project_uid: ‘P144’, job_uid: ‘J71’ } 100 0
[PUB] events.countAfterCheckpoint
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false


#4

Hi, any update on this? It’s happened again and I’m not sure how to interpret the log

Blockquote
cryosparc2@semcworkshop:~$ cryosparcm log webapp
}
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
{
“method”: “POST”,
“uri”: “://semcworkshop:39002/api”,
“headers”: {
“CRYOSPARC-USER”: “5afb254c4dba25102c4b1a85”
},
“body”: {
“jsonrpc”: “2.0”,
“method”: “set_user_viewed_workspace”,
“params”: [
“5afb254c4dba25102c4b1a85”,
“P137”,
“W13”
],
“id”: “LfZc7xPGtyCqmzee3”
},
“json”: true
}
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
[PUB] job.events.checkpoints: { project_uid: ‘P137’, job_uid: ‘J600’, type: ‘checkpoint’ }
{
“method”: “POST”,
“uri”: “://semcworkshop:39002/api”,
“headers”: {
“CRYOSPARC-USER”: “5afb254c4dba25102c4b1a85”
},
“body”: {
“jsonrpc”: “2.0”,
“method”: “set_user_viewed_job”,
“params”: [
“5afb254c4dba25102c4b1a85”,
“P137”,
“W13”,
“J600”
],
“id”: “vsiPTNQeH4gbGmxpF”
},
“json”: true
}
[PUB] job.events: { project_uid: ‘P137’, job_uid: ‘J600’ } 100 0
[PUB] events.countAfterCheckpoint
[PUB] job.events: { project_uid: ‘P137’,
job_uid: ‘J600’,
created_at: { ‘$gt’: 2019-10-26T03:45:21.349Z } } 100 0
[PUB] events.countAfterCheckpoint
{
“method”: “POST”,
“uri”: “://semcworkshop:39002/api”,
“headers”: {
“CRYOSPARC-USER”: null
},
“body”: {
“jsonrpc”: “2.0”,
“method”: “get_result_download_abs_path”,
“params”: {
“project_uid”: “P137”,
“result_spec”: “J600.volume.map_sharp”
},
“id”: “yyTrr9kkkx5my8TGh”
},
“json”: true
}
download result /gpfs/appion/jgorman/19mar08b/relion/P137/J600/cryosparc_P137_J600_009_volume_map_sharp.mrc
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
[PUB] job.events.checkpoints: { project_uid: ‘P137’, job_uid: ‘J598’, type: ‘checkpoint’ }
{
“method”: “POST”,
“uri”: “://semcworkshop:39002/api”,
“headers”: {
“CRYOSPARC-USER”: “5afb254c4dba25102c4b1a85”
},
“body”: {
“jsonrpc”: “2.0”,
“method”: “set_user_viewed_job”,
“params”: [
“5afb254c4dba25102c4b1a85”,
“P137”,
“W13”,
“J598”
],
“id”: “XGf8WCMitTbu5mpgv”
},
“json”: true
}
[PUB] job.events: { project_uid: ‘P137’, job_uid: ‘J598’ } 100 0
[PUB] events.countAfterCheckpoint
[PUB] job.events: { project_uid: ‘P137’,
job_uid: ‘J598’,
created_at: { ‘$gt’: 2019-10-26T02:08:33.669Z } } 100 0
[PUB] events.countAfterCheckpoint
{
“method”: “POST”,
“uri”: “://semcworkshop:39002/api”,
“headers”: {
“CRYOSPARC-USER”: null
},
“body”: {
“jsonrpc”: “2.0”,
“method”: “get_result_download_abs_path”,
“params”: {
“project_uid”: “P137”,
“result_spec”: “J598.volume.map_sharp”
},
“id”: “j4QSq8Bh2JhkApRNo”
},
“json”: true
}
download result /gpfs/appion/jgorman/19mar08b/relion/P137/J598/cryosparc_P137_J598_009_volume_map_sharp_local.mrc
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
[PUB] job.events.checkpoints: { project_uid: ‘P137’, job_uid: ‘J601’, type: ‘checkpoint’ }
{
“method”: “POST”,
“uri”: “://semcworkshop:39002/api”,
“headers”: {
“CRYOSPARC-USER”: “5afb254c4dba25102c4b1a85”
},
“body”: {
“jsonrpc”: “2.0”,
“method”: “set_user_viewed_job”,
“params”: [
“5afb254c4dba25102c4b1a85”,
“P137”,
“W13”,
“J601”
],
“id”: “3EfB8Ek5b7rywtqwY”
},
“json”: true
}
[PUB] job.events: { project_uid: ‘P137’, job_uid: ‘J601’ } 100 0
[PUB] events.countAfterCheckpoint
[PUB] job.events: { project_uid: ‘P137’,
job_uid: ‘J601’,
created_at: { ‘$gt’: 2019-10-26T08:03:33.538Z } } 100 0
[PUB] events.countAfterCheckpoint
{
“method”: “POST”,
“uri”: “semcworkshop:39002/api”,
“headers”: {
“CRYOSPARC-USER”: null
},
“body”: {
“jsonrpc”: “2.0”,
“method”: “get_result_download_abs_path”,
“params”: {
“project_uid”: “P137”,
“result_spec”: “J601.volume.map_sharp”
},
“id”: “P8TWgWECzNfv7soHp”
},
“json”: true
}
download result /gpfs/appion/jgorman/19mar08b/relion/P137/J601/cryosparc_P137_J601_007_volume_map_sharp.mrc
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false
==== project query user 5afb254c4dba25102c4b1a85 test false


#5

Hi @shockacone,

Sorry for the delay. Are you sure the machine you’re trying to connect via the browser has port 39000 forwarded?

- Suhail


#6

Hi Suhail,

Thanks for the response. Are you asking whether we are including the port in the URL when trying to connect? We connect by entering “cryoSPARC_host:39000” in our browsers. Other than doing that we haven’t had to do any port forwarding on the client machines (I’m assuming your question is about the clients which are trying to connect to the CryoSPARC v2 host/server).

The staff connects from multiple machines at once MAC/Windows/Linux. Each staff member simply enters the URL along with the port number and is able to access CryoSPARC v2 interface. This interruption in service seems to happen randomly and once we restart CryoSPARC v2 the behavior is normal again.

Thank you,
Shaker


#7

Hi Shaker,

Sorry for the delay - are you still experiencing issues connecting to the web app or does restarting cryoSPARC solve it?

- Suhail