You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you run Jupyter either over https or on localhost, you don't get this bug. But when you're on a remote using http (or on your localhost, but aliased), the widget breaks with,
Uncaught (in promise) TypeError: globalThis.crypto.randomUUID is not a function
at s (5ca03b59-285e-488c-b59a-ef82c3b57b2c:37017:33)
at 5ca03b59-285e-488c-b59a-ef82c3b57b2c:37022:36
at new Promise (<anonymous>)
at Object.query (5ca03b59-285e-488c-b59a-ef82c3b57b2c:37022:14)
at u (5ca03b59-285e-488c-b59a-ef82c3b57b2c:8429:48)
at a (5ca03b59-285e-488c-b59a-ef82c3b57b2c:8409:9)
at c (5ca03b59-285e-488c-b59a-ef82c3b57b2c:8414:21)
at Object.add (5ca03b59-285e-488c-b59a-ef82c3b57b2c:8209:134)
at Object.request (5ca03b59-285e-488c-b59a-ef82c3b57b2c:8450:20)
at sL.query (5ca03b59-285e-488c-b59a-ef82c3b57b2c:8527:25)
If you run Jupyter either over https or on localhost, you don't get this bug. But when you're on a remote using http (or on your localhost, but aliased), the widget breaks with,
Some research suggests that browsers do not give access to the crypto api outside of "secure contexts" https://stackoverflow.com/questions/105034/how-do-i-create-a-guid-uuid,
and perhaps a recommended fix would be to replace the single callsite with the recommended
uuid
module from that stackoverflow answer.The text was updated successfully, but these errors were encountered: