1,152 questions
1
vote
0
answers
83
views
Consul client fails UDP gossip (8301) when server runs in Docker, but works fine in bare metal
I’m trying to run a Consul server (SERVER_IP) in Docker, and have a Consul client (CLIENT_IP) on another server join the cluster.
Everything works when the server is run in bare metal, but when ...
0
votes
0
answers
39
views
How to find key/value pairs in Consul snapshot?
Hashicorp Consul do provide snapshot facility that can be used to backup and restore state of service. According to documentation snapshot command is available from CLI and API and takes snapshot in ...
0
votes
0
answers
22
views
Same service name in consul for multiple applications
I'm trying to make use of the URI scheme mongodb+srv for host discovery when our apps connect to MongoDB. With a service configuration file like this on each node I can resolve this via _mongos._tcp....
0
votes
1
answer
33
views
Consul on EKS via helm with gossipEncryption autogenerate true
I’m trying to get consul running on an EKS cluster via helm where there are taints on the nodes. My configuration has
gossipEncryption:
autoGenerate: true
which spins up a pod on a tainted node. ...
1
vote
0
answers
62
views
Spring cloud OpenFeign Integrate Consul1.20.1 cannot be called normally: ensure the path starts with '/v1/'
I wrote a simple demo case, mainly used to test the integration of spring cloud and consul. However, when using openfeign, the following error occurred when calling consul-server through consul-client....
0
votes
2
answers
230
views
Consul list services, how to filter by service name?
I'm using the http call curl -s --get http://MyConsulURL/v1/catalog/services to list services like so:
"MYSVC": [],
"MYSVC1": ["mytag1","mytag2"],
"MYSVC2&...
0
votes
0
answers
57
views
oauth2 with google not working in docker container
i have a microservice for logging in using oauth2. it gets a login request from the frontend that is routed through a gateway.
the service works just fine when i run it normally using mvn spring-boot:...
1
vote
0
answers
181
views
Connection refused in ocelot api gateway requests via consul for service discovery in docker containerize applications
I am developing a project with microservices architecture, Ocelot is being used as API gateway, Consul is for service discovery and application will be containerize with docker.
All the services are ...
0
votes
2
answers
156
views
SRV Record Integration with Consul and Nginx for Dynamic Service Discovery in Nomad
Hi I have one small confusion why SRV records are not working with Consul and Nginx.
My goal is to use Consul DNS to route traffic to services deployed via Nomad, where dynamic port allocation is used....
1
vote
1
answer
396
views
Consul Issue while installing in Kubernetes using HELM
I am trying to install consul as a client in Kubernetes and join it to my existing Consul server. When I check the logs of the consul-consul-connect-injector pod, I see the server is successflly ...
0
votes
1
answer
29
views
Vault scaling using Consul
I have the following configuration
#vault1-config.hcl
storage "consul" {
address = "http://consul1:8500"
path = "vault/"
}
listener "tcp" {
address ...
1
vote
0
answers
205
views
gRPC and Consul conflict issue with latest updated versions
When i'm tring to create and Adopting Service Discovery with Consul, for my golang microservice projects, consul and grpc conflicts with each other. When it removed grpc issue solved easyliy, but i ...
2
votes
0
answers
330
views
io.smallrye.config.ConfigValidationException when using gradle dependency "io.smallrye.reactive:smallrye-mutiny-vertx-consul-client"
I am using the gradle dependency io.smallrye.reactive:smallrye-mutiny-vertx-consul-client:3.11.0 in a Quarkus Web Service to register the service to the Consul service discovery.
Starting the service ...
1
vote
1
answer
247
views
Migrating from Consul Client to Consul Dataplane, what’s the recommended method to connect to the consul server HTTP API?
It has been some time my application is using Consul Client (daemonset) in the deployment setup with the ACL enabled. The application is using Consul SDK to register the microservices to the Consul ...
0
votes
1
answer
1k
views
Hashicorp consul: Failed to verify certificate: x509: certificate specifies an incompatible key usage
I am trying to install Consul with my private PKI.
It seems that consul does not like my server cert despite it works fine with Tomcat, LDAP server, etc.
This is the relevant consul config:
"...
1
vote
1
answer
203
views
How do I create a read-only ACL for Consul so that Datadog can monitor it?
I have a 3-node Consul setup. I've bootstrapped the ACL system as per their docs
I wish to monitor it with Datadog. The docs for Datadog's Consul integration do not call out the need for an ACL token, ...
0
votes
0
answers
326
views
Consul all service checks failing with service with server ssl enabled true
first of all I'm newby, sorry if I'm not totally correct with my question :).
I had problems when registering a microservice into consul. I had a microservice in spring, called gateway where I want to ...
5
votes
1
answer
3k
views
How to change IOptions during runtime?
I keep information about my services (host, name) in appsettings. Sometimes I want to retrieve info about host not from appsettings but from Consul. So I want to configure IOptions in runtime, check ...
0
votes
3
answers
1k
views
Can’t start consul as service
I installed consul on Ubuntu. consul version works fine, consul validate /etc/consul.d/ is valid. I'm trying to create a service that'll basically should do what this command does:
consul agent -...
0
votes
1
answer
383
views
Is there a way 2 jobs can communicate on hashicorp's nomad
I have 2 jobs:-
an api with websocket
a service that sends message to the websocket of service 1
Is there a way service 2 can send message to service 1’s endpoint?
Note:-
Service 1 is a public api, ...
0
votes
0
answers
137
views
How to avoid 404 on Consul Config Watch for Spring Boot?
I'm configuring consul config on my Spring Boot app. But after release it to production I begin to get some 404's with some consul headers:
My bootstrap.yml relevant keys:
spring:
application:
...
1
vote
0
answers
112
views
Traefik http router basics
I'm new in traefik and about to understand it basics.
I'm trying to use it with consul service discovery to balance requests between instances of simple web application. Here is my traefic config:
[...
2
votes
1
answer
1k
views
Consul connect injector cannot connect to my consul server
if i deploy a instance of a consul client using the consul helm chart into my k3s cluster. The connect-injector pod will not start properly.
k3s version: k3s version v1.25.6+k3s1 (9176e03c)
Helm ...
2
votes
1
answer
1k
views
Service Discovery not working when using WebClient with Consul
We're migrating the Spring Boot from 2 to 3 and also getting rid off Netflix Ribbon.
We're experiencing an issue while trying to discover a service using Consul.
If we rollback to Spring Boot 2 + ...
0
votes
0
answers
168
views
How can others connect to my consul data in their machine using my Ip address
I am working in spring microservice project and I am using consul for centralized configuration and service discovery. I am running consul in my local machine and I want it to be available for also ...