question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to use latest spring cloud version for config server

See original GitHub issue

Describe the bug I am creating config-server with latest spring cloud version

image

Sample

security:
  user:
    username:
    password: 

spring:
  application:
    name: config-server

server:
  port: 8888

management:
  info:
    env:
      enabled: true
    build:
      enabled: true

  endpoint:
    health:
      show-details: always

  endpoints:
    web:
      exposure:
        include: "*"
    jmx:
      exposure:
        include: "*"

---

spring:
  profiles:
    active: composite
  cloud:
    config:
      server:
        composite:
          - type: git
            uri: <git url>
            username: ${GIT_USER}
            password: ${GIT_PASS}
            search-paths: '{application}'
            cloneOnStart: true
            force-pull: true
            order: 2

Please address this as soon as possible. it is hard stopper to use latest spring version

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
spencergibbcommented, Mar 30, 2021

@voodemsanthosh 2 items. bootstrap.yml is no longer read by default. See the release notes for details. Renaming it to application.yml fixes the issue.

Also, config server does not support running as a webflux application, watch #885 if your are interested in that.

0reactions
voodemsanthoshcommented, Mar 31, 2021

Thank you @spencergibb, it is working with your suggestions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spring cloud, config server unable to start - Stack Overflow
When I am trying to start SpringBoot main application, getting the below exception. Why am I getting this excpetion. Exception: java.lang.
Read more >
Spring Cloud Config Server
Spring Cloud Config provides server-side and client-side support for externalized ... The server is embeddable in a Spring Boot application, by using the ......
Read more >
Troubleshooting guide for Azure Spring Apps | Microsoft Learn
Azure Spring Apps is the new name for the Azure Spring Cloud service. ... ApplicationContextException: Unable to start web server.
Read more >
Quick Intro to Spring Cloud Configuration - Baeldung
In some cases, we may want to fail the startup of a service if it isn't able to connect to the Config Server....
Read more >
Reading properties from Spring Cloud Config Server - Quarkus
Roughly 15 minutes. An IDE. JDK 11+ installed with JAVA_HOME configured appropriately. Apache Maven 3.8.6. Optionally the Quarkus CLI if you want to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found