Common errors reported by Eureka in spring cloud

1.Consider the following:
     If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
     If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).

The reason for this is that the service provider starts earlier than Eureka, or Eureka service may not start, and then start the service provider after Eureka starts.

2.No instances found of configserver (config-server)

The annotation @ enablediscoveryclient may be missing from the startup class

  3.Cannot execute request on any known server

This error is due to the missing annotation @ enableeurekaserver in the Eureka startup class

 

 

 

Read More: