Keller Martin

Results 11 comments of Keller Martin

I'm also seeing this issue. Did you find any resolution?

I'm on `2021.0.3`. When defining anything other than the default `localhost:8888` using `spring.config.import`, it calls my specified server, then it calls `localhost:8888`, which fails and the application will not start...

For reference, I posted this question on SO to try and get some answers. https://stackoverflow.com/questions/73570600/spring-cloud-config-client-tries-localhost8888-in-addition-to-my-specified-serv

@ryanjbaxter It's the same example. Using the aws piece or not does not change the behavior.

I'll remove it and test again, and provide the logs.

``` spring.application.name=msgw(_)application spring.config.import=configserver:https://my.server.com spring.cloud.config.label=${CONFIGURATION_GIT_BRANCH} spring.cloud.config.username=${username} spring.cloud.config.password=${password} ``` ``` 2022-09-01 10:19:58.418 | | restartedMain | INFO | Fetching config from server at : https://my.server.com | org.springframework.cloud.config.client.ConfigServerConfigDataLoader | logTo | 255 |...

I will need to create a new repo to do this - working out of my enterprise repo that is private. I'm sure I can recreate with a basic setup...

@ryanjbaxter Well, after I created a small example app, it worked as expected. So now I'm off to determine why my actual client app isn't working.

Seems my issue was trying to import the aws secret needed to access my server in the same `spring.config.import` config as my config server. So I'll just need to inject...

I've long since abandoned cognito. Far too restrictive. I do love getting emails from this thread every few months 🙃