spring-cloud / spring-cloud-config

External configuration (server and client) for Spring Cloud
Apache License 2.0
1.96k stars 1.29k forks source link

POST /monitor cause Invocation of init method failed; nested exception is org.eclipse.jgit.api.errors.JGitInternalException: Missing unknown #874

Closed cesargomezvela closed 6 years ago

cesargomezvela commented 6 years ago

Environment. JDK 8 Spring boot 1.5.9.RELEASE spring cloud Edgware.RELEASE Deploy in kubernetes as a pod

Problem: Frecuently when a make a post to

curl -X POST \
  http://192.168.201.22:31000/monitor \
  -H 'authorization: Basic bXl1c2VyOm15cGFzc3dvcmQ=' \
  -H 'content-type: application/x-www-form-urlencoded' 
  -d path=test-documents-service

Causes:

{
    "timestamp": 1513710815632,
    "status": 500,
    "error": "Internal Server Error",
    "exception": "org.springframework.beans.factory.BeanCreationException",
    "message": "Error creating bean with name 'defaultEnvironmentRepository': Invocation of init method failed; nested exception is org.eclipse.jgit.api.errors.JGitInternalException: Missing unknown 21e6a4a904f1017c04bfda71d7094a50c4dafb66",
    "path": "/monitor"
}

In the console:

