java.lang.IllegalStateException: Could not locate PropertySource and the fail fast property is set, failing

GitHub | viniciusboson | 5 months ago
  1. 0

    Default generated application fails to startup due failure to connect to Registry

    GitHub | 5 months ago | viniciusboson
    java.lang.IllegalStateException: Could not locate PropertySource and the fail fast property is set, failing
  2. 0

    I/O error on GET request for "http://localhost:8761/config/uaa/dev/master"

    Stack Overflow | 3 months ago | 王子1986
    java.lang.IllegalStateException: Could not locate PropertySource and the fail fast property is set, failing
  3. 0

    GitHub comment 3114#230733266

    GitHub | 5 months ago | Opalo
    java.lang.IllegalStateException: java.net.ConnectException: Connection refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception on reloading remote spring boot application with Intellij IDEA

    Stack Overflow | 5 months ago | Opal
    java.lang.IllegalStateException: java.net.ConnectException: Connection refused

  1. tvrmsmith 1 times, last 1 month ago
  2. musketyr 2 times, last 2 months ago
  3. Malcshour 1 times, last 6 months ago
25 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection refused

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    HttpURLConnection.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:589)
    7. java.net.Socket.connect(Socket.java:538)
    8. sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    9. sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
    10. sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
    11. sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
    12. sun.net.www.http.HttpClient.New(HttpClient.java:308)
    13. sun.net.www.http.HttpClient.New(HttpClient.java:326)
    14. sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169)
    15. sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
    16. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
    17. sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933)
    17 frames
  3. Spring
    InterceptingClientHttpRequest$InterceptingRequestExecution.execute
    1. org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:80)
    2. org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
    3. org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
    4. org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:93)
    4 frames
  4. org.springframework.cloud
    ConfigServicePropertySourceLocator$BasicAuthorizationInterceptor.intercept
    1. org.springframework.cloud.config.client.ConfigServicePropertySourceLocator$BasicAuthorizationInterceptor.intercept(ConfigServicePropertySourceLocator.java:179)
    1 frame
  5. Spring
    RestTemplate.exchange
    1. org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:85)
    2. org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:69)
    3. org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
    4. org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
    5. org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:596)
    6. org.springframework.web.client.RestTemplate.execute(RestTemplate.java:557)
    7. org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:475)
    7 frames
  6. org.springframework.cloud
    ConfigServicePropertySourceLocator$$FastClassBySpringCGLIB$$fa44b2a.invoke
    1. org.springframework.cloud.config.client.ConfigServicePropertySourceLocator.getRemoteEnvironment(ConfigServicePropertySourceLocator.java:130)
    2. org.springframework.cloud.config.client.ConfigServicePropertySourceLocator.locate(ConfigServicePropertySourceLocator.java:81)
    3. org.springframework.cloud.config.client.ConfigServicePropertySourceLocator$$FastClassBySpringCGLIB$$fa44b2a.invoke(<generated>)
    3 frames
  7. Spring Core
    MethodProxy.invoke
    1. org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
    1 frame
  8. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720)
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
    2 frames
  9. Spring Retry
    AnnotationAwareRetryOperationsInterceptor.invoke
    1. org.springframework.retry.interceptor.RetryOperationsInterceptor$1.doWithRetry(RetryOperationsInterceptor.java:74)
    2. org.springframework.retry.support.RetryTemplate.doExecute(RetryTemplate.java:263)
    3. org.springframework.retry.support.RetryTemplate.execute(RetryTemplate.java:154)
    4. org.springframework.retry.interceptor.RetryOperationsInterceptor.invoke(RetryOperationsInterceptor.java:101)
    5. org.springframework.retry.annotation.AnnotationAwareRetryOperationsInterceptor.invoke(AnnotationAwareRetryOperationsInterceptor.java:118)
    5 frames
  10. Spring AOP
    CglibAopProxy$DynamicAdvisedInterceptor.intercept
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
    2. org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655)
    2 frames
  11. org.springframework.cloud
    PropertySourceBootstrapConfiguration.initialize
    1. org.springframework.cloud.config.client.ConfigServicePropertySourceLocator$$EnhancerBySpringCGLIB$$427ce7a0.locate(<generated>)
    2. org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.initialize(PropertySourceBootstrapConfiguration.java:89)
    2 frames
  12. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:640)
    2. org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:343)
    3. org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
    3 frames
  13. com.squaretrade.downloadmanager
    DownloadmanagerApp.main
    1. com.squaretrade.downloadmanager.DownloadmanagerApp.main(DownloadmanagerApp.java:66)
    1 frame
  14. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  15. org.springframework.boot
    RestartLauncher.run
    1. org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
    1 frame