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

Can not login with local ip address , had to go back to old version #8853

Closed
echo-saurav opened this issue Mar 8, 2024 · 1 comment
Closed

Comments

@echo-saurav
Copy link

Bug Description

I am using n8n docker , i used to login with my local ip 192.168.0.120:5678 but now i cant. The web ui load but when i try to login on console log it says: unauthorised 404.
But i can use localhost:5678 to login,
I tried to change env vars , N8N_LISTEN_ADDRESS to 0.0.0.0 and N8N_HOST to 192.168.0.102 but it didn't work

Currently i am running docker.n8n.io/n8nio/n8n:1.29.1
all the other new version have the same issue

To Reproduce

use any version after n8n:1.29.1

Expected behavior

should able to login with any host address

Operating System

arch

n8n Version

1.30.0

Node.js Version

18.19.1

Database

PostgreSQL

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented Mar 8, 2024

Hey @echo-saurav

Check #8850 it contains the solution for this. The quick version is below

If you accessing n8n using http instead of https you will see this error, Can you set the env option N8N_SECURE_COOKIE to false.

I am going to mark this as closed as it is a duplicate of a solved question, let me know if you any questions on this.

@Joffcom Joffcom closed this as completed Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants