Traefik errors when starting Docker-Compose

Hello everyone,

I recently bought a Raspberry Pi 4 to install a n8n server on it.
I ran in a lot of issues but thanks to Joff, I could fix some.

I’m a newbie when it comes to Raspberry Pi/Servers.

Actually, I finally found a way to install n8n via Docker Compose and get it running. When connecting to my domain, nothing happens.

After looking at the Docker Compose logs, I find those errors →
traefik_1 | time=“2021-09-17T17:54:46Z” level=info msg=“Configuration loaded from flags.”
traefik_1 | time=“2021-09-17T17:57:25Z” level=error msg=“accept tcp [::]:443: use of closed network connection” entryPointName=websecure
traefik_1 | time=“2021-09-17T17:57:25Z” level=error msg=“accept tcp [::]:8080: use of closed network connection” entryPointName=traefik
traefik_1 | time=“2021-09-17T17:57:25Z” level=error msg=“accept tcp [::]:80: use of closed network connection” entryPointName=web
traefik_1 | time=“2021-09-17T17:57:25Z” level=error msg=“close tcp [::]:8080: use of closed network connection” entryPointName=traefik
traefik_1 | time=“2021-09-17T17:57:25Z” level=error msg=“close tcp [::]:443: use of closed network connection” entryPointName=websecure
traefik_1 | time=“2021-09-17T17:57:25Z” level=error msg=“close tcp [::]:80: use of closed network connection” entryPointName=web

Did anyone had those errors and found a way to fix it ? I followed the n8n tutorial for setting up a server :slight_smile:

Hey @Eeroshi,

I just went through this post and one of the members suggested using HTTP over TLS. 2.3 - Errors on container start: Is this someting to worry about? - Traefik v2 - Traefik Labs Community Forum

Maybe this can help

Probably worth mentioning I have been chatting to @Eeroshi on Discord and they are now taking the PM2 / NGINX route instead.

Found a typo in the blogpost there is no , after the password near the end. Just working on forwarding port 443 to the pi and all should be good.

2 Likes

This is solved now… went with pm2 with an nginx proxy in front.

1 Like

Hey Harshil,

As said Jon, I found a way to get it working using PM2 & Nginx.
Thanks a lot for your help !

2 Likes

Thanks @jon, for pointing out the typo. Fixed it!

@Eeroshi, that’s fantastic! Looking forward to see your automation workflows!

Have fun :tada: