Disable Secure Cookies (Temporary Fix, Not Recommended for Production)
If you're testing n8n locally or in a non-production environment, you can disable the secure cookie requirement by setting the N8N_SECURE_COOKIE environment variable to false.
Stop the Running n8n Container:
docker stop n8n
docker rm n8n
Restart the Container with the Environment Variable: Run the n8n container with the N8N_SECURE_COOKIE variable set to false:
docker run -d --name n8n -p 5678:5678 -v n8n_data:/home/node/.n8n \
-e N8N_SECURE_COOKIE=false \
n8nio/n8n
Access n8n: Try accessing http://ip/ again. The secure cookie error should be resolved.
最新回复