we are using traefik as gateway into our docker swarm. We have about 100 container running and everything works fine. Until now.
We added a container that requires websocket connections. When only one container is running, everything works as expected. When we scale the container up, the websocket cannot connect anymore.
As soon as we scale down to one container it works.
Here is the Labels section of our container:
traefik.backend.loadbalancer.method: "drr" traefik.backend.loadbalancer.swarm: "true" traefik.backend.loadbalancer.stickiness: "true" traefik.backend.loadbalancer.stickiness.cookieName: "sticky" traefik.enable: "true" traefik.docker.network: "SE" traefik.api.frontend.rule: "Host:api.XXXX(redacted)" traefik.port: "8080"
It seems that over people had similar issues but it was never quite the same and I tried all of those solutions. Maybe someone else knows what's going here.