-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 server will not reregister after peer server restarts #4220
Comments
So this is replication, not apps? |
Yes replication, but I didn't test more ahead) |
Hello
It looks like it's minimal requirement ? |
Hi finally managed to provide a project to reproduce the issue Steps to reproduce
@spencergibb :Can you update label of this issue to Bug please ? Regards |
Looks like the issue is coming from AbstractJersey3EurekaHttpClient into method sendHeartBeat, response status is not check and it tries to decode a body when status is NOT_FOUND. I'm not able to find the source repository (not in spring-cloud-netflix, notrin netflix/eureka (like pom suggest)) Any clue ? Simple fix: if (response.getStatus() != 404 && response.hasEntity()) {
eurekaResponseBuilder.entity(response.readEntity(InstanceInfo.class));
} |
Closing in favor of Netflix/eureka#1540 |
Describe the bug
This is a revival of #4145 , It should have been fixed in 4.0.1
But still present in version 4.0.3
Sample
REPRODUCIBLE EXAMPLE in comment here under
Scenario :
=> this restarted server won't be able to re-register on the other server
ERROR in log of first server:
Sorry I cannot copy/paste from my company laptop.
The text was updated successfully, but these errors were encountered: