Skip to content
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

Eureka configuration stops refreshing after a failure #2831

Closed
cbos opened this issue Feb 9, 2018 · 1 comment
Closed

Eureka configuration stops refreshing after a failure #2831

cbos opened this issue Feb 9, 2018 · 1 comment
Assignees
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

Comments

@cbos
Copy link

cbos commented Feb 9, 2018

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:
image

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.

@cbos cbos changed the title Eureka configuration stops refreshing after an issue Eureka configuration stops refreshing after an failure Feb 9, 2018
@ldez ldez self-assigned this Feb 9, 2018
@ldez ldez added priority/P2 need to be fixed in the future kind/bug/confirmed a confirmed bug (reproducible). and removed status/0-needs-triage labels Feb 9, 2018
@ldez ldez changed the title Eureka configuration stops refreshing after an failure Eureka configuration stops refreshing after a failure Feb 10, 2018
@traefiker
Copy link
Contributor

Closed by #2838.

@traefiker traefiker added this to the 1.5 milestone Feb 12, 2018
@traefik traefik locked and limited conversation to collaborators Sep 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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
Projects
None yet
Development

No branches or pull requests

4 participants