Hi,
First, I upgraded spring cloud from Hoxton. SR12 to 2021.0.2, and spring cloud netflix from 2.2.10. RELEASE to 3.1.2. Now, The discovery client are occasionally unable to send heartbeat!, It will recover automatically after 5 seconds. This phenomenon happens about 10 times a day. Could you help on this:
My code for Eureka Server yml file is below:
eureka: instance: hostname: ${HOSTNAME:localhost} lease-renewal-interval-in-seconds: 10 lease-expiration-duration-in-seconds: 20 secure-port-enabled: true secure-port: ${server.port} non-secure-port-enabled: false client: registerWithEureka: false fetchRegistry: false serviceUrl: defaultZone: https://${eureka.instance.hostname}:${server.port}/eureka/ server: waitTimeInMsWhenSyncEmpty: 0 enableSelfPreservation: false dashboard: enabled: true
The discovery client application.yml file is as below:
eureka: client: register-with-eureka: true service-url: defaultZone: ${EUREKA_SERVER_URI:@spring.eureka.address@/eureka/} instance: hostname: ${HOSTNAME:localhost}
Comment From: spencergibb
If you'd like us to spend some time investigating, please take the time to provide a complete, minimal, verifiable sample (something that we can unzip attached to this issue or git clone, build, and deploy) that reproduces the problem.
Comment From: spring-cloud-issues
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Comment From: spring-cloud-issues
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.