Cryosparc account maintenance Chrome

The “New Account” and “Reset Password” buttons do not seem to work when using Chrome, from a Mac in my case. Basically, no response from the “New Account” and no response after getting to the “I have a token” page on Reset.
Works fine in Firefox. URL is HTTP:… Do we need HTTPS, perhaps?

Hi @GeneF,

Are there any errors in the browser console? (Right click the window, click ‘inspect’ and click the ‘console’ tab)

- Suhail

Yup:

Location on mount Object
2a6f5d4ca5bfaf68f44e11ea9fb8cbdc0580b1c7.js?meteor_js_resource=true:133 Got these values Object
2a6f5d4ca5bfaf68f44e11ea9fb8cbdc0580b1c7.js?meteor_js_resource=true:133 Uncaught (in promise) TypeError: Cannot read property 'digest' of undefined
    at i (2a6f5d4ca5bfaf68f44e11ea9fb8cbdc0580b1c7.js?meteor_js_resource=true:133)
    at c (2a6f5d4ca5bfaf68f44e11ea9fb8cbdc0580b1c7.js?meteor_js_resource=true:133)
    at x (2a6f5d4ca5bfaf68f44e11ea9fb8cbdc0580b1c7.js?meteor_js_resource=true:13)
    at Generator.a [as _invoke] (2a6f5d4ca5bfaf68f44e11ea9fb8cbdc0580b1c7.js?meteor_js_resource=true:13)
    at Generator.e.<computed> [as next] (2a6f5d4ca5bfaf68f44e11ea9fb8cbdc0580b1c7.js?meteor_js_resource=true:13)
    at x (2a6f5d4ca5bfaf68f44e11ea9fb8cbdc0580b1c7.js?meteor_js_resource=true:13)
    at t (2a6f5d4ca5bfaf68f44e11ea9fb8cbdc0580b1c7.js?meteor_js_resource=true:13)
    at 2a6f5d4ca5bfaf68f44e11ea9fb8cbdc0580b1c7.js?meteor_js_resource=true:13
    at new Promise (<anonymous>)
    at a (2a6f5d4ca5bfaf68f44e11ea9fb8cbdc0580b1c7.js?meteor_js_resource=true:13)
DevTools failed to parse SourceMap: http://imi-dev.hpc.mssm.edu:39000/blueprint-icons.css.map
DevTools failed to parse SourceMap: http://imi-dev.hpc.mssm.edu:39000/blueprint.css.map
DevTools failed to parse SourceMap: http://imi-dev.hpc.mssm.edu:39000/blueprint-select.css.map
DevTools failed to parse SourceMap: http://imi-dev.hpc.mssm.edu:39000/antd.css.map

Hi @GeneF,

Thanks for posting the logs. Are there any errors in the log when you try to create or reset an account?

cryosparcm log command_core

- Suhail

No. Just this in the webapp.log but no response on web browser.:

[PUB] events.countAfterCheckpoint
{
  "method": "POST",
  "uri": "http://lc03g01.chimera.hpc.mssm.edu:39002/api",
  "headers": {
    "CRYOSPARC-USER": null
  },
  "body": {
    "jsonrpc": "2.0",
    "method": "request_reset_password",
    "params": {
      "email": "eugene.fluder@mssm.edu"
    },
    "id": "tR7mkMv7LMGYHBxD6"
  },
  "json": true
}

Hi @GeneF,

Unfortunately we haven’t been able to reproduce this error on our side - can you ensure you’ve followed all steps in the guide?

Thanks,
Suhail

Hello,

I have noticed this error as well on multiple workstations, and have yet to come up with a solution. However, for us, it does not work in either Firefox or Chrome. I have not yet tried any additional browsers. The errors I see in the browser console appear to match the ones GeneF reported. I do notice a utility.getForumPosts ERROR that occurs in the webapp.log right after attempting to send the password-reset request option.

Best,
Logan

Hi @lsweezy,

