2017-03-17 109 views
0

我在上配置jhipster-registry的Aws彈性豆杆時出現以下錯誤。任何想法爲什麼?當我在本地運行開發包jar時,它工作正常。我需要更改任何配置嗎?在aws彈性豆杆上運行jhipster microservice application-dev配置文件的問題

錯誤訪問微服務從網關 例外:

2017-05-08 18:56:25.654 DEBUG 6 --- [ XNIO-2 task-6] c.a.w.g.a.AccessControlFilter   : Access Control: allowing access for /wmapis/api/countries, as no access control policy has been set up for service: wmapis 
2017-05-08 18:56:25.704 WARN 6 --- [ XNIO-2 task-6] o.s.c.n.z.filters.post.SendErrorFilter : Error during filtering 

com.netflix.zuul.exception.ZuulException: Forwarding error 
     at org.springframework.cloud.netflix.zuul.filters.route.RibbonRoutingFilter.handleException(RibbonRoutingFilter.java:158) 
     at org.springframework.cloud.netflix.zuul.filters.route.RibbonRoutingFilter.forward(RibbonRoutingFilter.java:133) 
     at org.springframework.cloud.netflix.zuul.filters.route.RibbonRoutingFilter.run(RibbonRoutingFilter.java:79) 
     at com.netflix.zuul.ZuulFilter.runFilter(ZuulFilter.java:112) 
     at com.netflix.zuul.FilterProcessor.processZuulFilter(FilterProcessor.java:197) 
     at com.netflix.zuul.FilterProcessor.runFilters(FilterProcessor.java:161) 
     at com.netflix.zuul.FilterProcessor.route(FilterProcessor.java:120) 
     at com.netflix.zuul.ZuulRunner.route(ZuulRunner.java:96) 
     at com.netflix.zuul.http.ZuulServlet.route(ZuulServlet.java:116) 
     at com.netflix.zuul.http.ZuulServlet.service(ZuulServlet.java:81) 
     at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:157) 
     at org.springframework.cloud.netflix.zuul.web.ZuulController.handleRequestInternal(ZuulController.java:43) 
     at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:174) 
     at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50) 
     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963) 
     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897) 
     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) 
     at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861) 
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) 
     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) 
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 
     at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) 
     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129) 
     at com.codahale.metrics.servlet.AbstractInstrumentedFilter.doFilter(AbstractInstrumentedFilter.java:104) 
     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) 
     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) 
     at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55) 
     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) 
     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) 
     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) 
     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101) 
     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) 
     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) 
     at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:105) 
     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) 
     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) 
     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) 
     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:115) 
     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:169) 
     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 com.company.wmweb.security.jwt.JWTFilter.doFilter(JWTFilter.java:43) 
     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) 
     at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) 
     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:121) 
     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) 
     at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66) 
     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:346) 
     at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) 
     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) 
     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) 
     at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) 
     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) 
     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) 
     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) 
     at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:105) 
     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) 
     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) 
     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) 
     at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81) 
     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) 
     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) 
     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) 
     at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197) 
     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) 
     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) 
     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) 
     at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84) 
     at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) 
     at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) 
     at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) 
     at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) 
     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) 
     at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) 
     at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) 
     at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) 
     at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) 
     at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) 
     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) 
     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) 
     at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) 
     at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) 
     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) 
     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) 
     at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) 
     at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) 
     at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) 
     at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) 
     at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) 
     at io.undertow.server.Connectors.executeRootHandler(Connectors.java:211) 
     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:809) 
     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
     at java.lang.Thread.run(Thread.java:745) 
