Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

n8n on --latest version #68

Open
PieBru opened this issue Oct 29, 2024 · 1 comment
Open

n8n on --latest version #68

PieBru opened this issue Oct 29, 2024 · 1 comment
Labels
bug Something isn't working OS:MacOS

Comments

@PieBru
Copy link

PieBru commented Oct 29, 2024

Hi,
I installed n8n, then its homepage asks for N8N_SECURE_COOKIE=false.

image

Setting it with harbor config set N8N_SECURE_COOKIE false doesn't have effect.

Thank you

@av av added bug Something isn't working OS:MacOS labels Nov 2, 2024
@av
Copy link
Owner

av commented Nov 2, 2024

Hi, thanks for the reports!

That's a thing I definitely missed in the baseline confg for n8n. v0.2.15 will ship with secure cookies disabled out-of-the-box since http://localhost is where the service will run in most supported scenarios

Setting it with harbor config set N8N_SECURE_COOKIE false doesn't have effect.

Aha, I knew that the freedom of harbor config will eventually make someone try something like this. It's intended only for the env vars explicitly managed by Harbor (and they are all automatically prefixed by HARBOR_ when retrieved or written in the current profile.

But I agree that something like this is needed and my hands were also reaching out for something similar a few times, so v0.2.15 now comes with harbor env exactly for such purpose:

harbor env n8n n8n.secure_cookie false

Alternatively, you can override it manually in the editor of choice:

open $(harbor home)/n8n/override.env

Setting in the main .env would also work, but you'd risk loosing it after one of the updates, since the file is actively merged/cleaned with the profiles/default.env during updates (you could use profiles to re-apply though)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working OS:MacOS
Projects
None yet
Development

No branches or pull requests

2 participants