I can access the traefik dashboard, all the other docker container's reverse proxy is also working fine but for some weird reason, the stdout log just shows up empty for some reason. I have restarted traefik docker container many times but to no avail
Yes, this is the very exact docker compose i used to start the traefik container. For some more context, it all working fine earlier. i had to make some change in my config.toml file to add a new router and service but it caused some error so i reverted that change and restarted traefik container but the logs would just not show up now
I have tried restarting docker & my host as well but didn't helped
Edit - It gave me these errors on my host restart randomly. All of my container's reverse proxy + traefik dashboard still works fine, just stdout log is always empty and these errors show up once in a while
traefik | 2024-09-03T09:40:22Z ERR error="accept tcp [::]:443: use of closed network connection" entryPointName=websecure
traefik | 2024-09-03T09:40:22Z ERR Error while starting server error="accept tcp [::]:443: use of closed network connection" entryPointName=websecure
traefik | 2024-09-03T09:40:22Z ERR error="accept tcp [::]:80: use of closed network connection" entryPointName=web
traefik | 2024-09-03T09:40:22Z ERR Error while starting server error="accept tcp [::]:80: use of closed network connection" entryPointName=web
traefik | 2024-09-03T09:40:23Z ERR Failed to list containers for docker error="Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json\": context canceled" providerName=docker
traefik | 2024-09-03T09:47:34Z ERR error="accept tcp [::]:443: use of closed network connection" entryPointName=websecure
traefik | 2024-09-03T09:47:34Z ERR error="close tcp [::]:443: use of closed network connection" entryPointName=websecure
traefik | 2024-09-03T09:47:34Z ERR error="accept tcp [::]:80: use of closed network connection" entryPointName=web
traefik | 2024-09-03T09:47:34Z ERR error="close tcp [::]:80: use of closed network connection" entryPointName=web
I'm encountering the same issue. I had misconfigured the mounted logs directory, accidentally saving them to /etc/traefik in the container. Before realizing my error, I was messing around with the logs settings in traefik.yml, switching between ERROR / INFO logs and trying to get traefik to save the output logs on the mapping of my host.
After one of the container reboots, traefik just stopped printing logs to docker. I'm getting the same error you got after rebooting.
Did you ever find the reason or a fix for your issue?
Edit: My log configuration in traefik.yml is the following:
OS is Ubuntu running on an ARM VPS. Docker was installed using the apt repository. Log output was working fine, until I tried fixing the wrong bind mounts for the log files that I had set in the docker compose file.