Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Spring Cloud should not try to connect to default repo on startup #323

Open
szpak opened this issue Mar 11, 2015 · 1 comment
Open

Spring Cloud should not try to connect to default repo on startup #323

szpak opened this issue Mar 11, 2015 · 1 comment

Comments

@szpak
Copy link
Collaborator

szpak commented Mar 11, 2015

spring.cloud.config.server.enabled seems to be removed from Spring Cloud and although ConfigServerBootstrapConfiguration should not be enabled by default there is an error when starting boot-microservice (with 0.8.12 and Spring Cloud 1.0.0):

10:11:29.380 [main] ERROR o.s.c.b.c.PropertySourceBootstrapConfiguration
Could not locate PropertySource: I/O error on GET request for "http://localhost:8888/bootstrap/defaul/master":
Connection refused; nested exception is java.net.ConnectException: Connection refused
@szpak szpak self-assigned this Apr 10, 2015
@szpak
Copy link
Collaborator Author

szpak commented Apr 10, 2015

It turned out that in the next version of spring-cloud-config a client will not try to connect remote server by default. It should address our needed. This is a part of wider changes in spring-cloud-config.

I'm leaving this issue open until we switch to (not yet released) version 1.0.1.

Btw, there are incompatibilities with version 1.0.1

@szpak szpak removed their assignment Apr 10, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant