Javascript error in displaying "Latest EMDB Entries"

Since today or yesterday our cryosparc installation is broken (no buttons work) due to a javascript exception in the function. that displays the “Latest EMDB Entries” on the dashboard.

Error message:

Home.03e0dfce.js:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'structure_determination')
    at Br (Home.03e0dfce.js:1:56657)
    at Object.p (Home.03e0dfce.js:3:2118)
    at ko (vendor.ddc077fd.js:1:1141)
    at Object.p (Home.03e0dfce.js:1:10690)
    at Fr (vendor.ddc077fd.js:4:2775)
    at jt (vendor.ddc077fd.js:4:2444)
Br @ Home.03e0dfce.js:1
p @ Home.03e0dfce.js:3
ko @ vendor.ddc077fd.js:1
p @ Home.03e0dfce.js:1
Fr @ vendor.ddc077fd.js:4
jt @ vendor.ddc077fd.js:4
Promise.then (async)
Tn @ vendor.ddc077fd.js:4
Jr @ vendor.ddc077fd.js:4
(anonymous) @ vendor.ddc077fd.js:4
(anonymous) @ Home.03e0dfce.js:3
Promise.then (async)
(anonymous) @ Home.03e0dfce.js:3
fn @ vendor.ddc077fd.js:1
(anonymous) @ vendor.ddc077fd.js:4
jt @ vendor.ddc077fd.js:4
Promise.then (async)
Tn @ vendor.ddc077fd.js:4
Jr @ vendor.ddc077fd.js:4
(anonymous) @ vendor.ddc077fd.js:4
O @ index.c7ae27ab.js:3
await in O (async)
(anonymous) @ index.c7ae27ab.js:3
fn @ vendor.ddc077fd.js:1
(anonymous) @ vendor.ddc077fd.js:4
jt @ vendor.ddc077fd.js:4
Promise.then (async)
Tn @ vendor.ddc077fd.js:4
Jr @ vendor.ddc077fd.js:4
(anonymous) @ vendor.ddc077fd.js:4
(anonymous) @ Authenticated.b49ce3b7.js:17
i @ vendor.ddc077fd.js:4
(anonymous) @ index.c7ae27ab.js:3
await in (anonymous) (async)
r.emitEvent @ vendor.ddc077fd.js:9
r.emit @ vendor.ddc077fd.js:9
setTimeout (async)
value @ vendor.ddc077fd.js:16
(anonymous) @ vendor.ddc077fd.js:16
r.emitEvent @ vendor.ddc077fd.js:9
r.emit @ vendor.ddc077fd.js:9
rawSocket.rawSocket.onmessage @ vendor.ddc077fd.js:16

It looks like that the upstream server that serves the EMDB Entries has changed.
This should affect probably all cryosparc installation.

The Discussion Forum panel is similarly out of action for us on Firefox/Safari (macOS 12.6.3).

Perhaps as a knock-on effect, none of the elements work from the landing page. They do if we manually navigate elsewhere using the address bar, e.g. <hostname>:<port>/browse/P*.

Cheers,
Yang

We see the discussion panel also “loading”.
@wtempel this might be affecting multiple installations, as the failing external content is breaking the UI frontend. Is there a fix/workaround that would allow us to disable the loading of this component?

We are seeing the same thing - also clicking on currently running jobs from the landing page is not working - however for us I should note that it is happening on our CentOS system, but not on our two Ubuntu systems.

I just checked again and on all our instances the “Latest EMDB Entries” are loading again.
UI functionality seems to be restored.
I’d vote for a patch though, where the frontend remains unaffected if these “news” items don’t load, as this has the potential to suddenly and unexpectedly halt all work as the UI becomes unresponsive.

Same for us - all working now

Hi all,

Looks like the data from EMDB was in a different structure than what the application expected. As a result, the homepage crashed. We’re working on a fix to prevent this from happening if the EMDB API returns unexpected responses in the future.

- Suhail

2 Likes

Hi all, this is now fully resolved in v4.3, released August 9, 2023.

- Suhail