Tcp router working but throwing errors: connection reset by peer / use of closed network connection

Hi, I would like to configure Traefik to be the TCP router in front of transmission on port 51413/tcp. Transmission seems to be fully working, the torrents are able to be downloaded and also uploaded, but my logs are filling with error messages. Should I be concerned, or just ignore the messages?

Logs

2024-08-21T11:31:27-06:00 ERR github.com/traefik/traefik/v3/pkg/tcp/proxy.go:75 > Error while handling TCP connection error="writeto tcp 192.168.99.254:46742->192.168.99.14:51413: read tcp 192.168.99.254:46742->192.168.99.14:51413: read: connection reset by peer"
2024-08-21T11:31:27-06:00 DBG github.com/traefik/traefik/v3/pkg/tcp/proxy.go:104 > Error while terminating TCP connection error="close tcp 192.168.99.254:46742->192.168.99.14:51413: use of closed network connection"
2024-08-21T11:31:27-06:00 DBG github.com/traefik/traefik/v3/pkg/tcp/proxy.go:41 > Handling TCP connection address=192.168.99.14:51413 remoteAddr=41.165.16.146:38085
2024-08-21T11:31:27-06:00 DBG github.com/traefik/traefik/v3/pkg/server/service/loadbalancer/wrr/wrr.go:196 > Service selected by WRR: b08a943dfd7adcad

I can confirm the tcp router is receiving connections:

$ curl -s http://127.1:8080/metrics | grep tcp-transmission
traefik_open_connections{entrypoint="tcp-transmission",protocol="TCP"} 25

I can make the errors stop by removing the port definition on the traefik container to no longer publish 51413, but then no more connections are received by the tcp router:

$ curl -s http://127.1:8080/metrics | grep tcp-transmission
traefik_open_connections{entrypoint="tcp-transmission",protocol="TCP"} 0

The hosts are:

  • traefik: 192.168.99.254
  • transmission: 192.168.99.14

Configuration (abbreviated)

services:
  traefik:
    command:
      - --entrypoints.tcp-transmission.address=:51413
    ports:
      - target: 51413
        published: 51413
        mode: host

  transmission:
    ports:
      - "9091:9091"
      - "51414:51413/tcp"
    labels:
      - "traefik.enable=true"
      - "traefik.tcp.routers.tcp-transmission-rtr.entrypoints=tcp-transmission"
      - "traefik.tcp.routers.tcp-transmission-rtr.rule=HostSNI(`*`)"
      - "traefik.tcp.routers.tcp-transmission-rtr.service=tcp-transmission-svc"
      - "traefik.tcp.services.tcp-transmission-svc.loadbalancer.server.port=51413"

Share your full Traefik static and dynamic config.