2017-12-19 13:38:33.126  INFO [configserver,d1a66456bdf79d66,d1a66456bdf79d66,false] 6 --- [nio-8888-exec-2] PatternMatchingJGitEnvironmentRepository : Fetched for remote master and found 1 updates
2017-12-19 13:38:33.250  INFO [configserver,a5df52372c98d183,a5df52372c98d183,false] 6 --- [nio-8888-exec-7] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@6ee9dd4b: startup date [Tue Dec 19 13:38:33 GMT 2017]; root of context hierarchy
2017-12-19 13:38:33.315  INFO [configserver,d1a66456bdf79d66,d1a66456bdf79d66,false] 6 --- [nio-8888-exec-2] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@117059c7: startup date [Tue Dec 19 13:38:33 GMT 2017]; root of context hierarchy
2017-12-19 13:38:33.320  INFO [configserver,a5df52372c98d183,a5df52372c98d183,false] 6 --- [nio-8888-exec-7] o.s.c.c.s.e.NativeEnvironmentRepository  : Adding property source: file:/tmp/config-repo-8725343156994169242/test-alerts-service.yml
2017-12-19 13:38:33.320  INFO [configserver,a5df52372c98d183,a5df52372c98d183,false] 6 --- [nio-8888-exec-7] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@6ee9dd4b: startup date [Tue Dec 19 13:38:33 GMT 2017]; root of context hierarchy
2017-12-19 13:38:33.325  INFO [configserver,d1a66456bdf79d66,d1a66456bdf79d66,false] 6 --- [nio-8888-exec-2] o.s.c.c.s.e.NativeEnvironmentRepository  : Adding property source: file:/tmp/config-repo-689526873527597218/test-documents-service.yml
2017-12-19 13:38:33.325  INFO [configserver,d1a66456bdf79d66,d1a66456bdf79d66,false] 6 --- [nio-8888-exec-2] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@117059c7: startup date [Tue Dec 19 13:38:33 GMT 2017]; root of context hierarchy
2017-12-19 13:38:34.590  INFO [configserver,8336a467d277f74f,8336a467d277f74f,false] 6 --- [nio-8888-exec-5] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@21f26a00: startup date [Tue Dec 19 13:38:34 GMT 2017]; root of context hierarchy
2017-12-19 13:38:34.604  INFO [configserver,8336a467d277f74f,8336a467d277f74f,false] 6 --- [nio-8888-exec-5] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@21f26a00: startup date [Tue Dec 19 13:38:34 GMT 2017]; root of context hierarchy
2017-12-19 13:38:37.282  INFO [configserver,c59ebeeda30f0ae4,c59ebeeda30f0ae4,false] 6 --- [nio-8888-exec-3] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@41cc00d7: startup date [Tue Dec 19 13:38:37 GMT 2017]; root of context hierarchy
2017-12-19 13:38:37.293  INFO [configserver,c59ebeeda30f0ae4,c59ebeeda30f0ae4,false] 6 --- [nio-8888-exec-3] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@41cc00d7: startup date [Tue Dec 19 13:38:37 GMT 2017]; root of context hierarchy
2017-12-19 13:38:38.255  INFO [configserver,7f3492726c3e59ad,7f3492726c3e59ad,false] 6 --- [nio-8888-exec-6] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@107a024f: startup date [Tue Dec 19 13:38:38 GMT 2017]; root of context hierarchy
2017-12-19 13:38:38.267  INFO [configserver,7f3492726c3e59ad,7f3492726c3e59ad,false] 6 --- [nio-8888-exec-6] o.s.c.c.s.e.NativeEnvironmentRepository  : Adding property source: file:/tmp/config-repo-689526873527597218/test-documents-service.yml
2017-12-19 13:38:38.267  INFO [configserver,7f3492726c3e59ad,7f3492726c3e59ad,false] 6 --- [nio-8888-exec-6] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@107a024f: startup date [Tue Dec 19 13:38:38 GMT 2017]; root of context hierarchy
2017-12-19 13:38:39.692  INFO [configserver,a9a592ec47e7b1fc,a9a592ec47e7b1fc,false] 6 --- [nio-8888-exec-9] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@69182141: startup date [Tue Dec 19 13:38:39 GMT 2017]; root of context hierarchy
2017-12-19 13:38:39.711  INFO [configserver,a9a592ec47e7b1fc,a9a592ec47e7b1fc,false] 6 --- [nio-8888-exec-9] o.s.c.c.s.e.NativeEnvironmentRepository  : Adding property source: file:/tmp/config-repo-689526873527597218/test-documents-service.yml
2017-12-19 13:38:39.711  INFO [configserver,a9a592ec47e7b1fc,a9a592ec47e7b1fc,false] 6 --- [nio-8888-exec-9] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@69182141: startup date [Tue Dec 19 13:38:39 GMT 2017]; root of context hierarchy
2017-12-19 13:38:55.751  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] o.s.c.c.monitor.PropertyPathEndpoint     : Refresh for: test:documents-service
2017-12-19 13:38:55.883  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@ecca85f: startup date [Tue Dec 19 13:38:55 GMT 2017]; root of context hierarchy
2017-12-19 13:38:55.906  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.retry.annotation.RetryConfiguration' of type [org.springframework.retry.annotation.RetryConfiguration$$EnhancerBySpringCGLIB$$a35f7865] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2017-12-19 13:38:55.907  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] trationDelegate$BeanPostProcessorChecker : Bean 'configurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$c9b5e33d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2017-12-19 13:38:56.224  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] o.s.boot.SpringApplication               : The following profiles are active: development
2017-12-19 13:38:56.226  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@242206a0: startup date [Tue Dec 19 13:38:56 GMT 2017]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@ecca85f
2017-12-19 13:38:56.235  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] o.s.boot.SpringApplication               : Started application in 0.474 seconds (JVM running for 311562.337)
2017-12-19 13:38:56.235  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@242206a0: startup date [Tue Dec 19 13:38:56 GMT 2017]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@ecca85f
2017-12-19 13:38:56.235  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@ecca85f: startup date [Tue Dec 19 13:38:55 GMT 2017]; root of context hierarchy
2017-12-19 13:39:03.586  INFO [configserver,d6c70688fd912a0e,d6c70688fd912a0e,false] 6 --- [nio-8888-exec-8] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@129c03af: startup date [Tue Dec 19 13:39:03 GMT 2017]; root of context hierarchy
2017-12-19 13:39:03.603  INFO [configserver,d6c70688fd912a0e,d6c70688fd912a0e,false] 6 --- [nio-8888-exec-8] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@129c03af: startup date [Tue Dec 19 13:39:03 GMT 2017]; root of context hierarchy
2017-12-19 13:39:07.619  INFO [configserver,838bb99cc5e964cf,838bb99cc5e964cf,false] 6 --- [nio-8888-exec-4] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@4a3aac40: startup date [Tue Dec 19 13:39:07 GMT 2017]; root of context hierarchy
2017-12-19 13:39:07.630  INFO [configserver,838bb99cc5e964cf,838bb99cc5e964cf,false] 6 --- [nio-8888-exec-4] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@4a3aac40: startup date [Tue Dec 19 13:39:07 GMT 2017]; root of context hierarchy
2017-12-19 13:39:13.988  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] o.s.cloud.bus.event.RefreshListener      : Received remote refresh request. Keys refreshed []
2017-12-19 13:39:13.988  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] o.s.c.c.monitor.PropertyPathEndpoint     : Refresh for: test-documents:service
2017-12-19 13:39:14.118  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@72df900d: startup date [Tue Dec 19 13:39:14 GMT 2017]; root of context hierarchy
2017-12-19 13:39:14.143  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.retry.annotation.RetryConfiguration' of type [org.springframework.retry.annotation.RetryConfiguration$$EnhancerBySpringCGLIB$$a35f7865] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2017-12-19 13:39:14.143  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] trationDelegate$BeanPostProcessorChecker : Bean 'configurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$c9b5e33d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2017-12-19 13:39:14.286  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] o.s.boot.SpringApplication               : The following profiles are active: development
2017-12-19 13:39:14.288  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@4060405b: startup date [Tue Dec 19 13:39:14 GMT 2017]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@72df900d
2017-12-19 13:39:14.296  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] o.s.boot.SpringApplication               : Started application in 0.283 seconds (JVM running for 311580.399)
2017-12-19 13:39:14.297  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@4060405b: startup date [Tue Dec 19 13:39:14 GMT 2017]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@72df900d
2017-12-19 13:39:14.297  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@72df900d: startup date [Tue Dec 19 13:39:14 GMT 2017]; root of context hierarchy
2017-12-19 13:39:30.201  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] o.s.cloud.bus.event.RefreshListener      : Received remote refresh request. Keys refreshed []
2017-12-19 13:39:30.201  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] o.s.c.c.monitor.PropertyPathEndpoint     : Refresh for: test-documents-service
2017-12-19 13:39:30.338  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@7a477262: startup date [Tue Dec 19 13:39:30 GMT 2017]; root of context hierarchy
2017-12-19 13:39:30.357  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.retry.annotation.RetryConfiguration' of type [org.springframework.retry.annotation.RetryConfiguration$$EnhancerBySpringCGLIB$$a35f7865] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2017-12-19 13:39:30.358  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] trationDelegate$BeanPostProcessorChecker : Bean 'configurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$c9b5e33d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2017-12-19 13:39:30.721  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] o.s.boot.SpringApplication               : The following profiles are active: development
2017-12-19 13:39:30.724  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@6983731a: startup date [Tue Dec 19 13:39:30 GMT 2017]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@7a477262
2017-12-19 13:39:30.731  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] o.s.boot.SpringApplication               : Started application in 0.522 seconds (JVM running for 311596.834)
2017-12-19 13:39:30.731  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@6983731a: startup date [Tue Dec 19 13:39:30 GMT 2017]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@7a477262
2017-12-19 13:39:30.732  INFO [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@7a477262: startup date [Tue Dec 19 13:39:30 GMT 2017]; root of context hierarchy
2017-12-19 13:39:33.415  INFO [configserver,00021572f53b7fb4,00021572f53b7fb4,false] 6 --- [nio-8888-exec-7] .c.s.e.MultipleJGitEnvironmentRepository : Fetched for remote master and found 1 updates
2017-12-19 13:39:33.485  INFO [configserver,00021572f53b7fb4,00021572f53b7fb4,false] 6 --- [nio-8888-exec-7] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@451df99d: startup date [Tue Dec 19 13:39:33 GMT 2017]; root of context hierarchy
2017-12-19 13:39:33.495  INFO [configserver,00021572f53b7fb4,00021572f53b7fb4,false] 6 --- [nio-8888-exec-7] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@451df99d: startup date [Tue Dec 19 13:39:33 GMT 2017]; root of context hierarchy
2017-12-19 13:39:34.990  INFO [configserver,c2a0597cfd1d4db5,c2a0597cfd1d4db5,false] 6 --- [nio-8888-exec-2] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@4a16aec8: startup date [Tue Dec 19 13:39:34 GMT 2017]; root of context hierarchy
2017-12-19 13:39:35.001  INFO [configserver,c2a0597cfd1d4db5,c2a0597cfd1d4db5,false] 6 --- [nio-8888-exec-2] o.s.c.c.s.e.NativeEnvironmentRepository  : Adding property source: file:/tmp/config-repo-689526873527597218/test-documents-service.yml
2017-12-19 13:39:35.001  INFO [configserver,c2a0597cfd1d4db5,c2a0597cfd1d4db5,false] 6 --- [nio-8888-exec-2] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@4a16aec8: startup date [Tue Dec 19 13:39:34 GMT 2017]; root of context hierarchy
2017-12-19 13:39:35.231 ERROR [configserver,2db70a283192e741,2db70a283192e741,false] 6 --- [nio-8888-exec-1] o.s.c.sleuth.instrument.web.TraceFilter  : Uncaught exception thrown

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultEnvironmentRepository': Invocation of init method failed; nested exception is org.eclipse.jgit.api.errors.JGitInternalException: Missing unknown 21e6a4a904f1017c04bfda71d7094a50c4dafb66
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:982)
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:110)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:347)
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:263)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:108)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.cloud.sleuth.instrument.web.TraceFilter.doFilter(TraceFilter.java:164)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:106)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultEnvironmentRepository': Invocation of init method failed; nested exception is org.eclipse.jgit.api.errors.JGitInternalException: Missing unknown 21e6a4a904f1017c04bfda71d7094a50c4dafb66
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1628)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:400)
        at org.springframework.cloud.context.properties.ConfigurationPropertiesRebinder.rebind(ConfigurationPropertiesRebinder.java:107)
        at org.springframework.cloud.context.properties.ConfigurationPropertiesRebinder.rebind(ConfigurationPropertiesRebinder.java:90)
        at org.springframework.cloud.context.properties.ConfigurationPropertiesRebinder.onApplicationEvent(ConfigurationPropertiesRebinder.java:138)
        at org.springframework.cloud.context.properties.ConfigurationPropertiesRebinder.onApplicationEvent(ConfigurationPropertiesRebinder.java:51)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347)
        at org.springframework.cloud.context.refresh.ContextRefresher.refresh(ContextRefresher.java:62)
        at org.springframework.cloud.bus.event.RefreshListener.onApplicationEvent(RefreshListener.java:43)
        at org.springframework.cloud.bus.event.RefreshListener.onApplicationEvent(RefreshListener.java:30)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347)
        at org.springframework.cloud.config.monitor.PropertyPathEndpoint.notifyByPath(PropertyPathEndpoint.java:91)
        at org.springframework.cloud.config.monitor.PropertyPathEndpoint.notifyByForm(PropertyPathEndpoint.java:107)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
        ... 89 common frames omitted
