AWS Service registry for resilient mid-tier load balancing and failover.
Questions tagged [netflix-eureka]
1623 questions
13
votes
3 answers
Springboot run failing on Eureka client dependency
When I add this to my project parent pom:
org.springframework.cloud
spring-cloud-starter-netflix-eureka-client
2.1.3.RELEASE
the…

treeliked
- 383
- 1
- 4
- 15
12
votes
4 answers
Spring Config server not reachable with docker-compose until client is restarted
I have a 'discovery first' setup with Eureka, Config Server, and my client.
The issue is that these 3 services start in order, but the client-server seems to register too early, and can never find config-server. I've tried a third-party library that…

thedude19
- 2,643
- 5
- 34
- 43
12
votes
2 answers
DiscoveryClient_xxx:111-222:8080 - was unable to refresh its cache! status = Cannot execute request on any known server
DiscoveryClient_xxx:111-222:8080 - was unable to refresh its cache! status = Cannot execute request on any known server :
I run a spring cloud application on my localhost.and i register with localhost eureka.but i got the following output:
Request…

wpp
- 161
- 1
- 1
- 7
12
votes
5 answers
cannot find DiscoveryClient bean error in spring boot
2017-03-16 16:09:08.821 INFO 9104 --- [ main] com.hello.EurekaClientApplication : No active profile set, falling back to default profiles: default
2017-03-16 16:09:08.848 INFO 9104 --- [ main]…

mike
- 395
- 2
- 4
- 15
12
votes
4 answers
Unauthorized in spring boot admin
I wanted to control the microservices that are running in the Eureka server. I used spring-boot-admin for this, but I am getting the error on accessing the information about the Trace,Log etc...
The error I am getting is
Error:…

Gireesh Bhat
- 139
- 1
- 1
- 7
12
votes
4 answers
Eureka Server - list all registered instances
I have a Spring Boot application that is also a Eureka Server. I want to list all instances that have been registered to this Eureka Server. How do I do it?

Kihats
- 3,326
- 5
- 31
- 46
12
votes
1 answer
Spring HATEOAS Linking to Another Service
Spring HATEOAS works great at linking to another method in the same application. For example:
Greeting greeting = new Greeting(String.format(TEMPLATE,…
user6448130
12
votes
1 answer
Spring Cloud Zuul/Eureka dynamic route
I am using spring cloud eureka and spring cloud zuul proxy and i was wondering if there is any way to add dymanic zuul routes when a new service is register in eureka server or the only way to add a route is edit the application.yml file and restart…

alfespa17
- 335
- 1
- 3
- 12
12
votes
3 answers
Eureka service discovery without Spring-boot
I have written a spring boot micro-service and a REST client. The client is a part of another module and make RESTful calls to the micro-service. The micro-service registers with the Eureka registry and I want my client (Which is not a spring boot…

Upul Doluweera
- 2,146
- 1
- 23
- 28
12
votes
2 answers
How to mock Eureka when doing Integration Tests in Spring?
I am running a simple Junit Testing a Controller in Spring Boot. The test code looks like this:
@RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(classes =…

Keyhan
- 121
- 1
- 1
- 5
11
votes
7 answers
spring boot cloud eurka windows 10 eurkea returns host.docker.internal for client host name after latest docker upgrade
Spring Boot Cloud Disovery Question, Problem with Eureka hostname after docker upgrade on windows 10. (Note: docker is not hosting spring services, just mariadb, rabbitmq, and zipkin)
Summary
I am developing on windows 10 enterpise, latest…

Michael Schneider
- 173
- 1
- 1
- 9
11
votes
2 answers
What is instanceid in spring eureka?
I read that instance id of Eureka Clients have to be unique and when we wish to run multiple instances of the same Eureka Client, then we add this…

codingsplash
- 4,785
- 12
- 51
- 90
11
votes
4 answers
com.mongodb.MongoSocketOpenException: Exception opening socket(MongoDB, Docker)
I try to starting my application(Spring Boot + Spring Cloud + Eureka + MongoDB) with using docker image, but i can't get connection to MongoDB.
Exception:
exception "com.mongodb.MongoSocketOpenException: Exception opening socket."
I starting my…

bsuart
- 351
- 1
- 4
- 24
11
votes
1 answer
Spring Cloud Samples Eureka - Docker - Use of underscore in link
I may have encountered an interesting anomaly with the use of Spring Cloud, Eureka and Docker. I am not sure if I have uncovered an issue or if the behavior is expected, but here is the gist.
I start first with eureka running in a named docker…

chrisccoy
- 113
- 1
- 4
10
votes
3 answers
What is the use of fetchRegistry property in eureka server?
If Eureka client doesn't register itself with the eureka server by setting eureka: client: registerWithEureka: false, why does fetchRegistry property also needs to be set as false?

Daisy Das
- 103
- 1
- 4