Caused by: com.netflix.client.ClientException: Number of retries on next server exceeded max 1 retries, while making a call for: 6e4b483625e0:8081 
     at com.netflix.loadbalancer.reactive.LoadBalancerCommand$4.call(LoadBalancerCommand.java:350) 
     at com.netflix.loadbalancer.reactive.LoadBalancerCommand$4.call(LoadBalancerCommand.java:345) 
     at rx.internal.operators.OperatorOnErrorResumeNextViaFunction$4.onError(OperatorOnErrorResumeNextViaFunction.java:140) 
     at rx.internal.operators.OperatorRetryWithPredicate$SourceSubscriber$1$1.onError(OperatorRetryWithPredicate.java:107) 
     at rx.observers.SerializedObserver.onError(SerializedObserver.java:153) 
     at rx.observers.SerializedSubscriber.onError(SerializedSubscriber.java:78) 
     at rx.internal.operators.OnSubscribeConcatMap$ConcatMapSubscriber.innerError(OnSubscribeConcatMap.java:192) 
     at rx.internal.operators.OnSubscribeConcatMap$ConcatMapInnerSubscriber.onError(OnSubscribeConcatMap.java:340) 
     at rx.observers.Subscribers$5.onError(Subscribers.java:230) 
     at rx.internal.operators.OnSubscribeDoOnEach$DoOnEachSubscriber.onError(OnSubscribeDoOnEach.java:87) 
     at rx.internal.operators.OnSubscribeThrow.call(OnSubscribeThrow.java:44) 
     at rx.internal.operators.OnSubscribeThrow.call(OnSubscribeThrow.java:28) 
     at rx.Observable.unsafeSubscribe(Observable.java:10211) 
     at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41) 
     at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30) 
     at rx.Observable.unsafeSubscribe(Observable.java:10211) 
     at rx.internal.util.ScalarSynchronousObservable$3.call(ScalarSynchronousObservable.java:235) 
     at rx.internal.util.ScalarSynchronousObservable$3.call(ScalarSynchronousObservable.java:228) 
     at rx.Observable.unsafeSubscribe(Observable.java:10211) 
     at rx.internal.operators.OnSubscribeConcatMap$ConcatMapSubscriber.drain(OnSubscribeConcatMap.java:286) 
     at rx.internal.operators.OnSubscribeConcatMap$ConcatMapSubscriber.onNext(OnSubscribeConcatMap.java:144) 
     at com.netflix.loadbalancer.reactive.LoadBalancerCommand$1.call(LoadBalancerCommand.java:185) 
     at com.netflix.loadbalancer.reactive.LoadBalancerCommand$1.call(LoadBalancerCommand.java:180) 
     at rx.Observable.unsafeSubscribe(Observable.java:10211) 
     at rx.internal.operators.OnSubscribeConcatMap.call(OnSubscribeConcatMap.java:94) 
     at rx.internal.operators.OnSubscribeConcatMap.call(OnSubscribeConcatMap.java:42) 
     at rx.Observable.unsafeSubscribe(Observable.java:10211) 
     at rx.internal.operators.OperatorRetryWithPredicate$SourceSubscriber$1.call(OperatorRetryWithPredicate.java:127) 
     at rx.internal.schedulers.TrampolineScheduler$InnerCurrentThreadScheduler.enqueue(TrampolineScheduler.java:73) 
     at rx.internal.schedulers.TrampolineScheduler$InnerCurrentThreadScheduler.schedule(TrampolineScheduler.java:52) 
     at rx.internal.operators.OperatorRetryWithPredicate$SourceSubscriber.onNext(OperatorRetryWithPredicate.java:79) 
     at rx.internal.operators.OperatorRetryWithPredicate$SourceSubscriber.onNext(OperatorRetryWithPredicate.java:45) 
     at rx.internal.util.ScalarSynchronousObservable$WeakSingleProducer.request(ScalarSynchronousObservable.java:276) 
     at rx.Subscriber.setProducer(Subscriber.java:209) 
     at rx.internal.util.ScalarSynchronousObservable$JustOnSubscribe.call(ScalarSynchronousObservable.java:138) 
     at rx.internal.util.ScalarSynchronousObservable$JustOnSubscribe.call(ScalarSynchronousObservable.java:129) 
     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) 
     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) 
     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) 
     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) 
     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) 
     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) 
     at rx.Observable.subscribe(Observable.java:10307) 
     at rx.Observable.subscribe(Observable.java:10274) 
     at rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:445) 
     at rx.observables.BlockingObservable.single(BlockingObservable.java:342) 
     at com.netflix.client.AbstractLoadBalancerAwareClient.executeWithLoadBalancer(AbstractLoadBalancerAwareClient.java:102) 
     at com.netflix.client.AbstractLoadBalancerAwareClient.executeWithLoadBalancer(AbstractLoadBalancerAwareClient.java:81) 
     at org.springframework.cloud.netflix.zuul.filters.route.RestClientRibbonCommand.forward(RestClientRibbonCommand.java:135) 
     at org.springframework.cloud.netflix.zuul.filters.route.RestClientRibbonCommand.run(RestClientRibbonCommand.java:106) 
     at org.springframework.cloud.netflix.zuul.filters.route.RestClientRibbonCommand.run(RestClientRibbonCommand.java:50) 
     at com.netflix.hystrix.HystrixCommand$1.call(HystrixCommand.java:293) 
     at com.netflix.hystrix.HystrixCommand$1.call(HystrixCommand.java:289) 
     at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:46) 
     at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:35) 
     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) 
     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) 
     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) 
     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) 
     at rx.Observable.unsafeSubscribe(Observable.java:10211) 
     at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:51) 
     at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:35) 
     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) 
     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) 
     at rx.Observable.unsafeSubscribe(Observable.java:10211) 
     at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41) 
     at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30) 
     at rx.Observable.unsafeSubscribe(Observable.java:10211) 
     at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41) 
     at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30) 
     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) 
     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) 
     at rx.Observable.unsafeSubscribe(Observable.java:10211) 
     at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41) 
     at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30) 
     at rx.Observable.unsafeSubscribe(Observable.java:10211) 
     at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41) 
     at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30) 
     at rx.Observable.unsafeSubscribe(Observable.java:10211) 
     at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41) 
     at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30) 
     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) 
     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) 
     at rx.Observable.unsafeSubscribe(Observable.java:10211) 
     at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:51) 
     at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:35) 
     at rx.Observable.unsafeSubscribe(Observable.java:10211) 
     at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48) 
     at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33) 
     at rx.Observable.unsafeSubscribe(Observable.java:10211) 
     at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41) 
     at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30) 
     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) 
     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) 
     at rx.Observable.unsafeSubscribe(Observable.java:10211) 
     at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41) 
     at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30) 
     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) 
     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) 
     at rx.Observable.subscribe(Observable.java:10307) 
     at rx.Observable.subscribe(Observable.java:10274) 
     at rx.internal.operators.BlockingOperatorToFuture.toFuture(BlockingOperatorToFuture.java:51) 
     at rx.observables.BlockingObservable.toFuture(BlockingObservable.java:412) 
     at com.netflix.hystrix.HystrixCommand.queue(HystrixCommand.java:373) 
     at com.netflix.hystrix.HystrixCommand.execute(HystrixCommand.java:329) 
     at org.springframework.cloud.netflix.zuul.filters.route.RibbonRoutingFilter.forward(RibbonRoutingFilter.java:127) 
     ... 113 common frames omitted 
