Questions tagged [configserver]
88 questions
0
votes
0 answers
Pivotal Spring Cloud Services Dependencies v3.5.0 - 401 - Unauthorized Error - when communicating with Config Server
We recently migrated our application to Spring Boot 2.7.6 as part of this migration we also upgraded Spring Cloud Service Dependencies version to 3.5.0 (BOM)
implementation…

Sabari
- 127
- 1
- 13
0
votes
0 answers
Public variabes are unable to fetch its values after using @Refreshscope
I was able to get the public variable assigned in my one of configuration class.
But after using the annotation @Refreshscope Im getting null value instead of actual.
Im getting the value when using the getter but not getting while accessing…

oldMonk
- 85
- 1
- 1
- 8
0
votes
0 answers
Why AppData/Local/Temp Copy is created by Spring Cloud Config Server?
In the example which I am working on to test latest Spring Boot and Spring Cloud versions.
I am using below versions in my pom.xml for Config Server.
spring-boot-starter-parent - 2.7.3
java.version - 17
spring-cloud.version - 2021.0.3
The…

Mandar Pandit
- 2,171
- 5
- 36
- 58
0
votes
0 answers
Can we automatically refresh spring properties file without using actuator refresh endpoint
I am trying to implement spring cloud I want to refresh my .properties as soon as I make changes to it without hitting the actuator refresh end point.Is it possible?

Siddhant Bhatia
- 51
- 3
0
votes
1 answer
apache security - detecting and blocking probing IP addresses
Looking through my apache error logs in /var/log/apache2/error_log I am seeing a ton of IPs trying access files that don't exist. I interpret these as bots probing my web server trying to find a vulnerability file to exploit
Files…

rolinger
- 2,787
- 1
- 31
- 53
0
votes
1 answer
What is Spring Cloud Config Server consistent model?
Config Server I can choose zk, etcd, spring cloud config server, hashicrop consul. zk,etcd,consul is strong consistency. what is spring cloud config server consistent model? How to implement it?

LiLi
- 391
- 3
- 11
0
votes
0 answers
Use @Value annotation on field to have property value loaded by spring cloud config server doesn't work
I am trying to use spring config server to load additional properties on my application.
I would like to be able to use @Value annotation on field to load values from config server file but i don't know why it doesn't work. I am using version 1.2.0…
0
votes
0 answers
Spring cloud config server is reading properties from source repo is empty
Output when I try to check the values present in the repo properties by accessing the spring cloud config server
http://localhost:8888/foo/default
By accessing the above url
{
"name": "foo",
"profiles": [
"default"
],
"label": "null",
…

muthu
- 79
- 2
- 6
0
votes
0 answers
Configserver ModSecurity: How to block an ip IF it hits a certain url more than N times?
We have the problem of hackers trying to submit forged payment requests. They return the url /checkout?fail=1 when their attempts fails.
Using modsec, How can we block their ip IF they visit that url more than 3 times?

Tim
- 13
- 4
0
votes
1 answer
Restarting application does not pick up updated properties from git
I recently upgraded our application to Spring Boot 2.3.3 , Spring Cloud 3.1.5 and also updated our config server to Spring Cloud Config Server from Config Server.
The application is working fine but I am having issue with picking up properties from…

springuser144
- 1
- 1
0
votes
1 answer
How do I get multiple config files from a spring config service into a dotnetcore app using Steeltoe extension?
How can I get back multiple config files from a spring config server?
I have c# dotnetcore 3.1 application using Steeltoe.Extensions.ConfigServerCore.2.2.0
I am able to get the configurations that match the spring application name. ie if my…

mr bunny
- 3
- 1
0
votes
1 answer
Getting "can't create user databases on a --configsvr instance" error while trying to start replicaset of config server
I want to create a replicaset of confiserver. For that I performed the following steps:
1. I created two config server using the following configs:
sharding:
clusterRole: configsvr
replication:
replSetName: TestConfigServer1
net:
bindIp:…

V K
- 1,645
- 3
- 26
- 57
0
votes
1 answer
How to know which all on-premises machines were earlier or so far have been replicated using a particular Config Server?
I want to know all the servers which have been in past replicated using a particular Config Server and later on removed from replication? I can easily see which all servers are currently being replicated but I want to know the servers which were…

KRM
- 119
- 1
- 12
0
votes
1 answer
Multiple config file from Config Server in PCF
Config server supports reading yml files with the name {applicationname.yml}. But I have two yml files in my application.
a.yml
b.yml
Can I read both these yml files from config server using gitlab in PCF? I am using .net core 2.2 and…

Sumit Manna
- 541
- 1
- 5
- 16
0
votes
1 answer
Spring Boot Config Server Property File Name
I want load application properties using spring boot config server using file system. I am able to read config files like {appname}{profile}.properties using my code. But as per the requirement I need to read properties files with the file name as…

Somnath Guha
- 107
- 3
- 13