You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2018/04/16 09:38:11 UTC

[GitHub] franknew opened a new issue #1082: agent connect to a remote collector, report failed

franknew opened a new issue #1082: agent connect to a remote collector, report failed
URL: https://github.com/apache/incubator-skywalking/issues/1082
 
 
   here is logs
   collector is in another centos 7 machine. port 11800 is AVAILABLE.
   collector config file:
   naming:
     jetty:
       host: 0.0.0.0
       port: 10800
       context_path: /
   remote:
     gRPC:
       host: 0.0.0.0
       port: 11800
   agent_gRPC:
     gRPC:
       host: 0.0.0.0
       port: 11800
   agent_jetty:
     jetty:
       host: 0.0.0.0
       port: 12800
       context_path: /
   analysis_register:
     default:
   analysis_jvm:
     default:
   analysis_segment_parser:
     default:
       buffer_file_path: ../buffer/
       buffer_offset_max_file_size: 10M
       buffer_segment_max_file_size: 500M
   ui:
     jetty:
       host: 0.0.0.0
       port: 12800
       context_path: /
   storage:
     elasticsearch:
       cluster_name: elasticsearch
       cluster_transport_sniffer: true
       cluster_nodes: 127.0.0.1:9300
       index_shards_number: 2
       index_replicas_number: 0
       ttl: 7
   
   
   DEBUG 2018-04-16 16:51:50 AppAndServiceRegisterClient :  AppAndServiceRegisterClient running, status:CONNECTED. 
   ERROR 2018-04-16 16:51:50 AppAndServiceRegisterClient :  AppAndServiceRegisterClient execute fail. 
   org.apache.skywalking.apm.dependencies.io.grpc.StatusRuntimeException: UNAVAILABLE
   	at org.apache.skywalking.apm.dependencies.io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:221)
   	at org.apache.skywalking.apm.dependencies.io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:202)
   	at org.apache.skywalking.apm.dependencies.io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:131)
   	at org.apache.skywalking.apm.network.proto.ApplicationRegisterServiceGrpc$ApplicationRegisterServiceBlockingStub.applicationCodeRegister(ApplicationRegisterServiceGrpc.java:170)
   	at org.apache.skywalking.apm.agent.core.remote.AppAndServiceRegisterClient.run(AppAndServiceRegisterClient.java:117)
   	at org.apache.skywalking.apm.util.RunnableWithExceptionProtection.run(RunnableWithExceptionProtection.java:36)
   	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
   	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
   	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
   	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: org.apache.skywalking.apm.dependencies.io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: 0.0.0.0/0.0.0.0:11800
   	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
   	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
   	at org.apache.skywalking.apm.dependencies.io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:323)
   	at org.apache.skywalking.apm.dependencies.io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340)
   	at org.apache.skywalking.apm.dependencies.io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:633)
   	at org.apache.skywalking.apm.dependencies.io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
   	at org.apache.skywalking.apm.dependencies.io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
   	at org.apache.skywalking.apm.dependencies.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
   	at org.apache.skywalking.apm.dependencies.io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
   	at org.apache.skywalking.apm.dependencies.io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138)
   	... 1 more
   Caused by: java.net.ConnectException: Connection refused: no further information
   	... 11 more

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services