All workflows deactivated

Hello everyone

I’ve been banging my head against the following for a while:

All my workflows have been deactivated and I cannot activate any of them. Every time I get this error message:

Workflow could not be activated:

There was a problem activating the workflow: “crypto is not defined”

I checked all my credentials, googled for it and searched for it here in the forum. But I found no solution. My best bet is that I need an n8n activation key. But I run the community edition self-hosted and it says under Settings > Usage and plan that I have unlimited active workflows. Does anybody have an idea?

(n8n version 1.47.1)

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi,

I have this problem too since my upgrade to 1.47.1.
I’m running it in a standard docker config with a postgres database.
The upgrade was made with npm inside the docker container.

I also started seeing this recently.

  • n8n version: 1.47.1
  • Database (default: SQLite): Postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker on Cloudron
  • Operating system: Ubuntu 22.04.2 LTS

I also run it via Cloudron, same setup.

Same problem here! what’s the fix??

Same problem on cloudron since last update.

There was a problem activating the workflow: “crypto is not defined”

I think this is caused by some older versions of node.js 18 missing webcrypto api.
To fix this this please update node.js to the latest 20.x.

in the meanwhile, I’ll try to add some checks at the application startup to detect issues like, to add a clear warning.

Created a PR to handle older (and unsupported) versions of node.js 18.
We’ll try to get a patch release out later today.

But even after this fix is available, please upgrade node.js to the latest 18.x/20.x as a good security practice. These would include some major security fixes from February.

New version [email protected] got released which includes the GitHub PR 9894.

1 Like

Cloudron package maintainer here. I have updated the package with 1.47.2 . Thanks for the fix!

Also, Cloudron is already on node 18 (18.18.0)

1 Like

Hi guys, I now have 1.47.2 installed via Cloudron. Restarted n8n multiple times as well. But I still get an error message and cannot activate any workflow. It says

Workflow could not be activated:

There was a problem activating the workflow: “Your request is invalid or could not be processed by the service”

Any idea?

I’m sorry to bug you guys, but unfortunately I still have the same problem. See error message in my post above. Does it tell you anything?
Am on 1.48.3 now.

@netroy @jan @girishcloudron

I thought the new package fixed it. I have asked the user who reported it initially at N8n error after latest update | Cloudron Forum

Thank you, Girish. Am curious about Ari’s answer.

I am currently running [email protected] and am no longer seeing this issue. Everything appears to be working normally again. Thank you!

Still not working on my end. I’m now running Cloudron in v8.0.0 and n8n in v1.48.3. Also tried in another browser and restarted everything multiple times.

This error message persists for every workflow:
Workflow could not be activated: There was a problem activating the workflow: “Your request is invalid or could not be processed by the service”

While that is a concerning error, it doesn’t sound like the error this thread was meant for

Maybe we should start a new post, and share more details there. Trying to keep this conversation in this thread gives us the impression that the crypto is not defined error is still happening, which I don’t think it is.

Can you please start a new thread, and also please include the workflow, or enough info about what trigger/webhook nodes that workflow has :pray:

Good idea, I will start a new one and tag you there.

1 Like