15 days ago
I have this error in the logs.
When i try to add my openai api key it just always shows connection failed.
My other api keys are working perfectly, and i double checked that the key is correct.
Attachments
Pinned Solution
15 days ago
The error shown in the image you provided is related to n8n's encryption key being changed or lost. Have you changed N8N_ENCRYPTION_KEY ? If it wasn't set, n8n generates one automatically and saves it to ~/.n8n folder. So, was that folder deleted?
You can read more about this here: https://docs.n8n.io/hosting/configuration/configuration-examples/encryption-key/
3 Replies
Status changed to Open Railway • 15 days ago
15 days ago
The error shown in the image you provided is related to n8n's encryption key being changed or lost. Have you changed N8N_ENCRYPTION_KEY ? If it wasn't set, n8n generates one automatically and saves it to ~/.n8n folder. So, was that folder deleted?
You can read more about this here: https://docs.n8n.io/hosting/configuration/configuration-examples/encryption-key/
15 days ago
It was working fine yesterday and today it just decided to stop working. I didn't touch it at all.
Where do I find said folder to check the variable.
jrkassis
It was working fine yesterday and today it just decided to stop working. I didn't touch it at all. Where do I find said folder to check the variable.
15 days ago
Since the encryption key is lost, can you start a new project? It's the cleanest way at this point. If you go with that route, make sure to set a value to N8N_ENCRYPTION_KEY .
Status changed to Solved brody • 15 days ago