App with multiple networks sometimes fails with "Gateway Timeout"

I found another answer of yours...

...forward traffic round robin. If Traefik only shares one network (of two) with the service, every other forward will fail.

If you set docker.network, Traefik will only use that network to forward traffic to. It can be set globally or per service.

I assume that's what's happening in my case too.