Caused by: org.eclipse.jgit.api.errors.JGitInternalException: Missing unknown 21e6a4a904f1017c04bfda71d7094a50c4dafb66
        at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:132)
        at org.springframework.cloud.config.server.environment.JGitEnvironmentRepository.cloneToBasedir(JGitEnvironmentRepository.java:433)
        at org.springframework.cloud.config.server.environment.JGitEnvironmentRepository.initClonedRepository(JGitEnvironmentRepository.java:249)
        at org.springframework.cloud.config.server.environment.JGitEnvironmentRepository.afterPropertiesSet(JGitEnvironmentRepository.java:181)
        at org.springframework.cloud.config.server.environment.MultipleJGitEnvironmentRepository.afterPropertiesSet(MultipleJGitEnvironmentRepository.java:68)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1687)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1624)
        ... 122 common frames omitted
Caused by: org.eclipse.jgit.errors.MissingObjectException: Missing unknown 21e6a4a904f1017c04bfda71d7094a50c4dafb66
        at org.eclipse.jgit.internal.storage.file.WindowCursor.open(WindowCursor.java:148)
        at org.eclipse.jgit.lib.ObjectReader.open(ObjectReader.java:229)
        at org.eclipse.jgit.revwalk.RevWalk.parseAny(RevWalk.java:840)
        at org.eclipse.jgit.revwalk.RevWalk.parseCommit(RevWalk.java:753)
        at org.eclipse.jgit.api.CloneCommand.parseCommit(CloneCommand.java:322)
        at org.eclipse.jgit.api.CloneCommand.checkout(CloneCommand.java:234)
        at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:129)
        ... 128 common frames omitted