Sorry to hear you’re still having trouble with this. When you click the ‘Reset Password’ button, does the browser inspect panel (Press Command+Option+J (Mac) or Control+Shift+J (Windows, Linux, Chrome OS) show any errors?

- Suhail

Hi Suhail,

I was able to get it work with Safari, so we have a workaround for now, but I am trying to have a better understanding of what the issue is.

Here is the error that shows up in the console when I press the button:

Got these values
Object { email: “EMAIL”, token: “6KVF”, password: “PASSWORD”, passwordConfirm: “PASSWORD” }
c72043af0477364082eadbb1eb8c4c2497c4b633.js:133:507067
Uncaught (in promise) TypeError: window.crypto.subtle is undefined
i http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:133
c http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:133
x http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
a http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
t http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
x http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
t http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
a http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
a http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
a http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
t http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
async http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
e http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:133
e http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
e http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
t http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:133
x http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
a http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
t http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
x http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
t http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
a http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
a http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
a http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
t http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
async http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
e http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:133
m http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
x http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
w http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
k http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
M http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
O http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
R http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
Pn http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
pe http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
Bn http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
Hn http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
Un http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
unstable_runWithPriority http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
uo http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
ce http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
zn http://HOSTNAME:39000/c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
c72043af0477364082eadbb1eb8c4c2497c4b633.js:133:2767
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: http://HOSTNAME:39000/reset-password
Source Map URL: blueprint.css.map

I am encountering this issue now as well. Which is odd because we activated some accounts earlier this month and they worked. Now I have a user that can not register or reset their password and they are stuck.

I have tried Firefox, Chrome, and new MS Edge. What I am finding is that window.crypto.subtle is undefined in insecure contexts in latest browser builds. An insecure context means without an SSL cert or being on a host that is not localhost. We run cryosparc on a named host shared by many users (cryosparc.ibbr.umd.edu)

Is it possible to add an SSL cert perhaps?

We are having the same issue as well (see console error below). Reset password doesn’t work on Chrome, Firefox, or Safari browsers. The only way we’re able to get it to work is through the command line.

Got these values 
Object email: "EMAIL" password: "PASSWORD" password Confirm: "PASSWORD" token: "QJ1N"
Uncaught (in promise) TypeError: Cannot read property 'digest' of undefined
    at i (c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:133)
    at c (c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:133)
    at x (c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13)
    at Generator.a [as _invoke] (c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13)
    at Generator.e.<computed> [as next] (c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13)
    at x (c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13)
    at t (c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13)
    at c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13
    at new Promise (<anonymous>)
    at a (c72043af0477364082eadbb1eb8c4c2497c4b633.js?meteor_js_resource=true:13)
DevTools failed to load SourceMap: Could not parse content for http://cryosparc.ipd/antd.css.map: Unexpected token < in JSON at position 0
DevTools failed to load SourceMap: Could not parse content for http://cryosparc.ipd/blueprint.css.map: Unexpected token < in JSON at position 0
DevTools failed to load SourceMap: Could not parse content for http://cryosparc.ipd/blueprint-icons.css.map: Unexpected token < in JSON at position 0
DevTools failed to load SourceMap: Could not parse content for http://cryosparc.ipd/blueprint-select.css.map: Unexpected token < in JSON at position 0

Hi everyone,

Thanks for bringing this to our attention. It looks like that in some cases the create account and reset password forms don’t work because the browser considers the context insecure - this can happen when serving cryoSPARC on a domain within the network without an SSL certificate.

Here’s what you can try:

  1. Use a reverse proxy application such as NGINX to serve cryoSPARC via HTTPS with a custom SSL certificate by proxying the localhost:XXXX port that the web application is running on
  2. Connect to the cryoSPARC application via SSH tunnelling/port-forwarding, which shouldn’t cause the browser to deem the context insecure
  3. Use the command-line tools available to create user accounts or reset passwords: https://guide.cryosparc.com/setup-configuration-and-management/management-and-monitoring/cryosparcm#user-management