Traefik issues in docker swarm

I have a docker swarm using gkoerks old method https://github.com/gkoerk/QNAP-Docker-Swarm-Setup running plex, autopirate, hass, traefik. Static DNS via cloudflare. I believe my qnap went through an automatic update to QTS 5.1.4.2596 tonight. It has been for the previous 3 years. I suddenly am unable to access my stuff. The containers are running in in container station but I can't access them via dns or via static server ports. Error output in traefik.log
"time="2023-12-26T20:16:20Z" level=error msg="accept tcp [::]:8080: use of closed network connection" entryPointName=traefik
time="2023-12-26T20:16:20Z" level=error msg="accept tcp [::]:443: use of closed network connection" entryPointName=https
time="2023-12-26T20:16:20Z" level=error msg="accept tcp [::]:80: use of closed network connection" entryPointName=http
time="2023-12-26T20:16:20Z" level=error msg="close tcp [::]:443: use of closed network connection" entryPointName=https
time="2023-12-26T20:16:20Z" level=error msg="close tcp [::]:80: use of closed network connection" entryPointName=http
time="2023-12-26T20:16:20Z" level=error msg="close tcp [::]:8080: use of closed network connection" entryPointName=traefik
time="2023-12-26T20:33:55Z" level=error msg="field not found, node: service: api@internal" providerName=docker container=traefik-app-vske8pnz6jfy23l6ua35o6u8a
time="2023-12-26T20:34:10Z" level=error msg="field not found, node: service: api@internal" providerName=docker container=traefik-app-vske8pnz6jfy23l6ua35o6u8a
time="2023-12-26T20:34:25Z" level=error msg="field not found, node: service: api@internal" providerName=docker container=traefik-app-vske8pnz6jfy23l6ua35o6u8a
time="2023-12-26T20:34:40Z" level=error msg="field not found, node: service: api@internal" providerName=docker container=traefik-app-vske8pnz6jfy23l6ua35o6u8a
time="2023-12-26T20:34:55Z" level=error msg="field not found, node: service: api@internal" providerName=docker container=traefik-app-vske8pnz6jfy23l6ua35o6u8a
"time="2023-12-26T20:16:20Z" level=error msg="accept tcp [::]:8080: use of closed network connection" entryPointName=traefik
time="2023-12-26T20:16:20Z" level=error msg="accept tcp [::]:443: use of closed network connection" entryPointName=https
time="2023-12-26T20:16:20Z" level=error msg="accept tcp [::]:80: use of closed network connection" entryPointName=http
time="2023-12-26T20:16:20Z" level=error msg="close tcp [::]:443: use of closed network connection" entryPointName=https
time="2023-12-26T20:16:20Z" level=error msg="close tcp [::]:80: use of closed network connection" entryPointName=http
time="2023-12-26T20:16:20Z" level=error msg="close tcp [::]:8080: use of closed network connection" entryPointName=traefik
time="2023-12-26T20:33:55Z" level=error msg="field not found, node: service: api@internal" providerName=docker container=traefik-app-vske8pnz6jfy23l6ua35o6u8a
time="2023-12-26T20:34:10Z" level=error msg="field not found, node: service: api@internal" providerName=docker container=traefik-app-vske8pnz6jfy23l6ua35o6u8a
time="2023-12-26T20:34:25Z" level=error msg="field not found, node: service: api@internal" providerName=docker container=traefik-app-vske8pnz6jfy23l6ua35o6u8a
time="2023-12-26T20:34:40Z" level=error msg="field not found, node: service: api@internal" providerName=docker container=traefik-app-vske8pnz6jfy23l6ua35o6u8a
time="2023-12-26T20:34:55Z" level=error msg="field not found, node: service: api@internal" providerName=docker container=traefik-app-vske8pnz6jfy23l6ua35o6u8a
GitHub
GitHub - gkoerk/QNAP-Docker-Swarm-Setup: A guide for configuring th...
A guide for configuring the docker swarm stack on QNAP devices with Container Station - GitHub - gkoerk/QNAP-Docker-Swarm-Setup: A guide for configuring the docker swarm stack on QNAP devices with ...
6 Replies
karleksbarn
karleksbarn6mo ago
Through the asssistance of another user I've attempted to update pt 3 /opt/etc/profile to change docker-compose to docker compose of gkoerks guide. We've checked and recreated the network for swarm. Traefik appears to be set up correctly according the person that has assisted me.
AustinYQM
AustinYQM6mo ago
- "traefik.http.routers.traefik.service: api@internal" That should be = not : - "traefik.http.routers.traefik.service=api@internal"
karleksbarn
karleksbarn6mo ago
@AustinYQM Thank you for the reply! That actually solved the error in the log, but this previous version has functioned. I'm guessing qnap must have broken something because it still doesn't work.
AustinYQM
AustinYQM6mo ago
Could have also been a change to docker engine that effected how it parsed the yaml. Not sure if the QTS update brought a Docker Engine update.
karleksbarn
karleksbarn6mo ago
I'm unsure. I know that certain commands have been updated but my start up scripts are updated to reflect some changes ie docker-compose -> docker compose. Right now I can run traefik but I can't access it internally or externally My inability to access my swarm is related to the update, but not sure on what changed. Change log doesn't reflect docker engine update.
AustinYQM
AustinYQM6mo ago
Change the Traefik logging level to debug, it will spit out (much much) more and might be helpful. Are you using proxies on your DNS via cloudflare, are you sure the whitelist is complete?