skywalking icon indicating copy to clipboard operation
skywalking copied to clipboard

SkywalkingAgent reconnect:false

Open weiqiang333 opened this issue 7 years ago • 3 comments

  • Why do you submit this issue?
  • [X] Question or discussion
  • [ ] Bug
  • [ ] Requirement
  • [ ] Feature or performance improvement

Question

  • What do you want to know?
  skywalking agent Why not reconnect

Bug

  • Which version of SkyWalking, OS and JRE?
   version: 6.2.0
   OS: centos 4.14.123-111.109.amzn2.x86_64
  JDK version: 1.8.0_121
  • Which company or project?

GrowingIO

  • What happen?
I restarted OAP and my agent has been failing to reconnect.
I confirm that the OAP is working properly and the test restarts the agent service and the connection is normal.
Why does the agent need to restart the connection?
  • log
DEBUG 2019-09-11 08:24:47:972 DataCarrier.DEFAULT.Consumser.0.Thread TraceSegmentServiceClient :  6313 trace segments have been abandoned, cause by no available channel. 
DEBUG 2019-09-11 08:24:47:976 SkywalkingAgent-4-ServiceAndEndpointRegisterClient-0 ServiceAndEndpointRegisterClient :  ServiceAndEndpointRegisterClient running, status:DISCONNECT. 
DEBUG 2019-09-11 08:24:50:959 SkywalkingAgent-1-GRPCChannelManager-0 GRPCChannelManager :  Selected collector grpc service running, reconnect:false. 
DEBUG 2019-09-11 08:24:50:976 SkywalkingAgent-4-ServiceAndEndpointRegisterClient-0 ServiceAndEndpointRegisterClient :  ServiceAndEndpointRegisterClient running, status:DISCONNECT. 
DEBUG 2019-09-11 08:24:53:976 SkywalkingAgent-4-ServiceAndEndpointRegisterClient-0 ServiceAndEndpointRegisterClient :  ServiceAndEndpointRegisterClient running, status:DISCONNECT. 
DEBUG 2019-09-11 08:24:56:976 SkywalkingAgent-4-ServiceAndEndpointRegisterClient-0 ServiceAndEndpointRegisterClient :  ServiceAndEndpointRegisterClient running, status:DISCONNECT. 
DEBUG 2019-09-11 08:24:59:976 SkywalkingAgent-4-ServiceAndEndpointRegisterClient-0 ServiceAndEndpointRegisterClient :  ServiceAndEndpointRegisterClient running, status:DISCONNECT. 
DEBUG 2019-09-11 08:25:02:976 SkywalkingAgent-4-ServiceAndEndpointRegisterClient-0 ServiceAndEndpointRegisterClient :  ServiceAndEndpointRegisterClient running, status:DISCONNECT. 
DEBUG 2019-09-11 08:25:05:976 SkywalkingAgent-4-ServiceAndEndpointRegisterClient-0 ServiceAndEndpointRegisterClient :  ServiceAndEndpointRegisterClient running, status:DISCONNECT.

weiqiang333 avatar Sep 11 '19 08:09 weiqiang333

In some envs, we noticed that. 6.4.0 should be released today, we fixed it.

wu-sheng avatar Sep 11 '19 13:09 wu-sheng

Upgrade 6.4.0 Solution

weiqiang333 avatar Sep 23 '19 11:09 weiqiang333

I use 6.5.0 version and ES database . And I also have the same problems.

DEBUG 2019-12-19 09:44:58:529 SkywalkingAgent-2-GRPCChannelManager-0 GRPCChannelManager : Selected collector grpc service running, reconnect:true. DEBUG 2019-12-19 09:44:58:538 SkywalkingAgent-5-ServiceAndEndpointRegisterClient-0 ServiceAndEndpointRegisterClient : ServiceAndEndpointRegisterClient running, status:DISCONNECT. DEBUG 2019-12-19 09:45:01:538 SkywalkingAgent-5-ServiceAndEndpointRegisterClient-0 ServiceAndEndpointRegisterClient : ServiceAndEndpointRegisterClient running, status:DISCONNECT. DEBUG 2019-12-19 09:45:02:859 DataCarrier.DEFAULT.Consumser.0.Thread TraceSegmentServiceClient : 2 trace segments have been abandoned, cause by no available channel. DEBUG 2019-12-19 09:45:04:538 SkywalkingAgent-5-ServiceAndEndpointRegisterClient-0 ServiceAndEndpointRegisterClient : ServiceAndEndpointRegisterClient running, status:DISCONNECT. DEBUG 2019-12-19 09:45:07:538 SkywalkingAgent-5-ServiceAndEndpointRegisterClient-0 ServiceAndEndpointRegisterClient : ServiceAndEndpointRegisterClient running, status:DISCONNECT. DEBUG 2019-12-19 09:45:10:538 SkywalkingAgent-5-ServiceAndEndpointRegisterClient-0 ServiceAndEndpointRegisterClient : ServiceAndEndpointRegisterClient running, status:DISCONNECT.

adventurer2008 avatar Dec 19 '19 01:12 adventurer2008