How to extend websocket response fragment size (default 4k)

We're running traefik v1.7.9 in front of Docker Swarm. Our AWS Application Load Balancer points to traefik port of related 3 nodes.

There are 2 applications communicate within websocket. Messages are json objects. Our application could return bigger size than 4k, in that case we saw the responses are shown 4k pieces.

Is it possible to configure / extend the Traefik websocket frame size?

traefik:1.7.9 \
--docker \
--accesslog \
--web \
--metrics \
--metrics.prometheus \
--ping \
--docker.swarmmode \
--docker.domain=localhost \
--docker.swarmModeRefreshSeconds=30 \
--docker.watch \
--api.statistics \
--logLevel=DEBUG

labels:
        - "team=mbl"
        - "traefik.backend=<mblbackend>"
        - "traefik.frontend.rule=Method:GET,POST,PUT,DELETE;Host:<host>;PathPrefix:<path>"
        - "traefik.docker.network=traefik-net"
        - "traefik.port=80"
1 Like