eureka: Eureka Java client heartbeat is failing intermittently

Getting this error :

DiscoveryJerseyProvider   : Cannot parse request body

com.fasterxml.jackson.databind.JsonMappingException: Root name 'timestamp' does not match expected ('instance') for type [simple type, class com.netflix.appinfo.InstanceInfo]

and after that

RedirectingEurekaHttpClient  : Request execution error

javax.ws.rs.WebApplicationException: HTTP 400 Bad Request

Spring Boot: 1.4.1 Spring Cloud Netflix: 1.2.4.RELEAS Please help me resolve this error.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 24

Most upvoted comments

The issue was happening if the eureka server url is incorrect - Pls reverify if you have “/eureka” at the end - http://127.0.0.1:8761/${servletcontextpath}/eureka