The java program needs etcd as the service registration and discovery center, and uses skywalking for link tracking, reporting an error #9273
Replies: 4 comments 1 reply
-
You asked this in many closed issues repeatedly, don't do this as this is showing like spams. |
Beta Was this translation helpful? Give feedback.
-
I can't confirm anything, different plugins were contributed by different people. Your scenarios may not be covered, you should debug and find out why first. Otherwise, a simple exception stack is not helping |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I have solved this problem here because the ETCD Client does not have Authority configured。 |
Beta Was this translation helpful? Give feedback.
-
2022-06-25 19:18:23.859 ERROR [order,,] [sleuth_IS_UNDEFINED,,,] 1 --- [ main] c.aibit.etcd.naming.net.EtcdNamingProxy : 租约失败:java.order
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Exit span doesn't include meaningful peer information.
at java.base/java.util.concurrent.CompletableFuture.reportGet(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.get(Unknown Source)
at com.aibit.etcd.naming.net.EtcdNamingProxy.registerService(EtcdNamingProxy.java:154)
at com.aibit.etcd.naming.net.EtcdNamingProxy.registerService(EtcdNamingProxy.java:134)
at com.aibit.etcd.naming.EtcdNamingService.registerInstance(EtcdNamingService.java:52)
at com.aibit.etcd.registry.EtcdServiceRegistry.register(EtcdServiceRegistry.java:47)
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.register(AbstractAutoServiceRegistration.java:232)
at com.aibit.etcd.registry.EtcdAutoServiceRegistration.register(EtcdAutoServiceRegistration.java:51)
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.start(AbstractAutoServiceRegistration.java:133)
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.bind(AbstractAutoServiceRegistration.java:98)
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:86)
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:47)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378)
at org.springframework.boot.web.servlet.context.WebServerStartStopLifecycle.start(WebServerStartStopLifecycle.java:46)
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:178)
at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:54)
at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:356)
at java.base/java.lang.Iterable.forEach(Unknown Source)
at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:155)
at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:123)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:935)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:586)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:740)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:415)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
at com.aibit.trade.TradeApiApplication.main(TradeApiApplication.java:17)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
Caused by: java.lang.IllegalStateException: Exit span doesn't include meaningful peer information.
at org.apache.skywalking.apm.agent.core.context.TracingContext.inject(TracingContext.java:170)
at org.apache.skywalking.apm.agent.core.context.TracingContext.inject(TracingContext.java:150)
at org.apache.skywalking.apm.agent.core.context.ContextManager.inject(ContextManager.java:123)
at org.apache.skywalking.apm.plugin.grpc.v1.client.TracingClientCall.start(TracingClientCall.java:84)
at io.grpc.stub.ClientCalls.startCall(ClientCalls.java:332)
at io.grpc.stub.ClientCalls.asyncUnaryRequestCall(ClientCalls.java:306)
at io.grpc.stub.ClientCalls.asyncUnaryRequestCall(ClientCalls.java:294)
at io.grpc.stub.ClientCalls.asyncUnaryCall(ClientCalls.java:68)
at io.etcd.jetcd.api.LeaseGrpc$LeaseStub.leaseGrant(LeaseGrpc.java:290)
at io.vertx.grpc.stub.ClientCalls.oneToOne(ClientCalls.java:41)
at io.etcd.jetcd.api.VertxLeaseGrpc$LeaseVertxStub.leaseGrant(VertxLeaseGrpc.java:48)
at io.etcd.jetcd.impl.LeaseImpl.lambda$grant$1(LeaseImpl.java:93)
at io.etcd.jetcd.impl.Impl.lambda$execute$4(Impl.java:131)
at net.jodah.failsafe.Functions.lambda$toCtxSupplier$15(Functions.java:298)
at net.jodah.failsafe.Functions.lambda$getPromiseOfStage$7(Functions.java:174)
at net.jodah.failsafe.Functions.lambda$null$3(Functions.java:107)
at net.jodah.failsafe.internal.util.DelegatingScheduler.lambda$schedule$0(DelegatingScheduler.java:141)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
2022-06-25 19:18:23.862 ERROR [order,,] [sleuth_IS_UNDEFINED,,,] 1 --- [ main] c.a.etcd.registry.EtcdServiceRegistry : etcd registry, order register failed...com.aibit.etcd.registry.EtcdRegistration@48f4f03e,
java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Exit span doesn't include meaningful peer information.
at com.aibit.etcd.naming.net.EtcdNamingProxy.registerService(EtcdNamingProxy.java:207)
at com.aibit.etcd.naming.net.EtcdNamingProxy.registerService(EtcdNamingProxy.java:134)
at com.aibit.etcd.naming.EtcdNamingService.registerInstance(EtcdNamingService.java:52)
at com.aibit.etcd.registry.EtcdServiceRegistry.register(EtcdServiceRegistry.java:47)
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.register(AbstractAutoServiceRegistration.java:232)
at com.aibit.etcd.registry.EtcdAutoServiceRegistration.register(EtcdAutoServiceRegistration.java:51)
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.start(AbstractAutoServiceRegistration.java:133)
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.bind(AbstractAutoServiceRegistration.java:98)
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:86)
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:47)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378)
at org.springframework.boot.web.servlet.context.WebServerStartStopLifecycle.start(WebServerStartStopLifecycle.java:46)
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:178)
at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:54)
at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:356)
at java.base/java.lang.Iterable.forEach(Unknown Source)
at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:155)
at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:123)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:935)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:586)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:740)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:415)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
at com.aibit.trade.TradeApiApplication.main(TradeApiApplication.java:17)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Exit span doesn't include meaningful peer information.
at java.base/java.util.concurrent.CompletableFuture.reportGet(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.get(Unknown Source)
at com.aibit.etcd.naming.net.EtcdNamingProxy.registerService(EtcdNamingProxy.java:154)
... 38 common frames omitted
Caused by: java.lang.IllegalStateException: Exit span doesn't include meaningful peer information.
at org.apache.skywalking.apm.agent.core.context.TracingContext.inject(TracingContext.java:170)
at org.apache.skywalking.apm.agent.core.context.TracingContext.inject(TracingContext.java:150)
at org.apache.skywalking.apm.agent.core.context.ContextManager.inject(ContextManager.java:123)
at org.apache.skywalking.apm.plugin.grpc.v1.client.TracingClientCall.start(TracingClientCall.java:84)
at io.grpc.stub.ClientCalls.startCall(ClientCalls.java:332)
at io.grpc.stub.ClientCalls.asyncUnaryRequestCall(ClientCalls.java:306)
at io.grpc.stub.ClientCalls.asyncUnaryRequestCall(ClientCalls.java:294)
at io.grpc.stub.ClientCalls.asyncUnaryCall(ClientCalls.java:68)
at io.etcd.jetcd.api.LeaseGrpc$LeaseStub.leaseGrant(LeaseGrpc.java:290)
at io.vertx.grpc.stub.ClientCalls.oneToOne(ClientCalls.java:41)
at io.etcd.jetcd.api.VertxLeaseGrpc$LeaseVertxStub.leaseGrant(VertxLeaseGrpc.java:48)
at io.etcd.jetcd.impl.LeaseImpl.lambda$grant$1(LeaseImpl.java:93)
at io.etcd.jetcd.impl.Impl.lambda$execute$4(Impl.java:131)
at net.jodah.failsafe.Functions.lambda$toCtxSupplier$15(Functions.java:298)
at net.jodah.failsafe.Functions.lambda$getPromiseOfStage$7(Functions.java:174)
at net.jodah.failsafe.Functions.lambda$null$3(Functions.java:107)
at net.jodah.failsafe.internal.util.DelegatingScheduler.lambda$schedule$0(DelegatingScheduler.java:141)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
2022-06-25 19:18:23.862 WARN [order,,] [sleuth_IS_UNDEFINED,,,] 1 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Exit span doesn't include meaningful peer information.
2022-06-25 19:18:23.943 INFO [order,,] [sleuth_IS_UNDEFINED,,,] 1 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2022-06-25 19:18:23.992 INFO [order,,] [sleuth_IS_UNDEFINED,,,] 1 --- [ main] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2022-06-25 19:18:24.065 ERROR [order,,] [sleuth_IS_UNDEFINED,,,] 1 --- [ main] o.s.boot.SpringApplication : Application run failed
org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Exit span doesn't include meaningful peer information.
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:181)
at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:54)
at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:356)
at java.base/java.lang.Iterable.forEach(Unknown Source)
at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:155)
at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:123)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:935)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:586)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:740)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:415)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
at com.aibit.trade.TradeApiApplication.main(TradeApiApplication.java:17)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Exit span doesn't include meaningful peer information.
at com.aibit.etcd.naming.net.EtcdNamingProxy.registerService(EtcdNamingProxy.java:207)
at com.aibit.etcd.naming.net.EtcdNamingProxy.registerService(EtcdNamingProxy.java:134)
at com.aibit.etcd.naming.EtcdNamingService.registerInstance(EtcdNamingService.java:52)
at com.aibit.etcd.registry.EtcdServiceRegistry.register(EtcdServiceRegistry.java:47)
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.register(AbstractAutoServiceRegistration.java:232)
at com.aibit.etcd.registry.EtcdAutoServiceRegistration.register(EtcdAutoServiceRegistration.java:51)
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.start(AbstractAutoServiceRegistration.java:133)
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.bind(AbstractAutoServiceRegistration.java:98)
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:86)
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:47)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378)
at org.springframework.boot.web.servlet.context.WebServerStartStopLifecycle.start(WebServerStartStopLifecycle.java:46)
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:178)
... 22 common frames omitted
Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Exit span doesn't include meaningful peer information.
at java.base/java.util.concurrent.CompletableFuture.reportGet(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.get(Unknown Source)
at com.aibit.etcd.naming.net.EtcdNamingProxy.registerService(EtcdNamingProxy.java:154)
... 38 common frames omitted
Caused by: java.lang.IllegalStateException: Exit span doesn't include meaningful peer information.
at org.apache.skywalking.apm.agent.core.context.TracingContext.inject(TracingContext.java:170)
at org.apache.skywalking.apm.agent.core.context.TracingContext.inject(TracingContext.java:150)
at org.apache.skywalking.apm.agent.core.context.ContextManager.inject(ContextManager.java:123)
at org.apache.skywalking.apm.plugin.grpc.v1.client.TracingClientCall.start(TracingClientCall.java:84)
at io.grpc.stub.ClientCalls.startCall(ClientCalls.java:332)
at io.grpc.stub.ClientCalls.asyncUnaryRequestCall(ClientCalls.java:306)
at io.grpc.stub.ClientCalls.asyncUnaryRequestCall(ClientCalls.java:294)
at io.grpc.stub.ClientCalls.asyncUnaryCall(ClientCalls.java:68)
at io.etcd.jetcd.api.LeaseGrpc$LeaseStub.leaseGrant(LeaseGrpc.java:290)
at io.vertx.grpc.stub.ClientCalls.oneToOne(ClientCalls.java:41)
at io.etcd.jetcd.api.VertxLeaseGrpc$LeaseVertxStub.leaseGrant(VertxLeaseGrpc.java:48)
at io.etcd.jetcd.impl.LeaseImpl.lambda$grant$1(LeaseImpl.java:93)
at io.etcd.jetcd.impl.Impl.lambda$execute$4(Impl.java:131)
at net.jodah.failsafe.Functions.lambda$toCtxSupplier$15(Functions.java:298)
at net.jodah.failsafe.Functions.lambda$getPromiseOfStage$7(Functions.java:174)
at net.jodah.failsafe.Functions.lambda$null$3(Functions.java:107)
at net.jodah.failsafe.internal.util.DelegatingScheduler.lambda$schedule$0(DelegatingScheduler.java:141)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Beta Was this translation helpful? Give feedback.
All reactions