Skip to content

eureka server will not reregister after peer server restarts #4220

@ouaibsky

Description

@ouaibsky

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

  • Spring boot 3.1.5
  • Spring cloud 2022.0.4

REPRODUCIBLE EXAMPLE in comment here under

Scenario :

  • start a cluster of 2 servers.
  • Kill one server
  • restart the killed serve
    => this restarted server won't be able to re-register on the other server

ERROR in log of first server:

Caused by: com.fasterxml.jackson.databind.exc.MismatchInputStreamException: Root name ('timestamp') does not match expected ('instance') for type 'com.netflix.appinfo.InstanceInfo'
...

c.n.discovery.shared.transport.decorator.RetryableEurekaHttpClient:130 Request execution failed with message: HTTP 400 Bad Request.

Sorry I cannot copy/paste from my company laptop.
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions