642 questions
1
vote
1
answer
49
views
Why does a Spring microservice instance with multiple networks register itself with ip address from a network not related to eureka?
I have a problem with containerization Spring microservices.
For example, there are two Spring services (serviceA, serviceB), database, discovery server and Spring API gateway. Two docker networks ...
0
votes
1
answer
76
views
Setting up CloudMap on Fargate services using a PublicDnsNamespace
So, I am trying to set up a set of fargate services that need to communicate with each other. One is available on the interwebs via a load balancer.
I am currently using a PublicDnsNamespace and ...
0
votes
0
answers
49
views
How to register mocked server to Discovery Testcontainer - OpenFeign & Wiremock
TL;DR:
How to mock a microservice in integration tests when using Feign and Eureka?
I am running integration tests on the Controller Layer of my Employee Service, which uses OpenFeign to create a ...
1
vote
1
answer
429
views
Service Discovery for custom container in .NET Aspire
I am tring to connect to a custom container with a client in an Aspire project. The problem is, the service discovery does not works. My expectation is, that I receive a fully configured httpClient in ...
0
votes
0
answers
42
views
How to enable DISCO for a CoreWCF service?
As we see in this answer, DISCO is a sub-service for discovering the WSDL URL for a given SOAP service.
Indeed, when we examine the HTML source of the Help page returned by a WCF service, we can see ...
2
votes
0
answers
116
views
Micronaut gets exception when connecting to eureka
When just running the default Micronaut project, it fails to connect to eureka No serializable introspection present for type PortWrapper portWrapper.
I created the project like this:
mn create-app --...
0
votes
2
answers
667
views
Spring Boot API Gateway UnknownHostException
I am unable to call a micro service through the ApiGateway. It's giving the error below:
java.net.UnknownHostException: Failed to resolve 'ORDER-SERVICE' [A(1), AAAA(28)] after 2 queries
at io....
0
votes
0
answers
160
views
Issues with Cross-Namespace Service Discovery in Kubernetes with Spring cloud kubernetes
I'm running multiple Spring Boot applications in two different Kubernetes namespaces. Here’s my configuration for all services:
SPRING_CLOUD_KUBERNETES_DISCOVERY_NAMESPACES_0: welcoming
...
1
vote
1
answer
770
views
Error configuring node-exporter DaemonSet scraping for Prometheus on kubernetes [closed]
I have set up a node-exporter DaemonSet on kubernetes as well as a service that points to these node-exporter pods IPs (I followed this tutorial).
When I run kubectl get endpoints -n monitoring, I ...
2
votes
2
answers
788
views
Troubleshooting AWS ECS Service Discovery and Nginx Reverse Proxy Configuration
I am attempting to set up an environment on AWS ECS with a React frontend served by Nginx, and two backend services (Django apps) that should communicate via Nginx as a reverse proxy. I've configured ...
2
votes
1
answer
281
views
CloudMap usage when VPC is in a centralized account [closed]
To give a high level understanding of the current environment that I am working with. We currently have a networking account that creates everything networking related which then gets shared amongst ...
1
vote
1
answer
570
views
Redirect to secondary host when primary host is unavailable in Ocelot API Gateway (C#, .NET Core, Ocelot)
I would like to use Ocelot API Gateway to connect services, but if the primary host is unavailable it needs to redirect to secondary host.
For example in below configuration i have two ports one is ...
0
votes
0
answers
205
views
How to do ip multicast /broadcast in ASP.NET Core
I have an ASP.NET Core 8 Web API service that needs to "publish" a message to the entire local network. So any client application needs to know that there is a Web API service.
What I'm ...
0
votes
0
answers
895
views
AWS ECS services communicate over service discovery
I have ECS services in the same cluster, on the same Vpc and subnet. To communicate ECS services with each other I use service discovery, my network model is awsvpc and the record type is SRV. I ...
1
vote
0
answers
95
views
Docker service communicaion using UDP broadcasts
We are building a system with multiple micro services that are forwarded by a gateway.
For service discovery we are using our own solution that listens to UDP broadcast messages from services.
It all ...
0
votes
1
answer
299
views
Using hyperledger fabric discovery service with fabric-gateway
What is the best way to go about specifying several peers that client application could contact for them to start a transaction on a channel when using fabric-gateway?
Examples I've found in docs rely ...
0
votes
1
answer
2k
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 ...
5
votes
1
answer
8k
views
Error processing condition on org.springframework.cloud.loadbalancer.config.LoadBalancerAutoConfiguration.loadBalancerClientFact IllegalStateException
Getting this Error when to run discovery server. The error especially coming from the spring cloud dependency.
java.lang.IllegalStateException: Error processing condition on org.springframework.cloud....
1
vote
0
answers
171
views
How to change to register in eureka the domain address instead of the ip
I have two services developed with Spring Boot deployed on AWS Elastic Beanstalk, when I access the url to view the services that are registered on my server using Eureka Service Discovery, my service ...
0
votes
1
answer
929
views
WiFi Direct (P2P) for Service Discovery not responding to discoverService available listeners
I have been trying to create some simple WiFi Direct prototype apps and have been unable to get WiFi Direct (P2P) for Service Discovery working.
(Android docs here: https://developer.android.com/...
2
votes
1
answer
404
views
Multiple ports in docker for docker_sd scraping for Prometheus
I found a problem with my use of docker_sd for containers with multiple exposed ports. If a container is exposing more than one port, and has metrics only on one port, docker_sd is 'discovering' each ...
1
vote
0
answers
114
views
Spring Cloud Consul Cluster connecting with spring boot
I'm working with spring cloud consul as a config server and service discovery tool in test environment. according to the consul documentation, consul server need to be at least 3 to 5 recommended ...
4
votes
0
answers
693
views
Best way to expose OpenAPI specs to Client Services
I have a set of independent micro-services, all of whom follow an API-first design approach (The Controller interfaces and Models are generated at build time with OpenAPI-3 contract as single source ...
0
votes
1
answer
356
views
Does dapr support Cross kubernetes cluster service discovery?
I know dapr has support for service discovery built in but how does that work when deployed to kubernetes in a cross cluster setup? Can't seem to find example or docs.
1
vote
1
answer
5k
views
How Do I Containerize Eureka Server In Docker
i have been struggling to use my created eureka-server container in docker...
I have gone through previous solutions and am still not getting why i cant access the url: http://localhost:8761/
I have ...