Open EscapeeX opened 4 years ago
2020-03-30 12:48:05:361 INFO [byh-video-service] 9 [d2-2d439a4ff442] o.s.boot.SpringApplication [,,] : No active profile set, falling back to default profiles: default 2020-03-30 12:48:05:364 INFO [byh-video-service] 9 [d2-2d439a4ff442] s.c.a.AnnotationConfigApplicationContext [,,] : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@12707c9: startup date [Mon Mar 30 12:48:05 GMT+08:00 2020]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@58d75ca2 2020-03-30 12:48:05:371 INFO [byh-video-service] 9 [d2-2d439a4ff442] f.a.AutowiredAnnotationBeanPostProcessor [,,] : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-03-30 12:48:05:395 INFO [byh-video-service] 9 [d2-2d439a4ff442] o.s.boot.SpringApplication [,,] : Started application in 40.277 seconds (JVM running for 313997.718) 2020-03-30 12:48:05:395 INFO [byh-video-service] 9 [d2-2d439a4ff442] s.c.a.AnnotationConfigApplicationContext [,,] : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@12707c9: startup date [Mon Mar 30 12:48:05 GMT+08:00 2020]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@58d75ca2 2020-03-30 12:48:05:396 INFO [byh-video-service] 9 [d2-2d439a4ff442] s.c.a.AnnotationConfigApplicationContext [,,] : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@58d75ca2: startup date [Mon Mar 30 12:47:25 GMT+08:00 2020]; root of context hierarchy 2020-03-30 12:48:05:423 INFO [byh-video-service] 9 [d2-2d439a4ff442] com.netflix.discovery.DiscoveryClient [,,] : Shutting down DiscoveryClient ... 2020-03-30 12:48:05:424 INFO [byh-video-service] 9 [d2-2d439a4ff442] o.s.c.n.eureka.InstanceInfoFactory [,,] : Setting initial instance status as: STARTING 2020-03-30 12:48:08:426 INFO [byh-video-service] 9 [d2-2d439a4ff442] com.netflix.discovery.DiscoveryClient [,,] : Unregistering ... 2020-03-30 12:48:16:437 ERROR [byh-video-service] 9 [d2-2d439a4ff442] c.n.d.s.t.d.RedirectingEurekaHttpClient [,,] : Request execution error. endpoint=DefaultEndpoint{ serviceUrl='http://192.167.128.118:1111/eureka/}
com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed out at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:187) at com.sun.jersey.api.client.filter.GZIPContentEncodingFilter.handle(GZIPContentEncodingFilter.java:123) at com.netflix.discovery.EurekaIdentityHeaderFilter.handle(EurekaIdentityHeaderFilter.java:27) 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.delete(WebResource.java:591) at com.netflix.discovery.shared.transport.jersey.AbstractJerseyEurekaHttpClient.cancel(AbstractJerseyEurekaHttpClient.java:76) at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$2.execute(EurekaHttpClientDecorator.java:74) at com.netflix.discovery.shared.transport.decorator.MetricsCollectingEurekaHttpClient.execute(MetricsCollectingEurekaHttpClient.java:73) at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.cancel(EurekaHttpClientDecorator.java:71) at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$2.execute(EurekaHttpClientDecorator.java:74) at com.netflix.discovery.shared.transport.decorator.RedirectingEurekaHttpClient.execute(RedirectingEurekaHttpClient.java:89) at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.cancel(EurekaHttpClientDecorator.java:71) at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$2.execute(EurekaHttpClientDecorator.java:74) at com.netflix.discovery.shared.transport.decorator.RetryableEurekaHttpClient.execute(RetryableEurekaHttpClient.java:120) at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.cancel(EurekaHttpClientDecorator.java:71) at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$2.execute(EurekaHttpClientDecorator.java:74) at com.netflix.discovery.shared.transport.decorator.SessionedEurekaHttpClient.execute(SessionedEurekaHttpClient.java:77) at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.cancel(EurekaHttpClientDecorator.java:71) at com.netflix.discovery.DiscoveryClient.unregister(DiscoveryClient.java:923) at com.netflix.discovery.DiscoveryClient.shutdown(DiscoveryClient.java:901) 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.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:369) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeDestroyMethods(InitDestroyAnnotationBeanPostProcessor.java:327) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeDestruction(InitDestroyAnnotationBeanPostProcessor.java:155) at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:240) at org.springframework.beans.factory.support.DisposableBeanAdapter.run(DisposableBeanAdapter.java:233) at org.springframework.cloud.context.scope.GenericScope$BeanLifecycleWrapper.destroy(GenericScope.java:404) at org.springframework.cloud.context.scope.GenericScope.destroy(GenericScope.java:139) at org.springframework.cloud.context.scope.refresh.RefreshScope.refreshAll(RefreshScope.java:151) at org.springframework.cloud.context.refresh.ContextRefresher.refresh(ContextRefresher.java:66) at org.springframework.cloud.endpoint.event.RefreshEventListener.handle(RefreshEventListener.java:36) 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.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:264) at org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:182) at org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:144) 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:399) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:353) at com.alibaba.cloud.nacos.refresh.NacosContextRefresher$1.innerReceive(NacosContextRefresher.java:133) at com.alibaba.nacos.api.config.listener.AbstractSharedListener.receiveConfigInfo(AbstractSharedListener.java:38) at com.alibaba.nacos.client.config.impl.CacheData$1.run(CacheData.java:203) at com.alibaba.nacos.client.config.impl.CacheData.safeNotifyListener(CacheData.java:233) at com.alibaba.nacos.client.config.impl.CacheData.checkListenerMd5(CacheData.java:174) at com.alibaba.nacos.client.config.impl.ClientWorker$LongPollingRunnable.run(ClientWorker.java:552) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) at java.net.SocketInputStream.read(SocketInputStream.java:171) at java.net.SocketInputStream.read(SocketInputStream.java:141) at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:161) at org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:82) at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:278) at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138) at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56) at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259) at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:286) at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:257) at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:230) at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273) at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125) at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:684) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:486) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:835) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:118) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:173) ... 60 common frames omitted
2020-03-30 12:48:16:437 WARN [byh-video-service] 9 [d2-2d439a4ff442] c.n.d.s.t.d.RetryableEurekaHttpClient [,,] : Request execution failed with message: java.net.SocketTimeoutException: Read timed out 2020-03-30 12:48:24:444 ERROR [byh-video-service] 9 [d2-2d439a4ff442] c.n.d.s.t.d.RedirectingEurekaHttpClient [,,] : Request execution error. endpoint=DefaultEndpoint{ serviceUrl='http://192.167.128.118:1111/eureka/}
com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed out at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:187) at com.sun.jersey.api.client.filter.GZIPContentEncodingFilter.handle(GZIPContentEncodingFilter.java:123) at com.netflix.discovery.EurekaIdentityHeaderFilter.handle(EurekaIdentityHeaderFilter.java:27) 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.delete(WebResource.java:591) at com.netflix.discovery.shared.transport.jersey.AbstractJerseyEurekaHttpClient.cancel(AbstractJerseyEurekaHttpClient.java:76) at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$2.execute(EurekaHttpClientDecorator.java:74) at com.netflix.discovery.shared.transport.decorator.MetricsCollectingEurekaHttpClient.execute(MetricsCollectingEurekaHttpClient.java:73) at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.cancel(EurekaHttpClientDecorator.java:71) at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$2.execute(EurekaHttpClientDecorator.java:74) at com.netflix.discovery.shared.transport.decorator.RedirectingEurekaHttpClient.executeOnNewServer(RedirectingEurekaHttpClient.java:118) at com.netflix.discovery.shared.transport.decorator.RedirectingEurekaHttpClient.execute(RedirectingEurekaHttpClient.java:79) at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.cancel(EurekaHttpClientDecorator.java:71) at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$2.execute(EurekaHttpClientDecorator.java:74) at com.netflix.discovery.shared.transport.decorator.RetryableEurekaHttpClient.execute(RetryableEurekaHttpClient.java:120) at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.cancel(EurekaHttpClientDecorator.java:71) at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$2.execute(EurekaHttpClientDecorator.java:74) at com.netflix.discovery.shared.transport.decorator.SessionedEurekaHttpClient.execute(SessionedEurekaHttpClient.java:77) at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.cancel(EurekaHttpClientDecorator.java:71) at com.netflix.discovery.DiscoveryClient.unregister(DiscoveryClient.java:923) at com.netflix.discovery.DiscoveryClient.shutdown(DiscoveryClient.java:901) 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.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:369) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeDestroyMethods(InitDestroyAnnotationBeanPostProcessor.java:327) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeDestruction(InitDestroyAnnotationBeanPostProcessor.java:155) at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:240) at org.springframework.beans.factory.support.DisposableBeanAdapter.run(DisposableBeanAdapter.java:233) at org.springframework.cloud.context.scope.GenericScope$BeanLifecycleWrapper.destroy(GenericScope.java:404) at org.springframework.cloud.context.scope.GenericScope.destroy(GenericScope.java:139) at org.springframework.cloud.context.scope.refresh.RefreshScope.refreshAll(RefreshScope.java:151) at org.springframework.cloud.context.refresh.ContextRefresher.refresh(ContextRefresher.java:66) at org.springframework.cloud.endpoint.event.RefreshEventListener.handle(RefreshEventListener.java:36) 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.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:264) at org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:182) at org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:144) 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:399) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:353) at com.alibaba.cloud.nacos.refresh.NacosContextRefresher$1.innerReceive(NacosContextRefresher.java:133) at com.alibaba.nacos.api.config.listener.AbstractSharedListener.receiveConfigInfo(AbstractSharedListener.java:38) at com.alibaba.nacos.client.config.impl.CacheData$1.run(CacheData.java:203) at com.alibaba.nacos.client.config.impl.CacheData.safeNotifyListener(CacheData.java:233) at com.alibaba.nacos.client.config.impl.CacheData.checkListenerMd5(CacheData.java:174) at com.alibaba.nacos.client.config.impl.ClientWorker$LongPollingRunnable.run(ClientWorker.java:552) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) at java.net.SocketInputStream.read(SocketInputStream.java:171) at java.net.SocketInputStream.read(SocketInputStream.java:141) at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:161) at org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:82) at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:278) at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138) at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56) at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259) at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:286) at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:257) at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:230) at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273) at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125) at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:684) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:486) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:835) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:118) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:173) ... 61 common frames omitted
2020-03-30 12:48:24:444 WARN [byh-video-service] 9 [d2-2d439a4ff442] c.n.d.s.t.d.RetryableEurekaHttpClient [,,] : Request execution failed with message: java.net.SocketTimeoutException: Read timed out 2020-03-30 12:48:24:445 ERROR [byh-video-service] 9 [d2-2d439a4ff442] com.netflix.discovery.DiscoveryClient [,,] : DiscoveryClient_BYH-VIDEO-SERVICE/discover:byh-video-service:7889 - de-registration failedCannot execute request on any known server
com.netflix.discovery.shared.transport.TransportException: Cannot execute request on any known server at com.netflix.discovery.shared.transport.decorator.RetryableEurekaHttpClient.execute(RetryableEurekaHttpClient.java:112) at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.cancel(EurekaHttpClientDecorator.java:71) at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$2.execute(EurekaHttpClientDecorator.java:74) at com.netflix.discovery.shared.transport.decorator.SessionedEurekaHttpClient.execute(SessionedEurekaHttpClient.java:77) at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.cancel(EurekaHttpClientDecorator.java:71) at com.netflix.discovery.DiscoveryClient.unregister(DiscoveryClient.java:923) at com.netflix.discovery.DiscoveryClient.shutdown(DiscoveryClient.java:901) 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.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:369) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeDestroyMethods(InitDestroyAnnotationBeanPostProcessor.java:327) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeDestruction(InitDestroyAnnotationBeanPostProcessor.java:155) at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:240) at org.springframework.beans.factory.support.DisposableBeanAdapter.run(DisposableBeanAdapter.java:233) at org.springframework.cloud.context.scope.GenericScope$BeanLifecycleWrapper.destroy(GenericScope.java:404) at org.springframework.cloud.context.scope.GenericScope.destroy(GenericScope.java:139) at org.springframework.cloud.context.scope.refresh.RefreshScope.refreshAll(RefreshScope.java:151) at org.springframework.cloud.context.refresh.ContextRefresher.refresh(ContextRefresher.java:66) at org.springframework.cloud.endpoint.event.RefreshEventListener.handle(RefreshEventListener.java:36) 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.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:264) at org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:182) at org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:144) 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:399) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:353) at com.alibaba.cloud.nacos.refresh.NacosContextRefresher$1.innerReceive(NacosContextRefresher.java:133) at com.alibaba.nacos.api.config.listener.AbstractSharedListener.receiveConfigInfo(AbstractSharedListener.java:38) at com.alibaba.nacos.client.config.impl.CacheData$1.run(CacheData.java:203) at com.alibaba.nacos.client.config.impl.CacheData.safeNotifyListener(CacheData.java:233) at com.alibaba.nacos.client.config.impl.CacheData.checkListenerMd5(CacheData.java:174) at com.alibaba.nacos.client.config.impl.ClientWorker$LongPollingRunnable.run(ClientWorker.java:552) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
2020-03-30 12:48:24:449 INFO [byh-video-service] 9 [d2-2d439a4ff442] com.netflix.discovery.DiscoveryClient [,,] : Completed shut down of DiscoveryClient 2020-03-30 12:48:24:450 INFO [byh-video-service] 9 [d2-2d439a4ff442] com.netflix.discovery.DiscoveryClient [,,] : Initializing Eureka in region us-east-1 2020-03-30 12:48:24:452 INFO [byh-video-service] 9 [d2-2d439a4ff442] c.n.d.provider.DiscoveryJerseyProvider [,,] : Using JSON encoding codec LegacyJacksonJson 2020-03-30 12:48:24:452 INFO [byh-video-service] 9 [d2-2d439a4ff442] c.n.d.provider.DiscoveryJerseyProvider [,,] : Using JSON decoding codec LegacyJacksonJson 2020-03-30 12:48:24:452 INFO [byh-video-service] 9 [d2-2d439a4ff442] c.n.d.provider.DiscoveryJerseyProvider [,,] : Using XML encoding codec XStreamXml 2020-03-30 12:48:24:452 INFO [byh-video-service] 9 [d2-2d439a4ff442] c.n.d.provider.DiscoveryJerseyProvider [,,] : Using XML decoding codec XStreamXml 2020-03-30 12:48:24:502 INFO [byh-video-service] 9 [d2-2d439a4ff442] c.n.d.s.r.aws.ConfigClusterResolver [,,] : Resolving eureka endpoints via configuration 2020-03-30 12:48:24:503 INFO [byh-video-service] 9 [d2-2d439a4ff442] com.netflix.discovery.DiscoveryClient [,,] : Disable delta property : false 2020-03-30 12:48:24:503 INFO [byh-video-service] 9 [d2-2d439a4ff442] com.netflix.discovery.DiscoveryClient [,,] : Single vip registry refresh property : null 2020-03-30 12:48:24:503 INFO [byh-video-service] 9 [d2-2d439a4ff442] com.netflix.discovery.DiscoveryClient [,,] : Force full registry fetch : false 2020-03-30 12:48:24:503 INFO [byh-video-service] 9 [d2-2d439a4ff442] com.netflix.discovery.DiscoveryClient [,,] : Application is null : false 2020-03-30 12:48:24:503 INFO [byh-video-service] 9 [d2-2d439a4ff442] com.netflix.discovery.DiscoveryClient [,,] : Registered Applications size is zero : true 2020-03-30 12:48:24:503 INFO [byh-video-service] 9 [d2-2d439a4ff442] com.netflix.discovery.DiscoveryClient [,,] : Application version is -1: true 2020-03-30 12:48:24:503 INFO [byh-video-service] 9 [d2-2d439a4ff442] com.netflix.discovery.DiscoveryClient [,,] : Getting all instance registry info from the eureka server 2020-03-30 12:48:24:509 INFO [byh-video-service] 9 [d2-2d439a4ff442] com.netflix.discovery.DiscoveryClient [,,] : The response status is 200 2020-03-30 12:48:24:510 INFO [byh-video-service] 9 [d2-2d439a4ff442] com.netflix.discovery.DiscoveryClient [,,] : Starting heartbeat executor: renew interval is: 30 2020-03-30 12:48:24:511 INFO [byh-video-service] 9 [d2-2d439a4ff442] c.n.discovery.InstanceInfoReplicator [,,] : InstanceInfoReplicator onDemand update allowed rate per min is 4 2020-03-30 12:48:24:511 INFO [byh-video-service] 9 [d2-2d439a4ff442] com.netflix.discovery.DiscoveryClient [,,] : Discovery Client initialized at timestamp 1585543704511 with initial instances count: 22 2020-03-30 12:48:24:512 INFO [byh-video-service] 9 [d2-2d439a4ff442] o.s.c.n.e.s.EurekaServiceRegistry [,,] : Unregistering application byh-video-service with eureka with status DOWN 2020-03-30 12:48:24:512 INFO [byh-video-service] 9 [d2-2d439a4ff442] o.s.c.n.e.s.EurekaServiceRegistry [,,] : Registering application byh-video-service with eureka with status UP 2020-03-30 12:48:24:512 WARN [byh-video-service] 9 [d2-2d439a4ff442] com.netflix.discovery.DiscoveryClient [,,] : Saw local status change event StatusChangeEvent [timestamp=1585543704512, current=UP, previous=DOWN] 2020-03-30 12:48:24:512 INFO [byh-video-service] 9 [d2-2d439a4ff442] o.s.c.e.event.RefreshEventListener [,,] : Refresh keys changed: [name] 2020-03-30 12:48:24:513 INFO [byh-video-service] 9 [d2-2d439a4ff442] c.a.nacos.client.config.impl.CacheData [,,] : [fixed-configserver_8848-0dc6d892-b9c3-4b82-81d2-2d439a4ff442] [notify-ok] dataId=byh-video-service.yml, group=DEFAULT_GROUP, md5=5dfd3de1fa8a6fa212605ec4463ed672, listener=com.alibaba.cloud.nacos.refresh.NacosContextRefresher$1@4a091842 2020-03-30 12:48:24:512 INFO [byh-video-service] 9 [nfoReplicator-0] com.netflix.discovery.DiscoveryClient [,,] : DiscoveryClient_BYH-VIDEO-SERVICE/discover:byh-video-service:7889: registering service... 2020-03-30 12:48:24:514 INFO [byh-video-service] 9 [d2-2d439a4ff442] c.a.nacos.client.config.impl.CacheData [,,] : [fixed-configserver_8848-0dc6d892-b9c3-4b82-81d2-2d439a4ff442] [notify-listener] time cost=59399ms in ClientWorker, dataId=byh-video-service.yml, group=DEFAULT_GROUP, md5=5dfd3de1fa8a6fa212605ec4463ed672, listener=com.alibaba.cloud.nacos.refresh.NacosContextRefresher$1@4a091842 2020-03-30 12:48:24:519 INFO [byh-video-service] 9 [nfoReplicator-0] com.netflix.discovery.DiscoveryClient [,,] : DiscoveryClient_BYH-VIDEO-SERVICE/discover:byh-video-service:7889 - registration status: 204
前两次一直是失败,但是第三次是可以注册上的
该问题是否已经修复了呢?
有解决方案了吗?我也遇到了这个问题
您的邮件我已收到。——王琦
Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@60116288: startup date [Thu Mar 26 11:22:11 GMT+08:00 2020]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@7f02692f 2020-03-26 11:22:11:614 INFO [byh-video-service] 8 [d2-2d439a4ff442] s.c.a.AnnotationConfigApplicationContext [,,] : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@7f02692f: startup date [Thu Mar 26 11:21:31 GMT+08:00 2020]; root of context hierarchy 2020-03-26 11:22:11:651 INFO [byh-video-service] 8 [d2-2d439a4ff442] com.netflix.discovery.DiscoveryClient [,,] : Shutting down DiscoveryClient ... 2020-03-26 11:22:11:652 INFO [byh-video-service] 8 [d2-2d439a4ff442] o.s.c.n.eureka.InstanceInfoFactory [,,] : Setting initial instance status as: STARTING 2020-03-26 11:22:14:653 INFO [byh-video-service] 8 [d2-2d439a4ff442] com.netflix.discovery.DiscoveryClient [,,] : Unregistering ... 2020-03-26 11:22:22:665 ERROR [byh-video-service] 8 [d2-2d439a4ff442] c.n.d.s.t.d.RedirectingEurekaHttpClient [,,] : Request execution error. endpoint=DefaultEndpoint{ serviceUrl='http://discover:1111/eureka/}
前2次默认都是失败,第三次会显示注册成功