Error: error:1C800064:Provider routines::bad decrypt

Whenever I build a new version of my n8n in Docker, the credentials I have will stop working and I have to delete the credentials and create them again, does anyone know if it is possible to configure this problem in Docker?

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

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:

Hey @leomangueira,

This could be related to a change in 1.16.0 assuming you are using the same encryption key in your config file / enviromnet variable.

1 Like

Hi, have the same error when executing ssh with crons, if i manually start the workflow it works. Updated a couple of updates in once (was 2 months behind) and i host with docker-compose.

I decided to create the variable N8N_ENCRYPTION_KEY passing a random value

1 Like

That fixed it here aswell, ty!

1 Like

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