Error after updating N8N: “window.crypto.randomUUID is not a function” and cannot access local WebUI

Hi everyone,

After updating my N8N instance to the latest version, every workflow (old or new) throws the following error whenever I try to do anything:

Error: window.crypto.randomUUID is not a function

I tried running window.crypto.randomUUID() directly in the browser console and got the same problem.

image

Environment Details:

  • N8N Version: 1.120.1

  • Deployment: Local (http)

  • Operating System: N8N on a Windows and my PC is Linux/Debian.

  • Browsers tested: Chrome, Mozilla Firefox

Strange behavior:

  • I cannot access my local N8N (HTTP) instance using one profile on Chrome or Firefox—the UI gives a connection error (see attached screenshot).

  • On another Chrome profile, the same local HTTP instance works fine.

  • N8N Cloud works normally.

3 Likes

logout and login :wink:

1 Like

I logout on the only working profile and now i’m getting the same error for all profiles :smiley:

@Jon any help?

Same issue after updating to 1.120.1.

I also tried logging out and back in but now I cannot even log back in because of the issue.

Same issue here.
i can’t copy any node or even start using a new one.
I tried different browsers
running N8N 1.120.1 as a docker container

1 Like

i changed the version for the release one (1.119.2) and seems to fixed it.

1 Like

I have had exactly the same issue. I am seeing if I can roll back.

Same issue after updating to 1.120.3.

I also tried logging out and back in but now I cannot even log back in because of the issue.
Error connecting to n8n: Could not connect to server. Refresh to try again”

2 Likes

when i downgrade to 1.119.2. it turns fine

3 Likes

I’m facing the same issue. I’m also self-hosting.

1 Like

Try to change to the release version (1.119.2), it worked for me.

i`m using 1.120.3 and i`m having the same issue.. i`m downgrading to 1.119.2..

I have fixed this issues

  1. Error connecting to n8n: Could not connect to server. Refresh to try again”
  2. “window.crypto.randomUUID is not a function” and cannot access local WebUI

By installing the proxy server and gen a cert for a IP to make the HTTPS connection, and using the ghcr.io latest docker images instead of using dockerhub images, weird but worked.

Roll back to the old version works

exact same issue on 1.120.4 had to revert to 1.119.0 to fix it!
login logout didn’t help :smiling_face_with_tear:

It looks window.crypto.randomUUID function only works in https even is clearly documented in specs.

I have the question too,it’s seem it’s your .env file configuration is invalid. At present, I don’t have a good solution either

same 1.120.2 issue in docker on nas, but same version works perfectly on my PC’s Docker environment. interesting

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.