-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue when traefik.backend.loadbalancer.swarm=true #2138
Comments
Hello I have the same problem here, random error 502. I tried to set the value to false, but it does not solve the bug. It's totally random… There are no specific "patterns" giving those errors :/ And as a +, the LB is routing the domain to the wrong service… Ex. domain1.com give domain2.com (and it create some ssl issues…) |
The typical error on the traefik logs are the following
|
Any update on this issue, i've experienced this issue as well. When have multiple backends are defined only shows one and there is uncertnity if the backends are truly taking traffic and available. |
Same problem here as @benjamin2k. I have a docker swarm with several services, with 3 replicas each one, but I'm only noticing this problem in a couple of services and it seems totally random. Some times gives 502 or routes to the wrong service. If I can provide you more information please tell me! Next week I will try Traefik 1.4.2. |
@SantiMunoz Indeed this problem seems to be fixed by the PR #2314 which is merged in version 1.4.2. I close the issue. |
Do you want to request a feature or report a bug?
What did you do?
Running 2+ backends (Docker swarm 17.06) with the label
traefik.backend.loadbalancer.swarm=true
What did you expect to see?
Get 1 frontend with 2+ backends
What did you see instead?
1 frontend with only 1 backend.
PS : I have try with whoiam image and scale = 3, the LB don't working too.
Output of
traefik version
:What is your environment & configuration (arguments, toml, provider, platform, ...)?
Extra
Everything is working when
traefik.backend.loadbalancer.swarm
is set to false.The text was updated successfully, but these errors were encountered: