Failed Connection with Eureka Server Template

slipknot20TRIAL

a year ago

This moment running my proyect directly mi count github, but I have error with de active microservices in the template Eureka Server in railway:

2024-05-24 17:35:01.883 INFO 7 --- [freshExecutor-0] c.n.d.s.t.d.RedirectingEurekaHttpClient : Request execution error. endpoint=DefaultEndpoint{ serviceUrl='http://spring-cloud-netflix-eureka-production-2768.up.railway.app/}, exception=Error while extracting response for type [class org.springframework.cloud.netflix.eureka.http.EurekaApplications] and content type [application/json]; nested exception is org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Root name ('timestamp') does not match expected ('applications') for type [org.springframework.cloud.netflix](org.springframework.cloud.netflix).eureka.http.EurekaApplications; nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Root name ('timestamp') does not match expected ('applications') for type [org.springframework.cloud.netflix](org.springframework.cloud.netflix).eureka.http.EurekaApplications

at [Source: (org.springframework.util.StreamUtils$NonClosingInputStream); line: 1, column: 2] (through reference chain: org.springframework.cloud.netflix.eureka.http.EurekaApplications["timestamp"]) stacktrace=org.springframework.web.client.RestClientException: Error while extracting response for type [class org.springframework.cloud.netflix.eureka.http.EurekaApplications] and content type [application/json]; nested exception is org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Root name ('timestamp') does not match expected ('applications') for type [org.springframework.cloud.netflix](org.springframework.cloud.netflix).eureka.http.EurekaApplications; nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Root name ('timestamp') does not match expected ('applications') for type [org.springframework.cloud.netflix](org.springframework.cloud.netflix).eureka.http.EurekaApplications

in my yml have this:

eureka:
instance:
instance-id: ${spring.application.name}:${spring.application.instanceid:${random.value}} prefer-ip-address: true client: service-url: defaultZone: http://${EUREKASERVER_DOMAIN}
fetch-registry: true
register-with-eureka: true

0 Replies

Failed Connection with Eureka Server Template - Railway Help Station