2017-12-19 13:39:35.232 ERROR [configserver,,,] 6 --- [nio-8888-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultEnvironmentRepository': Invocation of init method failed; nested exception is org.eclipse.jgit.api.errors.JGitInternalException: Missing unknown 21e6a4a904f1017c04bfda71d7094a50c4dafb66] with root cause

org.eclipse.jgit.errors.MissingObjectException:      21e6a4a904f1017c04bfda71d7094a50c4dafb66
        at org.eclipse.jgit.internal.storage.file.WindowCursor.open(WindowCursor.java:148)
        at org.eclipse.jgit.lib.ObjectReader.open(ObjectReader.java:229)
        at org.eclipse.jgit.revwalk.RevWalk.parseAny(RevWalk.java:840)
        at org.eclipse.jgit.revwalk.RevWalk.parseCommit(RevWalk.java:753)
        at org.eclipse.jgit.api.CloneCommand.parseCommit(CloneCommand.java:322)
        at org.eclipse.jgit.api.CloneCommand.checkout(CloneCommand.java:234)
        at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:129)
        at org.springframework.cloud.config.server.environment.JGitEnvironmentRepository.cloneToBasedir(JGitEnvironmentRepository.java:433)
        at org.springframework.cloud.config.server.environment.JGitEnvironmentRepository.initClonedRepository(JGitEnvironmentRepository.java:249)
        at org.springframework.cloud.config.server.environment.JGitEnvironmentRepository.afterPropertiesSet(JGitEnvironmentRepository.java:181)
        at org.springframework.cloud.config.server.environment.MultipleJGitEnvironmentRepository.afterPropertiesSet(MultipleJGitEnvironmentRepository.java:68)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1687)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1624)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:400)
        at org.springframework.cloud.context.properties.ConfigurationPropertiesRebinder.rebind(ConfigurationPropertiesRebinder.java:107)
        at org.springframework.cloud.context.properties.ConfigurationPropertiesRebinder.rebind(ConfigurationPropertiesRebinder.java:90)
        at org.springframework.cloud.context.properties.ConfigurationPropertiesRebinder.onApplicationEvent(ConfigurationPropertiesRebinder.java:138)
        at org.springframework.cloud.context.properties.ConfigurationPropertiesRebinder.onApplicationEvent(ConfigurationPropertiesRebinder.java:51)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347)
        at org.springframework.cloud.context.refresh.ContextRefresher.refresh(ContextRefresher.java:62)
        at org.springframework.cloud.bus.event.RefreshListener.onApplicationEvent(RefreshListener.java:43)
        at org.springframework.cloud.bus.event.RefreshListener.onApplicationEvent(RefreshListener.java:30)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347)
        at org.springframework.cloud.config.monitor.PropertyPathEndpoint.notifyByPath(PropertyPathEndpoint.java:91)
        at org.springframework.cloud.config.monitor.PropertyPathEndpoint.notifyByForm(PropertyPathEndpoint.java:107)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:110)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:347)
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:263)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:108)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.cloud.sleuth.instrument.web.TraceFilter.doFilter(TraceFilter.java:164)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:106)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:745)

