Hello everyone, I’m knew to n8n as of today and I was following the instructions online from an expert on how to setup and install n8n on Hostinger. I followed every single step until I got to where you click to upload a template and I found the message Connection Lost and it blinks like if is trying to connect. I went thru every forum I could possible find including ChatGPT and I got to the point I was able to edit the docker-compose.yml file thru the browser terminal from Hostinger. After all the information I could find online still says Connection Lost. Any help would be appreciate it.
These are the values I changed based on what I found online:
ports:
- “5678:5678”
environment:
- N8N_HOST=0.0.0.0
- N8N_PORT=5678
- N8N_PROTOCOL=https
- N8N_BASIC_AUTH_ACTIVE=true
- N8N_RUNNERS_ENABLED=true
- N8N_SECURE_COOKIE=false
- N8N_BASIC_AUTH_USER=myusername
- N8N_BASIC_AUTH_PASSWORD=mypassword
- NODE_ENV=production
- WEBHOOK_UL=https://n8n.srv851576.hstgr.cloud/
- GENERIC_TIMEZONE=America/Chicago
These were the original values:
ports:
- “127.0.0.1:5678:5678”
environment:
- N8N_HOST=${SUBDOMAIN}.${DOMAIN_NAME}
- N8N_PORT=5678
- N8N_PROTOCOL=https
- NODE_ENV=production
- WEBHOOK_URL=https://${SUBDOMAIN}.${DOMAIN_NAME}/
- GENERIC_TIMEZONE=${GENERIC_TIMEZONE}