keijack / python-eureka-client

A eureka client written in python. Support registering your python component to Eureka Server, as well as calling remote services by pulling the the Eureka registry.
MIT License
183 stars 43 forks source link

about eureka down questions #56

Closed Yhmmmm closed 3 years ago

Yhmmmm commented 3 years ago

I use py_eureka_client in flask and register service to eureka, then to send heratbeat, but for some time, eureka_client raise Exception [ py_eureka_client.eureka_client.EurekaServerConnectionException: <urlopen error All eureka servers in all zone are down!> ], and eureka lost the service. I always use callback method to stop eureka_client and restart init, bug remind me eureka_client is running, i dont what i should do image

keijack commented 3 years ago

This error means that the component cannot send heartbeat to your eureka server, that means that your eureka server goes down or the heartbeat url is not quite right.

Yhmmmm commented 3 years ago

but i restart the server, its ok, for some time, then will down, i dont kown why

keijack commented 3 years ago

Did all the heartbeat connections not work? After you restarted your flask server, would the error occurr in 30 seconds?

Yhmmmm commented 3 years ago

i want kown the eureka link address what should i used, i think there is something wrong with the link address