Also the /health end point shows

{
    "status": "DOWN",
    "diskSpace": {
        "status": "UP",
        "total": 214410440704,
        "free": 161451896832,
        "threshold": 10485760
    },
    "refreshScope": {
        "status": "DOWN",
        "error": "org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultEnvironmentRepository': Invocation of init method failed; nested exception is org.eclipse.jgit.api.errors.JGitInternalException: Missing unknown 21e6a4a904f1017c04bfda71d7094a50c4dafb66"
    },
    "configServer": {
        "status": "DOWN",
        "repository": {
            "application": "app",
            "profiles": "default"
        },
        "error": "java.lang.IllegalStateException: Cannot load environment"
    }
}

On the other hand, I would like to know why when the execution is successful, it searches in three different paths when I have only specified one. I read in the documentation that it uses wildcards, but it is not clear how they work. Maybe if I can achieve ask for only one path can help me with the above problem, but I am not sure.

Response when successful invocation

[
   "test:documents-service",
   "test-documents:service",
   "test-documents-service"
]

NOTE it is more common to fail the /monitor POST call.

marcingrzejszczak commented 6 years ago

Is the problem still there in Finchley.RELEASE?

spring-projects-issues commented 6 years ago

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

mufool commented 5 years ago

how to fix this,I have the same problem.