You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Disclaimer: I already posted this in the community forum but now realize that it's probably a bug and might fit better here, so forgive me the cross-post.)
I have got a Traefik instance, hosted in Docker, that is supposed to forward all traffic 1:1 to a server behind it. This works, everything arrives at IP_A successfully, which also responds to those requests. However, if I change the Traefik config at runtime from IP_A to IP_B, it seems to work at first, too. Plus, when I look at the (only temporarily activated) dashboard of Traefik, then the address for the service (IP_B) is also correctly shown.
What did you see instead?
All traffic continues to go to IP_A, it never arrives at IP_B although that one is now configured. Only when I stop and restart the container does the change take effect.
In other words: The instance starts with IP_A as configured. During runtime I change the address to IP_B, which, according to the logs and the dashboard, is applied successfully, but then effectively ignored as any traffic is still and only routed to IP_A.
Unfortunately, I don't have a development machine available right now. Your configuration looks quite similar to mine as posted above, but it's not exactly the same. Maybe disabling the debug mode would have the (not so) desired effect? Anyway, I can try to reproduce it once again in a couple of days.
@jspdown You are right, I can reproduce the correct behavior now, too. Even when testing it with my config, without using the debug mode. I have no idea what went wrong back initially.
Welcome!
What did you do?
Hello everyone!
(Disclaimer: I already posted this in the community forum but now realize that it's probably a bug and might fit better here, so forgive me the cross-post.)
I have got a Traefik instance, hosted in Docker, that is supposed to forward all traffic 1:1 to a server behind it. This works, everything arrives at
IP_A
successfully, which also responds to those requests. However, if I change the Traefik config at runtime fromIP_A
toIP_B
, it seems to work at first, too. Plus, when I look at the (only temporarily activated) dashboard of Traefik, then the address for the service (IP_B
) is also correctly shown.What did you see instead?
All traffic continues to go to
IP_A
, it never arrives atIP_B
although that one is now configured. Only when I stop and restart the container does the change take effect.In other words: The instance starts with
IP_A
as configured. During runtime I change the address toIP_B
, which, according to the logs and the dashboard, is applied successfully, but then effectively ignored as any traffic is still and only routed toIP_A
.What version of Traefik are you using?
Version: 2.10.7
Codename: saintmarcelin
Go version: go1.21.5
Built: 2023-12-06T15:54:59Z
OS/Arch: linux/amd64
(Same with the latest 2.11.* build from Docker Hub.)
What is your environment & configuration?
docker-compose.yml
My
/config/routes.yml
:If applicable, please paste the log output in DEBUG level
The text was updated successfully, but these errors were encountered: