Eureka configuration stops refreshing after a failure #2831
Labels
area/provider/eureka
kind/bug/confirmed
a confirmed bug (reproducible).
priority/P2
need to be fixed in the future
status/5-frozen-due-to-age
Milestone
We have a traefik docker container connected to Eureka.
It is fetching the configuration each 30seconds and after a while it stops fetching new configurations:
Last message is:
level=error msg="Failed to refresh Provider configuration, error: 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]
Then it stops fetching the services from Eureka.
The issue is in the Eureka.go code:
https://github.com/containous/traefik/blob/6a92ac0b7b04ea69a995f7635c0a7fb81fdfc952/provider/eureka/eureka.go#L58
Once there is an issue, it stops the loop for checking new updates, rather then skipping that iteration and wait for the next tick.
The text was updated successfully, but these errors were encountered: