Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spring Consul app crashes when there is no agent up

We have started to explore Spring Cloud Consul and we see that if the Consul agent is down the app crashes when it started... is it the expected behavior? we have expected that the app will wait to the agent to be up and retry at least several times or at least that this behavior will be configurable...

Also if the agent was up at start it successfully registers the service in the catalog but if at some point the agent went down even for several seconds the app will fail to talk the agent and will not retry to talk with the agent again... This cause a scenario that the app is up but it is no longer talking to the agent again we would expect a retry...

like image 492
ilay zeidman Avatar asked Oct 20 '25 14:10

ilay zeidman


1 Answers

It is an open issue that we are tracking.

like image 163
spencergibb Avatar answered Oct 23 '25 07:10

spencergibb



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!