Questions tagged [netflix-eureka]

AWS Service registry for resilient mid-tier load balancing and failover.

https://github.com/Netflix/eureka/

1623 questions
10
votes
2 answers

Why using Eureka?

I was setting up microservices based on Netflix Eureka and experimenting on top of spring-cloud and after weeks of research and development the question rose! Why do I need the Eureka and spring-cloud? Why not developing your independent containers…
Mr. Crowley
  • 3,225
  • 4
  • 25
  • 28
10
votes
1 answer

feign.RetryableException: Connection reset executing GET

We have a micro services architecture deployed on AWS ECS with Docker. The API Gateway and Eureka is from Spring. We have Java/NodeJS micro services which are working perfectly through the gateway but the .NET micro service, which uses SteelToe…
10
votes
2 answers

Spring redirect url issue when behind Zuul proxy

I've been trying to get to the bottom of a strange redirection issue for the past 2 days without success. Based on the spring-cloud example projects, I've configured Eureka, Zuul and a basic service that runs behind Zuul. I have the following…
JamieB
  • 1,722
  • 18
  • 21
10
votes
2 answers

404 while using Spring cloud FeignClients

This is my setup: First service(FlightIntegrationApplication) which invoke second service(BaggageServiceApplication) using FeignClients API and Eureka. Project on github: https://github.com/IdanFridman/BootNetflixExample First…
rayman
  • 20,786
  • 45
  • 148
  • 246
9
votes
11 answers

Error creating bean with name 'org.springframework.cloud.netflix.eureka.server.EurekaServerInitializerConfiguration'

I'm trying to run a very basic Eureka Server but it gives the following error: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name…
9
votes
4 answers

Docker Swarm host cannot resolve hosts on other nodes

I am following this very excellent tutorial: https://github.com/binblee/springcloud-swarm When I deploy a stack to a Docker swarm that contains a single node (just the manager node), it works perfectly. docker stack deploy -c all-in-one.yml…
simbro
  • 3,372
  • 7
  • 34
  • 46
9
votes
1 answer

Eureka netflix - cluster server list is empty

I want to make service discovery without spring boot. So I have downloaded the netflix project example and because its gradle project I want to make it maven. So i created maven project, imported the classes and configuration and i added…
Bambus
  • 1,493
  • 1
  • 15
  • 32
9
votes
1 answer

Heroku load balancer vs Netflix zuul

According to this answer https://stackoverflow.com/a/41811770/2849613 I would like to get a little bit more information about best practices with microservices on Heroku. The question is which approach is better? Install every services as…
Maciej Treder
  • 11,866
  • 5
  • 51
  • 74
9
votes
4 answers

Spring Boot 1.4.2.RELEASE with Eureka Server - Exception: org.springframework.beans.factory.NoSuchBeanDefinitionException

I am getting the following error while trying to run Spring Boot 1.4.2.RELEASE with Eureka server: 2016-11-20 16:25:59.306 INFO 14263 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing…
paoloaq
  • 317
  • 6
  • 14
9
votes
1 answer

How to register eureka-clients with eureka-server on different hosts. Spring-boot

I'm running my eureka-server on my localhost. I'm able to register all my other on localhost running services and everthing works like expected. Now I want to register a service which is running on a linux machine. My properties looks like…
Patrick
  • 12,336
  • 15
  • 73
  • 115
9
votes
2 answers

spring eureka security Batch update failure with HTTP status code 401

I study spring cloud eureka , cloud and they works finely . But after adding security in eureka service , it met some errors . All the code and errors details is in https://github.com/keryhu/eureka-security The eureka service…
9
votes
2 answers

Register multiple Instances of a Spring Boot Eureka Client from a single host

UPDATE The README in this repo has been updated to demonstrate the solution in the accepted answer. I'm working with a simple example of a Spring Boot Eureka service registration and discovery based on this guide. If I start up one client…
mcwumbly
  • 123
  • 1
  • 1
  • 7
9
votes
2 answers

Feign Client + Eureka POST request body

I'm trying to use Feign and Eureka to forward a post request from server A to server B. Both servers are discrovered sucessfully by Eureka. This works: @Feignclient public interface MyFeignClient { @RequestMapping(value = "test", =…
Yoaz Menda
  • 1,555
  • 2
  • 21
  • 43
9
votes
1 answer

Using Eureka as a registry using REST APIs

We have been using Eureka with our Spring Boot applications for few months now. We have enabled service lookup between applications using @DiscoveryClient annotations. The registrations, lease renewals and deregistration works as expected. Recently,…
Kartik Pandya
  • 2,718
  • 2
  • 14
  • 28
8
votes
3 answers

Caused by: java.lang.ClassNotFoundException: org.springframework.boot.context.properties.ConfigurationBeanFactoryMetadata

How to fix this error? Here is it: Caused by: java.lang.ClassNotFoundException: org.springframework.boot.context.properties.ConfigurationBeanFactoryMetadata And here is my pom.xml file org.springframework.boot
Arthur
  • 575
  • 3
  • 8
  • 16