I have upgraded my n8n running in docker and now I see connection lost always.
My docker file is:
services:
n8n:
image: docker.n8n.io/n8nio/n8n
container_name: n8n
restart: unless-stopped
ports:
“127.0.0.1:5678:5678” # Solo accesible localmente en WSL
environment:
N8N_HOST=MY_DOMAIN
WEBHOOK_URL=MY_DOMAIN
GENERIC_TIMEZONE=Europe/Madrid,
N8N_RUNNERS_ENABLED=true,
N8N_PUSH_BACKEND=sse,
N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true,
,
,
,
volumes:
./n8n_data:/home/node/.n8n # Mapea la carpeta local “data” a la ruta del contenedor
./n8n_export:/home/node/workflows_export,
proxy:
image: jc21/nginx-proxy-manager
container_name: proxy
restart: unless-stopped
ports:
“80:80”
“443:443”,
“81:81”,
volumes:
./proxy_data:/data
./proxy_letsencrypt:/etc/letsencrypt,
,
depends_on:
n8n,
,
,
But you can reach the server and access it right? it’s only after that that you get the error message? Did you try to set this? N8N_PROXY_HOPS Number 0 Number of reverse-proxies n8n is running behind.