Caused by: com.sun.jersey.api.client.ClientHandlerException: java.net.UnknownHostException: 6e4b483625e0 
     at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:187) 
     at com.sun.jersey.api.client.Client.handle(Client.java:652) 
     at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682) 
     at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74) 
     at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:509) 
     at com.netflix.niws.client.http.RestClient.execute(RestClient.java:618) 
     at com.netflix.niws.client.http.RestClient.execute(RestClient.java:527) 
     at com.netflix.niws.client.http.RestClient.execute(RestClient.java:92) 
     at com.netflix.client.AbstractLoadBalancerAwareClient$1.call(AbstractLoadBalancerAwareClient.java:109) 
     at com.netflix.loadbalancer.reactive.LoadBalancerCommand$3$1.call(LoadBalancerCommand.java:303) 
     at com.netflix.loadbalancer.reactive.LoadBalancerCommand$3$1.call(LoadBalancerCommand.java:287) 
     at rx.internal.util.ScalarSynchronousObservable$3.call(ScalarSynchronousObservable.java:231) 
     ... 202 common frames omitted 
Caused by: java.net.UnknownHostException: 6e4b483625e0 
     at java.net.InetAddress.getAllByName0(InetAddress.java:1280) 
     at java.net.InetAddress.getAllByName(InetAddress.java:1192) 
     at java.net.InetAddress.getAllByName(InetAddress.java:1126) 
     at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45) 
     at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:262) 
     at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:161) 
     at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:144) 
     at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:134) 
     at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:612) 
     at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:447) 
     at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884) 
     at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:117) 
     at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55) 
     at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:173) 
     ... 213 common frames omitted 

回答

0

「你需要配置的URI git倉庫」是指您還沒有配置您的git倉庫的URI(您的配置文件存儲在)application-prod.yml。或者,你可以使用文件系統後端,而不是混帳通過設置「本地」的個人資料,請參閱Spring Cloud Config Server doc

+0

我離開了與註冊表當屬 'git的默認配置:使用中央目錄文件夾 #樣品督促配置在jijster註冊表github回購 uri:https://github.com/jhipster/jhipster-registry/ search-paths:central-config 前綴:/ config' –

+0

請閱讀我給你的鏈接,我想你誤解了app * .yml中的註釋,git存儲庫url必須是您自己的git repo,您​​將在其中配置所有網關和微服務應用程序。 –

+0

希望你做得很好。經過很長時間的休息之後,我再次參與我們的jijster應用程序。當在Elastic Beanstalk上的Docker鏡像中部署dev配置文件時,我遇到訪問微服務的問題。我能夠成功地部署網關和微服務應用程序,並且我可以在註冊表中看到註冊的應用程序,但是當我訪問我正在獲取的實體時** Zuul轉發異常**我將在此處發佈我的問題日誌。任何幫助將不勝感激。 –