You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nice tutorial. I am having Python and spring boot services on eureka but Python service is frequently coming in Last 1000 newly registered leases and no other service is coming. It is not getting heartbeat, may I know the reason or solution for the same? My register method
Hi Keijack,
Nice tutorial. I am having Python and spring boot services on eureka but Python service is frequently coming in Last 1000 newly registered leases and no other service is coming. It is not getting heartbeat, may I know the reason or solution for the same? My register method
def register_eureka(should_register=True):
server_host = 'xyz.com'
eureka_url = 'https://xyz.com/'
homePageUrl = 'https://' + server_host
healthCheckUrl = 'https://' + server_host + '/healthCheck'
eureka_client.init(eureka_server=eureka_url,
app_name='AppName',
zone='zone1',
instance_host=server_host,
instance_secure_port_enabled=True,
instance_unsecure_port_enabled=False,
instance_secure_port=443,
home_page_url=homePageUrl,
status_page_url=healthCheckUrl,
health_check_url=healthCheckUrl,
ha_strategy=eureka_client.HA_STRATEGY_RANDOM,
instance_port=8080,
should_register=should_register)
My method to get service from eureka:
def getUpInstancesFromEureka(serviceName):
The text was updated successfully, but these errors were encountered: