Questions tagged [service-discovery]

Network protocols which allow automatic detection of devices and services offered by these devices on a computer network.

Service discovery protocols are network protocols which allow automatic detection of devices and services offered by these devices on a computer network. Service discovery requires a common language to allow software agents to make use of one another's services without the need for continuous user intervention.

Source: http://en.wikipedia.org/wiki/Service_discovery

618 questions
3
votes
1 answer

How to setup a single node Consul server/client?

What configuration is required to achieve this? It's possible using the "development mode" mentioned here - https://learn.hashicorp.com/consul/getting-started/agent (but not recommended for production). I've tried setting this up but I'm not sure…
Chris Stryczynski
  • 30,145
  • 48
  • 175
  • 286
3
votes
2 answers

Failing consul health check on local machine

I have Consul running via docker using docker-compose version: '3' services: consul: image: unifio/consul:latest ports: - "8500:8500" - "8300:8300" volumes: - ./config:/config - ./.data/consul:/data …
MrFoh
  • 2,693
  • 9
  • 42
  • 77
3
votes
1 answer

Why is Consul client necessary?

For Eureka, services can register themselves to Eureka server directly. Why should we send request to Consul client instead of Consul server? Are there any problems to let services communicate with Consul server directly? Appreciate your help,…
Neo
  • 2,196
  • 5
  • 32
  • 58
3
votes
0 answers

Service discovery says access-denied

I am trying to query chaincode from nodejs sdk. But it throws an error 2019-01-18T12:21:05.586Z - error: [Channel.js]: Channel:secc.public received discovery error:access denied 2019-01-18T12:21:05.587Z - error: [Channel.js]: Error:…
Akshay Sood
  • 6,366
  • 10
  • 36
  • 59
3
votes
1 answer

Dynamic service name with ocelot and consul

I am using Ocelot and API gateway with Consul and the service discovery. I am registering services in the Consul with dynamic names like : service.name.1234 and service.name.5678 This services are statful and not meant to be scaled at all Since i am…
IB.
  • 1,019
  • 3
  • 13
  • 21
3
votes
1 answer

Android NSD: Why service type don't match

I've created an app to test the network service discovery (NSD) on android. The failing scenario Two devices running the app. I hit register on the first device and after I see a toast that confirms the registration I hit discover on the…
Themelis
  • 4,048
  • 2
  • 21
  • 45
3
votes
2 answers

Discoverabilty of Tasks in Docker Swarm

I am running a small Docker Swarm running a service that has 2 replicas. Within that service, the "task-1" of this service need to talk to the "task-2" of the same service, but I don't find a way to achieve this First, I want to avoid to set the…
Martin Barth
  • 796
  • 4
  • 13
3
votes
1 answer

Achieve Fault Tolerance with Consul Cluster

I have created consul server cluster using different ports in localhost. I used below commands for that. server 1: consul agent -server -bootstrap-expect=3 -data-dir=consul-data -ui -bind=127.0.0.1 -dns-port=8601 -http-port=8501 -serf-lan-port=8303…
3
votes
1 answer

Docker Communication between service of one stack to another

I am trying out a simple service discovery scenario using different docker stacks. Let's assume I am having 2 stacks. For simplicity purpose,I am naming them as stackA and stackB. StackA has a service called 'serviceA' and StackB has a service…
Vivek Shukla
  • 711
  • 9
  • 18
3
votes
0 answers

Is there any easy way to implement multicast DNS using javascript and browser?

Is there any easy way to implement multicast DNS using javascript and browser? I'm seeing zeroconf /polo which depends on node.js, but I'm looking for the solution for multicast DNS/ Service discovery like zeroconf/polo which will work on…
3
votes
1 answer

libraries in python and upnp

I want to develop some protocols that helps in the functioning of UPNP(universal plug and play) and simple service discovery protocol. I need to find the libraries for python and upnp so that I can read them and it becomes easy for me to understand…
KIT
  • 41
  • 2
  • 5
3
votes
0 answers

Can Spring set datasource from service discovery?

Before I start trying to programmatically set datasource configuration in my app using service discovery, I would like to be sure this functionality is not already managed by Spring. In my case I am using Consul as the discovery service. So I read…
3
votes
1 answer

Spring Cloud Consul's discovery client returns failing instances

I use Spring Cloud Consul to discover the services I need for my application. The discovery client returns all registered instances for the requested service although I also returns failing instances. Consul itself marks the failing instances…
Oliver
  • 3,815
  • 8
  • 35
  • 63
3
votes
0 answers

How to achieve long polling with multiple servers

We have a service that runs on multiple servers. Clients connect to any of these servers to wait for some event. The connection between the client and server is long-polling style. Meaning the server will not respond, until there is event happening.…
Jiaguo Fang
  • 333
  • 1
  • 2
  • 11
3
votes
1 answer

How to use consul/registration for service discovery on kubernetes nodes?

I want to use consul/registration using registrator for service discovery on my kubernetes nodes. Need help in how should I setup consul. I have a deployed kubernetes with 1 master and 2 minions on openstack using kubeadm. For consul and…
sarora
  • 41
  • 2
  • 6