These are chat archives for spring-cloud/spring-cloud
I'm running Spring Cloud parts in Cloud Foundry, I have config deployed to
config.10.244.0.34.xip.io, but eureka is failing to get it:
2015-07-17T11:56:01.94+0300 [App/0] OUT 2015-07-17 08:56:01.945 ERROR 33 --- [ main] c.c.c.ConfigServicePropertySourceLocator : Could not locate PropertySource: I/O error on GET request for "http://config.10.244.0.34.xip.io/eureka/cloud":Connection refused; nested exception is java.net.ConnectException: Connection refused
any ideas why? If I open this URL in browser I see property sources for it
it's VM created by Cloud Foundry where all apps are deployed
Still not sure that problem is related to Spring Cloud, but since I have no idea where to ask about CF I decided to ask here first
Figured out. CF by default blocking any outbound traffic from container to non-public networks. Result - spring cloud clients are unable to connect to other services. Fixed with security group rule.
Speaking about CF... Maybe it's reasonable to support it as a discovery registry? We can ask it for the list of available instances by service id, we can get health information about them, etc... So why Eureka?
timeout trying to get value for MonitorConfig, is it ok?
DiscoveryClientthat uses CF apis (see spring-cloud-cloudfoundry)
bootstrap.ymlof config client, but that doesn't do anything for me. I can only set the environment through
spring.cloud.config.envdoesn't override that. You can have a look here (line 9) github repo Could anyone explain what's going on? @dsyer @spencergibb
spring.cloud.config.envin the user guide
All of them can be overridden by setting spring.cloud.config.* (where * is "name", "env" or "label"). The "label" is useful for rolling back to previous versions of configurationhttp://cloud.spring.io/spring-cloud-config/spring-cloud-config.html#_locating_remote_configuration_resources