Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spring bus doesn't update #275

Open
cakctus opened this issue Aug 16, 2024 · 0 comments
Open

Spring bus doesn't update #275

cakctus opened this issue Aug 16, 2024 · 0 comments

Comments

@cakctus
Copy link

cakctus commented Aug 16, 2024

Hi everyone!

Application name

spring.application.name=cakctus-gateway

Server port

server.port=8083

Spring config

spring.config.import=optional:configserver:http://ip:8888

spring.cloud.config.discovery.enabled=true
spring.cloud.config.discovery.service-id=CAKCTUS-CONFIG
spring.profiles.active=default

spring.main.web-application-type=reactive

When i use this config works fine,
if u use spring.config.import=optional:configserver:CAKCTUS-CONFIG instead spring.config.import=optional:configserver:http://ip:8888 and make curl -H"content-type: application/json" -d{} http://ip:8083/actuator/refresh - spring bus doesn't update

2024-08-16T11:28:13.668+03:00 INFO 19320 --- [cakctus-gateway] [oundedElastic-6] o.s.c.c.c.ConfigServerConfigDataLoader : Fetching config from server at : CAKCTUS-CONFIG
2024-08-16T11:28:13.669+03:00 WARN 19320 --- [cakctus-gateway] [oundedElastic-6] o.s.c.c.c.ConfigServerConfigDataLoader : Could not locate PropertySource ([ConfigServerConfigDataResource@27876359 uris = array['CAKCTUS-CONFIG'], optional = true, profiles = 'default']): URI
is not absolute

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants