Questions tagged [netflix-eureka]
AWS Service registry for resilient mid-tier load balancing and failover.
1,627
questions
-1
votes
0
answers
12
views
Filter en API gateway [closed]
Estoy utilizando springboot 3.1.4 y java 17
Tengo un api gateway que registra diferentes microservicios, lo que requiero es que en el momento que yo llame uno de estos microservicios registrados en el ...
0
votes
0
answers
10
views
How to add Swagger to Api Gateway
I have a api gateway on springboot 3.1.4 version. And I have diferents microservices registered on it and they have its own swagger documentation. I need that when I access the api gateway I can see ...
0
votes
0
answers
30
views
Service is not register in Eureka because of Autofac
I am trying to register my .net 7 web api application to eureka server, but I am getting the following error, why?
Code Explain
I use Autofac for service registrations, I make autofac configurations ...
-2
votes
1
answer
17
views
StackSaga with Eureka client is failed with error - Service-to-service communication is failed [StackSaga Error Code: SS-0034]
The properties file.
spring.application.name=user-service
server.port=0
management.server.port=2077
management.endpoints.web.exposure.include=*
stacksaga.enable=true
stacksaga.transaction-id-prefix=...
0
votes
0
answers
10
views
Eureka error: No instances found after removing previously used service instance from the search
I have a sales-order-service which makes call to item-service, I am using resttemplate to make the call and the url is http://item-service/item?name= but i am getting the following error:
2023-09-23 ...
-1
votes
0
answers
68
views
TraceID for a request is not travelling between services( Using the Same Trace ID in Zipkin with Spring Boot 3.1.2 and Spring Cloud 2022.0.4 )
I'm working with Spring Boot 3.1.2 and Spring Cloud 2022.0.4, and I'm measuring metrics with an Eureka Server and Zipkin. However, I've noticed that requests I make to the customer service in Zipkin ...
0
votes
0
answers
32
views
Spring Boot upgrade from 2.7.6 to 3.1.0
We are upgrading our microservices from spring-boot version 2.7 to 3.1.0.
We are using PCF for service development and for service registry we are using Spring Cloud Service RegistryPLAN: standard ...
0
votes
0
answers
25
views
API-Gateway proxy service (Netflix Eureka Server) not showing running instances (Spring Boot Microservices)
Basically, I'm building microservice(s) architecture, where I want to implement an API gateway that acts as a proxy to route API requests to other spring boot applications from the api-gateway.
I ...
4
votes
0
answers
74
views
How to fix graalvm eureka client transport exception while registering with EurekaServer at AWS
I am doing setup at AWS for Eureka Discovery for my services running at EC2 instances inside graalVM .
But facing issue at client below
> DiscoveryClient | fetchRegistry | Disable delta property : ...
0
votes
1
answer
54
views
java.net.UnknownHostException: Failed to resolve 'inventory-service' [A(1), AAAA(28)] after 6 queries
I'm using Java 17, Spring Boot v3.1.3 and Spring Cloud stack to perform interservice communication.
I'm receiving this error when I make a POST request to http://localhost:8081/api/order
order-service ...
0
votes
1
answer
19
views
I'm unable to view Eureka dashboard
When I access http://localhost:8761/ or http://localhost:8761/eureka I get "Whitelabel Error Page".
My app class:
@SpringBootApplication
@EnableEurekaServer
public class ...
0
votes
0
answers
21
views
Deploying Eureka server and clients on Railway and cannot reach server from client anymore
I am using 2 server: Client with Vaadin 24 and spring boot 3.1.2 and Server with Spring boot 3.1.2
I add the Eureka server and make my servers as a Eureka Client and localy it worked fine, but when I ...
0
votes
0
answers
14
views
Spring Cloud OpenFeign Calls Resulting in 400 Error
When deploying an application with a Docker host network mode in our online environment, we have microservices A and B. Each server hosts only one instance of microservices A and B. When there are ...
0
votes
0
answers
51
views
Could not resolve placeholder 'HOSTNAME' in value "${HOSTNAME}.eureka
This is my deploymentservice.yaml(Kubernetes) file
apiVersion: v1
kind: ConfigMap
metadata:
name: eureka-cm
data:
eureka_service_address: http://eureka-0.eureka:8761/eureka
---
apiVersion: v1
...
0
votes
2
answers
86
views
Feign client is not working with Cloud gateway? throwing exception: java.lang.IllegalStateException: block()/blockFirst()/blockLast() are blocking
Building a simple microservice using Spring Boot version 3.1.3, which has two services one is api-gateway and another fisherman-service. API-Gateway is using cloud-gateway, eureka-cient and openfeign ...
0
votes
2
answers
76
views
How do I find a service registered with Eureka knowing its name – without tinkering with DiscoveryService?
How do I find a service registered with Eureka knowing its name? I was under the impression that once you include the @LoadBalanced annotation, the mapping is done behind the scenes for you, and all ...
0
votes
0
answers
40
views
Cannot connect to microservice from Api Gateway using Eureka
I created a microservices environment, consisting of a user microservice, an api gateway, eureka, and Rabbitmq.
I then dockerized each one and ran the images on their own EC2 instances.
Everything ...
0
votes
0
answers
38
views
Spring cloud Netflix Eureka calls are in CLOSE_WAIT State
We are using the following technologies,
Moneta boot version: 2.6.17
Spring.cloud.version: 2021.0.6
Jdk : 17
Spring cloud Netflix Eureka server
The problem is that TCP Eureka connections are stuck ...
0
votes
0
answers
13
views
Disable Eureka Server to remove registry which is not sending heartbeat
I am using Netflix Eureka Server for my spring boot microservices. However, i saw that if a microservice is unable to send heartbeat it does not marks the service as DOWN instead it shows an warning ...
0
votes
1
answer
60
views
Cannot resolve org.springframework.cloud:spring-cloud-starter-netflix-eureka-client
I am following a tutorial to learn eureka server/client with spring boot. When running the project, I'm encountering the following error.
I'm using,
Java 17
Spring boot v3.1.2
Eureka v4.0.2
This is ...
0
votes
0
answers
27
views
How to speed up registration of microservices in spring cloud eureka?
I have a spring-cloud-eureka application, respectively, I have one eureka-server service, the second gateway, the third client service.
After starting all the services, the connection between them ...
0
votes
1
answer
38
views
Want to access microservice using microservice name without port number using eureka server
When I am try to access microservice using eureka server webclient builder asking for microservicename along with no-standard port number. If I am not use port number it is generating error.
I want ...
0
votes
0
answers
8
views
Configuring Eureka Server and Microservices Communication: Error in Expanding Configuration
I'm working on a Spring 2.7.14 project, and I've successfully set up configuration between my microservices and the config server. Initially, I configured the Eureka Server using properties like:
...
0
votes
0
answers
24
views
Feign Error using Spring Cloud to connect multiple ports to server
> feign.FeignException$ServiceUnavailable: [503] during [GET] to
> [http://currency-exchange/currency-exchange/from/USD/to/INR]
> [CurrencyExchangeProxy#retrieve(String,String)]: [Load ...
0
votes
0
answers
11
views
Eureka Resizable TextAreaRow in Swift
I'm trying to create a TextAreaRow that can be resized. I'd like to implement it in my Eureka form. I want the textView to have a small handle in the bottom-left of the view that the user can grab and ...
0
votes
0
answers
41
views
Send a message to the eureka server that the client will not be available
I have implemented such a structure:
Two servers with Spring boot 3 - java 17.
A spring cloud gateway server (spring-cloud.version: 2022.0.2).
A eureka server (spring-cloud-netflix: 4.0.1).
When I ...
0
votes
0
answers
37
views
Multiple Eureka servers configuration doesn't work
I'm using spring cloud Hoxton.SR10 and spring boot 2.3.8.RELEASE
Problem:
Comma-separated eureka client bootstrap configuration doesn't work properly. When client starts it checks only first eureka ...
0
votes
2
answers
35
views
HTTP request with Eureka does not fill port
I have multiple services running in docker containers through docker-compose.
I am trying to make a http request from one service to another but it fails since the port always gets filled as '80' ...
0
votes
0
answers
71
views
Eureka Server doesn't discover multiple instances of the same client
I have very basic EurekaServer
@SpringBootApplication
@EnableEurekaServer
public class DiscoveryServerApplication {
public static void main(String[] args) {
SpringApplication.run(...
0
votes
1
answer
239
views
eureka client not registering with eureka server in spring boot 3
I used spring boot 3.0.1 with spring cloud 2022.0.0 to implement eureka server and eureka client. Both running successfully but my eureka cient not registered with eureka server. I got error like :
...
0
votes
0
answers
26
views
@LoadBalanced gives 500 Server Error for HTTP GET
I have 3 services registered with Eureka Discovery Server:
and have a Rest Template configured as :
@Configuration
public class RestTemplateConfig {
@Bean
@LoadBalanced
public RestTemplate ...
0
votes
0
answers
47
views
How to configure Spring Boot microservices with Netflix Eureka in GCP Cloud Run?
I had my work microservices with Spring Gateway and Netflix eureka in docker, but now I want to switch to GCP Cloud Run.
I'm running into a problem where my microservices register with the Eureka ...
0
votes
0
answers
24
views
I have this error "Batch update failed with HTTP status code 401; 1 replication tasks deleted" in my console for my eureka service
When I run the other service s they register and after I get this error in my console.
I rechecked my security in the eureka service and in the other services that authenticate before loggingin.
my ...
0
votes
0
answers
28
views
Why does Eureka Server set up shows Whitelabel Error Page..?
Hi I am trying to set up Eureka Server for Feign Call I have added POM.xml and application.yml files and when I run the eureka Spring Application the output is printing in the terminal and when I try ...
0
votes
0
answers
42
views
Exception when trying to connect Eureka Server with Config Server in Docker Compose ("Connection refused")
I have created a Eureka Server and a Config Server and I am trying to get the Euketa Server properties that are in the Config.
I'm trying to dockerize these two services and for that I created a ...
1
vote
2
answers
84
views
Wrong Eureka instance port registration when server.port is random
The port that the eureka-client provides to eureka-server is wrong when the server.port is defined with ${random.int}
Example:
When the server boots up the application port is set to 8050 but the ...
0
votes
0
answers
18
views
Renews threshold is strange in spring eureka
I have 3 instances of my microservice in my program, and in the Eureka panel, Renews threshold and Renewes are equal to 6. Why is Renews threshold = 6? 3 * 2 * 0.85=5.1 means the ceiling is calculated?...
0
votes
0
answers
18
views
How to verify that the eureka clients are enabled SSL or not from the InstanceInfo from another client?
My case is I want to make a request from one of eureka clients to another one. todo that I want to verify the the client has enabled SSL or not. because when I make the request from another client, I ...
0
votes
0
answers
68
views
SpringBoot config server
I created three microservices in spring boot3, 1 API Gateway, 1 Eureka Server and 1 config-server. Following are the configuration of all services -
User Microservice
server:
port: ${port:9092} ...
1
vote
1
answer
261
views
Eureka-Server Spring Boot
I created few microservices and eureka-server and register all my microservices to the eureka-server and everything is working fine in local. following configurations i am providing in my services
...
1
vote
1
answer
168
views
Spring Eureka in integration tests
We have a web service A (Java 17, spring-cloud-starter-openfeign: 3.1.6, spring-cloud-starter-netflix-eureka-client: 3.1.6, testcontainers: 1.18.0, wiremock: 2.35.0) that calls service B using ...
0
votes
0
answers
28
views
Get Eureka to respect order of Eureka servers specified in serviceUrl mapping
I would like my Eureka client to attempt to register with a Eureka server, where there is a list of potential Eureka servers. This list is purposely ordered in my application.yml in the serviceUrl ...
0
votes
0
answers
15
views
Is there a solution if a ribbon client-side load balancing is down?
Based on my understanding of load-balancing, requests are forwarded to multiple instances of a service so that if one service is down, it will be redirected to one that is available.
I have created a ...
1
vote
1
answer
133
views
unable to run a simple eureka server application
This is a ss of cloud compatibility with springboot
This is my pomxml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" ...
1
vote
2
answers
56
views
Spring boot service registry
What is the difference between Consul and Eureka service registry? Is consul capable of load balancing? Is it better to migrate from eureka to consul? If yes what benefits I'll get?
I'm trying to ...
0
votes
0
answers
17
views
Spring Cloud Gateway Service Discover Locator
i'm fetching some services that are registered in Eureka server using Service discover locator. by default service discover locator add one filter and one predicate to the routes that it creates from ...
0
votes
0
answers
9
views
Micronaut application is not registered with eureka-server
Micronaut application is not registered with eureka-server if "micronaut-serde-jackson" dependency is added.
micronaut CLI command to create project
mn create-app --build=maven --jdk=17 --...
0
votes
1
answer
202
views
How do I resolve a 'unknown-host' error with Netflix Eureka service discovery?
I am following a tutorial for the service discovery with Eureka. I downloaded my spring projects from start.spring.io. I have a Eureka server and two clients. My Eureka server picks up both services ...
0
votes
0
answers
121
views
Why is my Java 17 Spring Boot app not reaching my ConfigServer through EurekaServer?
`Hi everyone,
I have an application, Java 17, spring boot 2.6.6.
To register this application and all other we decide to use EurekaServer.
To have differente configuration file, one for each ...
0
votes
0
answers
130
views
How can I troubleshoot 'Connection refused' error when running Spring boot app with Eureka and Docker?
I'm building a microservices app with spring boot the following are my config-files (serviceregistry, configserver , cloudgateway)
cloudgateway
cloudgateway:
port: 9090
spring:
application:
...