推送失败后取到客户端 log ,请求分析


(小股东) #1

你好 这是我们获取的极光 推送错误时 上传服务器的log,我是根据 长连接连接状态 判断的 您看一下log,是什么原因?

设备mac地址:e0:76:d0:d5:5b:73

--------- beginning of main
06-08 08:31:07.951 D/JIGUANG-JPush( 1489): [JPushInterface] action:init - sdkVersion:3.1.1, buildId:396
06-08 08:31:07.956 D/JIGUANG-JCore( 1489): [JCoreGlobal] metadata: appKey - 757bf908e1a2bcd0a064aacf
06-08 08:31:07.957 D/JIGUANG-JCore( 1489): [JCoreGlobal] metadata: channel - developer-default
--------- beginning of system
06-08 08:31:07.960 D/JIGUANG-JCore( 1489): [AndroidUtil] action:checkValidManifest
06-08 08:31:07.964 W/JIGUANG-JCore( 1489): [AndroidUtil] AndroidManifest.xml missing intent filter for DaemonService: cn.jpush.android.intent.DaemonService
06-08 08:31:07.966 D/JIGUANG-JCore( 1489): [JCoreServiceUtils] set Push/Alarm Receiver enabled
06-08 08:31:07.974 D/JIGUANG-JCore( 1489): [JCoreGlobal] action:init - sdkVersion:1.1.9, buildId:172
06-08 08:31:07.976 D/JIGUANG-JCore( 1489): [ServiceHelper] We found the appKey is changed or register appkey is empty. Will re-register.
06-08 08:31:07.984 D/JIGUANG-JPush( 1489): [AndroidUtil] action:checkValidManifest
06-08 08:31:07.987 E/JIGUANG-JPush( 1489): [AndroidUtil] AndroidManifest.xml missing required intent filter for PushActivity: cn.jpush.android.ui.PushActivity
06-08 08:31:08.002 D/JIGUANG-JCore( 1489): [PushService] onStartCommand - intent:Intent { act=com.aixuetang.future.run.action cmp=com.aixuetang.future/cn.jpush.android.service.PushService (has extras) }, pkg:com.aixuetang.future, connection:0
06-08 08:31:08.005 D/JIGUANG-JCore( 1489): [PushService] onStartCommand - intent:Intent { act=com.aixuetang.future.run.action cmp=com.aixuetang.future/cn.jpush.android.service.PushService (has extras) }, pkg:com.aixuetang.future, connection:0
06-08 08:31:08.006 D/JIGUANG-JCore( 1489): [JiguangTcpManager] Action - restartNetworkingClient, pid:1489
06-08 08:31:08.013 D/JIGUANG-JCore( 1489): [PushService] onStartCommand - intent:Intent { act=com.aixuetang.future.intent.RTC cmp=com.aixuetang.future/cn.jpush.android.service.PushService (has extras) }, pkg:com.aixuetang.future, connection:0
06-08 08:31:08.015 D/JIGUANG-JCore( 1489): [PushService] onStartCommand - intent:Intent { act=com.aixuetang.future.cn.jpush.android.intent.check.notification.state cmp=com.aixuetang.future/cn.jpush.android.service.PushService (has extras) }, pkg:com.aixuetang.future, connection:0
06-08 08:31:08.016 D/JIGUANG-JCore( 1489): [PushService] onStartCommand - intent:Intent { act=com.aixuetang.future.run.action cmp=com.aixuetang.future/cn.jpush.android.service.PushService (has extras) }, pkg:com.aixuetang.future, connection:0
06-08 08:31:08.017 D/JIGUANG-JCore( 1489): [PushReceiver] onReceive - android.net.conn.CONNECTIVITY_CHANGE
06-08 08:31:08.019 D/JIGUANG-JCore( 1489): [ARunAction]  pkg:com.aixuetang.future
06-08 08:31:08.019 D/JIGUANG-JCore( 1489): [ARunAction] Bundle[{action=cn.jpush.android.intent.REPORT, report.extra.info=, report=crash_log, sdktype=JCORE}]
06-08 08:31:08.020 I/JIGUANG-JCore( 1489): [NetworkingClient] Begin to run in ConnectingThread - id:219
06-08 08:31:08.024 D/JIGUANG-JCore( 1489): [ARunAction]  pkg:com.aixuetang.future
06-08 08:31:08.025 D/JIGUANG-JCore( 1489): [ARunAction] Bundle[{action=cn.jpush.android.intent.REPORT, report.extra.info=, report=crash_log, sdktype=JCORE}]
06-08 08:31:08.026 D/JIGUANG-JPush( 1489): [AndroidUtil] action:checkValidManifest
06-08 08:31:08.029 D/JIGUANG-JCore( 1489): [JiguangTcpManager] Action - restartNetworkingClient, pid:1489
06-08 08:31:08.031 E/JIGUANG-JPush( 1489): [AndroidUtil] AndroidManifest.xml missing required intent filter for PushActivity: cn.jpush.android.ui.PushActivity
06-08 08:31:08.032 D/JIGUANG-JCore( 1489): [PushService] onStartCommand - intent:Intent { act=com.aixuetang.future.intent.CONNECTIVITY_CHANGE cmp=com.aixuetang.future/cn.jpush.android.service.PushService (has extras) }, pkg:com.aixuetang.future, connection:0
06-08 08:31:08.034 D/JIGUANG-JCore( 1489): [JiguangTcpManager] isRunning:true
06-08 08:31:08.094 D/JIGUANG-JCore( 1489): [ARunAction]  pkg:com.aixuetang.future
06-08 08:31:08.095 D/JIGUANG-JCore( 1489): [ARunAction] Bundle[{action=cn.jpush.android.intent.REPORT, report.extra.info=, report=crash_log, sdktype=JCORE}]
06-08 08:31:08.098 D/JIGUANG-JCore( 1489): [JiguangTcpManager] Action - restartNetworkingClient, pid:1489
06-08 08:31:08.100 D/JIGUANG-JCore( 1489): [JiguangTcpManager] isRunning:true
06-08 08:31:08.198 D/JIGUANG-JCore( 1489): [SisPolicy] To get sis - host:123.196.118.24, port:19000 ,type:hardcode
06-08 08:31:08.204 D/JIGUANG-JCore( 1489): [ConnectingHelper] SIS Receiving...
06-08 08:31:08.258 I/JIGUANG-JCore( 1489): [SisPolicy] Get sis info succeed with host: 123.196.118.24 type:hardcode
06-08 08:31:08.292 D/JIGUANG-JCore( 1489): [SisPolicy] Open connection with main - ip:123.196.118.5, port:7005
06-08 08:31:08.362 I/JIGUANG-JCore( 1489): [SisPolicy] Succeed to open connection - ip:123.196.118.5, port:7005
06-08 08:31:09.100 I/JIGUANG-JCore( 1489): [ConnectingHelper] Register succeed - juid:14038100815, registrationId:1104a897928fff3804e, deviceId:null
06-08 08:31:09.169 I/JIGUANG-JPush( 1489): [PluginPlatformsInterface] whichPlatform - 0
06-08 08:31:09.169 I/JIGUANG-JPush( 1489): [PluginPlatformsInterface] isIntegrateFCM -false
06-08 08:31:09.171 I/JIGUANG-JCore( 1489): [ConnectingHelper] Login with - juid:0, appKey:757bf908e1a2bcd0a064aacf, sdkVersion:65801, pushVersion:196865, analyticsVersion:0 ,shareVersion:0, pluginPlatformType:0
06-08 08:31:09.243 W/JIGUANG-JCore( 1489): [ConnectingHelper] Login failed with server error - code:108 - Incorrect uid
06-08 08:31:09.326 D/JIGUANG-JCore( 1489): [JiguangTcpManager] onLoginFailed - connection:219, respCode:0
06-08 08:31:10.186 I/JIGUANG-JCore( 1489): [ConnectingHelper] Register succeed - juid:14038100815, registrationId:1104a897928fff3804e, deviceId:null
06-08 08:31:10.240 I/JIGUANG-JCore( 1489): [ConnectingHelper] Login with - juid:0, appKey:757bf908e1a2bcd0a064aacf, sdkVersion:65801, pushVersion:196865, analyticsVersion:0 ,shareVersion:0, pluginPlatformType:0
06-08 08:31:10.321 W/JIGUANG-JCore( 1489): [ConnectingHelper] Login failed with server error - code:108 - Incorrect uid
06-08 08:31:10.366 D/JIGUANG-JCore( 1489): [JiguangTcpManager] onLoginFailed - connection:219, respCode:0
06-08 08:31:10.447 D/JIGUANG-JCore( 1489): [NetworkingClient] login error,retry login too many times
06-08 08:31:10.447 D/JIGUANG-JCore( 1489): [NetworkingClient] Action - closeConnection - connection:219
06-08 08:31:10.448 D/JIGUANG-JCore( 1489): [NetworkingClient] prepare Push Channel failed , returned
06-08 08:31:10.448 D/JIGUANG-JCore( 1489): [JiguangTcpManager] Action - onDisconnected - connection:0
06-08 08:31:10.449 D/JIGUANG-JPush( 1489): [AndroidUtil] action:checkValidManifest
06-08 08:31:10.452 E/JIGUANG-JPush( 1489): [AndroidUtil] AndroidManifest.xml missing required intent filter for PushActivity: cn.jpush.android.ui.PushActivity
06-08 08:31:10.452 D/JIGUANG-JCore( 1489): [NetworkingClient] Action - tryStop - connection:0
06-08 08:31:10.453 D/JIGUANG-JCore( 1489): [JiguangTcpManager] Action - retryConnect - disconnectedTimes:0
06-08 08:31:11.101 D/JIGUANG-JCore( 1489): [JiguangTcpManager] Action - restartNetworkingClient, pid:1489
06-08 08:31:11.102 D/JIGUANG-JCore( 1489): [JiguangTcpManager] isRunning:false
06-08 08:31:11.102 D/JIGUANG-JCore( 1489): [NetworkingClient] Action - tryStop - connection:0
06-08 08:31:11.103 I/JIGUANG-JCore( 1489): [NetworkingClient] Begin to run in ConnectingThread - id:226
06-08 08:31:11.156 D/JIGUANG-JCore( 1489): [SisPolicy] To get sis - host:123.196.118.24, port:19000 ,type:hardcode
06-08 08:31:11.160 D/JIGUANG-JCore( 1489): [ConnectingHelper] SIS Receiving...
06-08 08:31:11.254 I/JIGUANG-JCore( 1489): [SisPolicy] Get sis info succeed with host: 123.196.118.24 type:hardcode
06-08 08:31:11.272 D/JIGUANG-JCore( 1489): [SisPolicy] Open connection with main - ip:121.46.20.57, port:7004
06-08 08:31:11.332 I/JIGUANG-JCore( 1489): [SisPolicy] Succeed to open connection - ip:121.46.20.57, port:7004
06-08 08:31:12.044 I/JIGUANG-JCore( 1489): [ConnectingHelper] Register succeed - juid:14038100815, registrationId:1104a897928fff3804e, deviceId:null
06-08 08:31:12.085 I/JIGUANG-JCore( 1489): [ConnectingHelper] Login with - juid:0, appKey:757bf908e1a2bcd0a064aacf, sdkVersion:65801, pushVersion:196865, analyticsVersion:0 ,shareVersion:0, pluginPlatformType:0
06-08 08:31:13.413 W/JIGUANG-JCore( 1489): [ConnectingHelper] Login failed with server error - code:108 - Incorrect uid
06-08 08:31:13.465 D/JIGUANG-JCore( 1489): [JiguangTcpManager] onLoginFailed - connection:226, respCode:0
06-08 08:31:13.873 D/JIGUANG-JPush( 1337): [AndroidUtil] action:checkValidManifest
06-08 08:31:13.875 E/JIGUANG-JPush( 1337): [AndroidUtil] AndroidManifest.xml missing required intent filter for PushActivity: cn.jpush.android.ui.PushActivity
06-08 08:31:13.876 W/JIGUANG-JPush( 1337): [TagAliasOperator] onTagaliasTimeout error:Attempt to invoke virtual method 'java.lang.String java.lang.String.intern()' on a null object reference
06-08 08:31:13.997 I/JIGUANG-JCore( 1489): [ConnectingHelper] Register succeed - juid:14038100815, registrationId:1104a897928fff3804e, deviceId:null
06-08 08:31:14.038 I/JIGUANG-JCore( 1489): [ConnectingHelper] Login with - juid:0, appKey:757bf908e1a2bcd0a064aacf, sdkVersion:65801, pushVersion:196865, analyticsVersion:0 ,shareVersion:0, pluginPlatformType:0
06-08 08:31:14.144 W/JIGUANG-JCore( 1489): [ConnectingHelper] Login failed with server error - code:108 - Incorrect uid
06-08 08:31:14.186 D/JIGUANG-JCore( 1489): [JiguangTcpManager] onLoginFailed - connection:226, respCode:0
06-08 08:31:14.285 D/JIGUANG-JCore( 1489): [NetworkingClient] login error,retry login too many times
06-08 08:31:14.285 D/JIGUANG-JCore( 1489): [NetworkingClient] Action - closeConnection - connection:226
06-08 08:31:14.285 D/JIGUANG-JCore( 1489): [NetworkingClient] prepare Push Channel failed , returned
06-08 08:31:14.285 D/JIGUANG-JCore( 1489): [JiguangTcpManager] Action - onDisconnected - connection:0
06-08 08:31:14.286 D/JIGUANG-JPush( 1489): [AndroidUtil] action:checkValidManifest
06-08 08:31:14.287 E/JIGUANG-JPush( 1489): [AndroidUtil] AndroidManifest.xml missing required intent filter for PushActivity: cn.jpush.android.ui.PushActivity
06-08 08:31:14.288 D/JIGUANG-JCore( 1489): [NetworkingClient] Action - tryStop - connection:0
06-08 08:31:14.288 D/JIGUANG-JCore( 1489): [JiguangTcpManager] Action - retryConnect - disconnectedTimes:1
06-08 08:31:14.290 D/JIGUANG-JCore( 1489): [JiguangTcpManager] onDisconnected and retry restart conn - delay:6000

10 条推送中有一条没有收到
10 条推送中有一条没有收到
#2

E/JIGUANG-JPush( 1489): [AndroidUtil] AndroidManifest.xml missing required intent filter for PushActivity: cn.jpush.android.ui.PushActivity

根据错误检查一下 Androidmanifest 这里的配置


(小股东) #3

这是我的配置 跟官网上的一样的


(小股东) #4

出现这种情况 是什么原因 我已经注册了


#5

这个提示不用管,主要的是看 我上面的 E 错误信息。

在配置确确实实正确的情况下,应是包名冲突或者缺失导致。

检查包名:

  • 仔细检查你工程里涉及包名的地方
  • 手机里有配置同样包名的app卸载掉

(小股东) #6

这句话什么意思?? 你指的报名缺失或者冲突指哪里???
还有我说一下场景,现在就是有50位学生,其中有5.6个人收集到了错误信息


(小股东) #7

这个位置就是写package 还是写自己的包名??

这个是做什么操作呢?


#8

这个日志是代表长连接状态的变化。

关注下报错的 log,出现问题的手机上有没有和你包名相同或类似的 App :com.aixuetang.future
他们的手机的机型和系统是什么?


(小股东) #9

我们这是用的平板 ,所有的平板 型号 系统都是一样 您需要系统版本和平板型号吗


#10

提供一下吧,我将信息上报给研发分析一下。


(小股东) #11

你好 系统型号我一会给你 我们的平板是定制的 不是市场上的平板

在给看一下这个log 为什么也胡上传,没有错误级别的日志啊

设备mac地址:e0:76:d0:5d:1b:ab

--------- beginning of main
06-08 07:48:22.218 D/JIGUANG-JCore(17544): [JiguangTcpManager] Action - restartNetworkingClient, pid:17544
06-08 07:48:22.218 I/JIGUANG-JCore(17544): [JiguangTcpManager] No network connection. Give up to start connection thread.
06-08 07:51:49.328 I/JIGUANG-JCore(17544): [ReportHelper] periodTasks...
06-08 07:53:12.238 D/JIGUANG-JCore(17544): [JiguangTcpManager] Action - restartNetworkingClient, pid:17544
06-08 07:53:12.238 I/JIGUANG-JCore(17544): [JiguangTcpManager] No network connection. Give up to start connection thread.
06-08 07:56:39.628 I/JIGUANG-JCore(17544): [ReportHelper] periodTasks...
06-08 07:58:02.238 D/JIGUANG-JCore(17544): [JiguangTcpManager] Action - restartNetworkingClient, pid:17544
06-08 07:58:02.248 I/JIGUANG-JCore(17544): [JiguangTcpManager] No network connection. Give up to start connection thread.
06-08 08:01:29.798 I/JIGUANG-JCore(17544): [ReportHelper] periodTasks...
06-08 08:02:52.258 D/JIGUANG-JCore(17544): [JiguangTcpManager] Action - restartNetworkingClient, pid:17544
06-08 08:02:52.258 I/JIGUANG-JCore(17544): [JiguangTcpManager] No network connection. Give up to start connection thread.
06-08 08:06:20.128 I/JIGUANG-JCore(17544): [ReportHelper] periodTasks...
06-08 08:07:42.268 D/JIGUANG-JCore(17544): [JiguangTcpManager] Action - restartNetworkingClient, pid:17544
06-08 08:07:42.278 I/JIGUANG-JCore(17544): [JiguangTcpManager] No network connection. Give up to start connection thread.
06-08 08:11:10.338 I/JIGUANG-JCore(17544): [ReportHelper] periodTasks...
06-08 08:12:32.298 D/JIGUANG-JCore(17544): [JiguangTcpManager] Action - restartNetworkingClient, pid:17544
06-08 08:12:32.298 I/JIGUANG-JCore(17544): [JiguangTcpManager] No network connection. Give up to start connection thread.
06-08 08:16:00.478 I/JIGUANG-JCore(17544): [ReportHelper] periodTasks...
06-08 08:17:22.308 D/JIGUANG-JCore(17544): [JiguangTcpManager] Action - restartNetworkingClient, pid:17544
06-08 08:17:22.308 I/JIGUANG-JCore(17544): [JiguangTcpManager] No network connection. Give up to start connection thread.
06-08 08:20:50.698 I/JIGUANG-JCore(17544): [ReportHelper] periodTasks...
06-08 08:22:12.328 D/JIGUANG-JCore(17544): [JiguangTcpManager] Action - restartNetworkingClient, pid:17544
06-08 08:22:12.328 I/JIGUANG-JCore(17544): [JiguangTcpManager] No network connection. Give up to start connection thread.
06-08 08:25:40.938 I/JIGUANG-JCore(17544): [ReportHelper] periodTasks...
06-08 08:27:02.348 D/JIGUANG-JCore(17544): [JiguangTcpManager] Action - restartNetworkingClient, pid:17544
06-08 08:27:02.348 I/JIGUANG-JCore(17544): [JiguangTcpManager] No network connection. Give up to start connection thread.
06-08 08:30:31.128 I/JIGUANG-JCore(17544): [ReportHelper] periodTasks...
06-08 08:31:52.358 D/JIGUANG-JCore(17544): [JiguangTcpManager] Action - restartNetworkingClient, pid:17544
06-08 08:31:52.358 I/JIGUANG-JCore(17544): [JiguangTcpManager] No network connection. Give up to start connection thread.
06-08 08:35:21.338 I/JIGUANG-JCore(17544): [ReportHelper] periodTasks...
06-08 08:36:42.378 D/JIGUANG-JCore(17544): [JiguangTcpManager] Action - restartNetworkingClient, pid:17544
06-08 08:36:42.378 I/JIGUANG-JCore(17544): [JiguangTcpManager] No network connection. Give up to start connection thread.
06-08 08:40:11.488 I/JIGUANG-JCore(17544): [ReportHelper] periodTasks...
06-08 08:41:32.388 D/JIGUANG-JCore(17544): [JiguangTcpManager] Action - restartNetworkingClient, pid:17544
06-08 08:41:32.388 I/JIGUANG-JCore(17544): [JiguangTcpManager] No network connection. Give up to start connection thread.
06-08 08:45:01.718 I/JIGUANG-JCore(17544): [ReportHelper] periodTasks...
06-08 08:46:22.398 D/JIGUANG-JCore(17544): [JiguangTcpManager] Action - restartNetworkingClient, pid:17544
06-08 08:46:22.398 I/JIGUANG-JCore(17544): [JiguangTcpManager] No network connection. Give up to start connection thread.
06-08 08:49:51.978 I/JIGUANG-JCore(17544): [ReportHelper] periodTasks...
06-08 08:51:12.428 D/JIGUANG-JCore(17544): [JiguangTcpManager] Action - restartNetworkingClient, pid:17544
06-08 08:51:12.428 I/JIGUANG-JCore(17544): [JiguangTcpManager] No network connection. Give up to start connection thread.
06-08 08:54:42.258 I/JIGUANG-JCore(17544): [ReportHelper] periodTasks...
06-08 08:56:02.448 D/JIGUANG-JCore(17544): [JiguangTcpManager] Action - restartNetworkingClient, pid:17544
06-08 08:56:02.448 I/JIGUANG-JCore(17544): [JiguangTcpManager] No network connection. Give up to start connection thread.
06-08 08:59:32.478 I/JIGUANG-JCore(17544): [ReportHelper] periodTasks...
06-08 09:00:52.458 D/JIGUANG-JCore(17544): [JiguangTcpManager] Action - restartNetworkingClient, pid:17544
06-08 09:00:52.458 I/JIGUANG-JCore(17544): [JiguangTcpManager] No network connection. Give up to start connection thread.
06-08 09:04:22.708 I/JIGUANG-JCore(17544): [ReportHelper] periodTasks...
06-08 09:05:42.478 D/JIGUANG-JCore(17544): [JiguangTcpManager] Action - restartNetworkingClient, pid:17544
06-08 09:05:42.478 I/JIGUANG-JCore(17544): [JiguangTcpManager] No network connection. Give up to start connection thread.
06-08 09:09:13.128 I/JIGUANG-JCore(17544): [ReportHelper] periodTasks...
06-08 09:09:43.518 D/JIGUANG-JCore(17544): [PushReceiver] onReceive - android.intent.action.USER_PRESENT
06-08 09:09:43.528 D/JIGUANG-JPush(17544): [PushReceiverCore] onReceive - android.intent.action.USER_PRESENT
06-08 09:09:43.528 D/JIGUANG-JCore(17544): [JiguangTcpManager] Action - restartNetworkingClient, pid:17544
06-08 09:09:43.528 I/JIGUANG-JCore(17544): [JiguangTcpManager] No network connection. Give up to start connection thread.
06-08 09:09:54.148 D/JIGUANG-JCore(17544): [JiguangTcpManager] Action - restartNetworkingClient, pid:17544
06-08 09:09:54.148 I/JIGUANG-JCore(17544): [JiguangTcpManager] No network connection. Give up to start connection thread.
06-08 09:10:03.058 D/JIGUANG-JPush(17544): [JPushDataAction] Action - onActionRun
06-08 09:10:03.058 D/JIGUANG-JPush(17544): [PushServiceCore] bundle:Bundle[{action=com.aixuetang.future.intent.ALIAS_TAGS, proto_type=2, seq_id=22409, tags=null, alias=211006393, protoaction_type=2, sdktype=JPUSH}]
06-08 09:10:03.058 D/JIGUANG-JPush(17544): [PushServiceCore] Action - handleServiceAction - action:com.aixuetang.future.intent.ALIAS_TAGS
06-08 09:10:03.058 D/JIGUANG-JPush(17544): [TagAliasHelper] tagalias:[TagaliasRequest] - appKey:757bf908e1a2bcd0a064aacf, action:{"platform":"a","op":"set","alias":"211006393"} - [Request] - [JHead] - len:0, version:1, command:29, rid:22409, sid:0, juid:0
06-08 09:10:03.058 D/JIGUANG-JPush(17544): [JPushRequestHelper] Action - sendJPushRequest, timeout:20000, threadId:1463
06-08 09:10:03.068 D/JIGUANG-JCore(17544): [RequestCacheManager] Action - sendRequestInternal - connection:0, timeout:20000,sdkType:JPUSH, threadId:1458
06-08 09:10:03.068 W/JIGUANG-JCore(17544): [RequestCacheManager] sendCommandWithLoggedIn failed:sendData is null
06-08 09:10:04.088 D/JIGUANG-JCore(17544): [PushReceiver] onReceive - android.net.conn.CONNECTIVITY_CHANGE
06-08 09:10:04.088 D/JIGUANG-JPush(17544): [PushReceiverCore] onReceive - android.net.conn.CONNECTIVITY_CHANGE
06-08 09:10:04.098 D/JIGUANG-JCore(17544): [JiguangTcpManager] Action - restartNetworkingClient, pid:17544
06-08 09:10:04.098 D/JIGUANG-JCore(17544): [JiguangTcpManager] isRunning:false
06-08 09:10:04.098 D/JIGUANG-JCore(17544): [NetworkingClient] Action - tryStop - connection:0
06-08 09:10:04.108 I/JIGUANG-JCore(17544): [NetworkingClient] Begin to run in ConnectingThread - id:2693
06-08 09:10:04.438 D/JIGUANG-JCore( 5396): [PushReceiver] onReceive - android.net.conn.CONNECTIVITY_CHANGE
06-08 09:10:04.438 D/JIGUANG-JPush( 5396): [PushReceiverCore] onReceive - android.net.conn.CONNECTIVITY_CHANGE

#12

这是因为没有网络连接,连不上极光服务器,自然也收不到消息。[quote=“dong521, post:11, topic:27341”]
No network connection. Give up to start connection thread.
[/quote]


(小股东) #13

你好 这种呢

设备mac地址:b0:f1:ec:5a:29:b2

--------- beginning of main
06-08 09:04:55.219 D/JIGUANG-JPush( 1737): [JPushInterface] action:init - sdkVersion:3.1.1, buildId:396
06-08 09:04:55.229 D/JIGUANG-JCore( 1737): [JCoreGlobal] metadata: appKey - 757bf908e1a2bcd0a064aacf
06-08 09:04:55.229 D/JIGUANG-JCore( 1737): [JCoreGlobal] metadata: channel - developer-default
06-08 09:04:55.329 D/JIGUANG-JCore( 1737): [AndroidUtil] action:checkValidManifest
06-08 09:04:55.349 D/JIGUANG-JCore( 1737): [JCoreServiceUtils] set Push/Alarm Receiver enabled
06-08 09:04:55.369 D/JIGUANG-JCore( 1737): [JCoreGlobal] action:init - sdkVersion:1.1.9, buildId:172
06-08 09:04:55.419 D/JIGUANG-JPush( 1737): [AndroidUtil] action:checkValidManifest
06-08 09:04:55.459 I/JIGUANG-JPush( 1737): [PluginPlatformsInterface] whichPlatform - 0
06-08 09:04:55.459 I/JIGUANG-JPush( 1737): [PluginPlatformsInterface] isIntegrateFCM -false
06-08 09:04:56.389 D/JIGUANG-JPush( 1898): [JPushInterface] action:init - sdkVersion:3.1.1, buildId:396
06-08 09:04:56.399 D/JIGUANG-JCore( 1898): [JCoreGlobal] metadata: appKey - 757bf908e1a2bcd0a064aacf
06-08 09:04:56.399 D/JIGUANG-JCore( 1898): [JCoreGlobal] metadata: channel - developer-default
06-08 09:04:56.409 D/JIGUANG-JCore( 1898): [AndroidUtil] action:checkValidManifest
06-08 09:04:56.419 D/JIGUANG-JCore( 1898): [JCoreServiceUtils] set Push/Alarm Receiver enabled
06-08 09:04:56.429 D/JIGUANG-JCore( 1898): [JCoreGlobal] action:init - sdkVersion:1.1.9, buildId:172
06-08 09:04:56.449 D/JIGUANG-JPush( 1898): [AndroidUtil] action:checkValidManifest
06-08 09:04:56.469 D/JIGUANG-JPush( 1864): [JPushInterface] action:init - sdkVersion:3.1.1, buildId:396
06-08 09:04:56.469 I/JIGUANG-JPush( 1898): [PluginPlatformsInterface] whichPlatform - 0
06-08 09:04:56.469 I/JIGUANG-JPush( 1898): [PluginPlatformsInterface] isIntegrateFCM -false
06-08 09:04:56.469 D/JIGUANG-JCore( 1864): [JCoreGlobal] metadata: appKey - 757bf908e1a2bcd0a064aacf
06-08 09:04:56.469 D/JIGUANG-JCore( 1864): [JCoreGlobal] metadata: channel - developer-default
06-08 09:04:56.469 D/JIGUANG-JCore( 1864): [AndroidUtil] action:checkValidManifest
06-08 09:04:56.479 D/JIGUANG-JCore( 1864): [JCoreServiceUtils] set Push/Alarm Receiver enabled
06-08 09:04:56.489 D/JIGUANG-JCore( 1864): [JCoreGlobal] action:init - sdkVersion:1.1.9, buildId:172
06-08 09:04:56.499 D/JIGUANG-JPush( 1864): [AndroidUtil] action:checkValidManifest
06-08 09:04:56.499 D/JIGUANG-JCore( 1898): [PushService] onStartCommand - intent:Intent { act=com.aixuetang.future.run.action cmp=com.aixuetang.future/cn.jpush.android.service.PushService (has extras) }, pkg:com.aixuetang.future, connection:0
06-08 09:04:56.499 D/JIGUANG-JCore( 1898): [PushService] onStartCommand - intent:Intent { act=com.aixuetang.future.intent.INIT cmp=com.aixuetang.future/cn.jpush.android.service.PushService (has extras) }, pkg:com.aixuetang.future, connection:0
06-08 09:04:56.509 D/JIGUANG-JCore( 1898): [JiguangTcpManager] Action - restartNetworkingClient, pid:1898
06-08 09:04:56.509 D/JIGUANG-JCore( 1898): [ARunAction]  pkg:com.aixuetang.future
06-08 09:04:56.509 D/JIGUANG-JCore( 1898): [ARunAction] Bundle[{action=cn.jpush.android.intent.REPORT, report.extra.info=, report=crash_log, sdktype=JCORE}]
06-08 09:04:56.509 D/JIGUANG-JCore( 1898): [JiguangTcpManager] Action - restartNetworkingClient, pid:1898
06-08 09:04:56.509 I/JIGUANG-JCore( 1898): [NetworkingClient] Begin to run in ConnectingThread - id:255
06-08 09:04:56.509 D/JIGUANG-JCore( 1898): [JiguangTcpManager] isRunning:true
06-08 09:04:56.519 D/JIGUANG-JCore( 1898): [PushService] onStartCommand - intent:Intent { act=com.aixuetang.future.run.action cmp=com.aixuetang.future/cn.jpush.android.service.PushService (has extras) }, pkg:com.aixuetang.future, connection:0
06-08 09:04:56.529 I/JIGUANG-JPush( 1864): [PluginPlatformsInterface] whichPlatform - 0
06-08 09:04:56.529 D/JIGUANG-JCore( 1898): [ARunAction]  pkg:com.aixuetang.future
06-08 09:04:56.529 D/JIGUANG-JCore( 1898): [PushService] onStartCommand - intent:Intent { act=com.aixuetang.future.intent.INIT cmp=com.aixuetang.future/cn.jpush.android.service.PushService (has extras) }, pkg:com.aixuetang.future, connection:0
06-08 09:04:56.529 D/JIGUANG-JCore( 1898): [ARunAction] Bundle[{action=cn.jpush.android.intent.REPORT, report.extra.info=, report=crash_log, sdktype=JCORE}]
06-08 09:04:56.529 I/JIGUANG-JPush( 1864): [PluginPlatformsInterface] isIntegrateFCM -false
06-08 09:04:56.529 D/JIGUANG-JCore( 1898): [PushService] onStartCommand - intent:Intent { act=com.aixuetang.future.run.action cmp=com.aixuetang.future/cn.jpush.android.service.PushService (has extras) }, pkg:com.aixuetang.future, connection:0
06-08 09:04:56.539 D/JIGUANG-JCore( 1898): [PushService] onStartCommand - intent:Intent { act=com.aixuetang.future.intent.INIT cmp=com.aixuetang.future/cn.jpush.android.service.PushService (has extras) }, pkg:com.aixuetang.future, connection:255
06-08 09:04:56.539 D/JIGUANG-JCore( 1898): [ARunAction]  pkg:com.aixuetang.future
06-08 09:04:56.539 D/JIGUANG-JCore( 1898): [ARunAction] Bundle[{action=cn.jpush.android.intent.REPORT, report.extra.info=, report=crash_log, sdktype=JCORE}]
06-08 09:04:56.970 D/JIGUANG-JPush( 1898): [PushReceiverCore] onReceive - android.net.conn.CONNECTIVITY_CHANGE
06-08 09:04:56.970 D/JIGUANG-JCore( 1898): [ConnectingHelper] SIS Receiving...
06-08 09:04:57.509 D/JIGUANG-JCore( 1898): [SisPolicy] To get sis - host:123.196.118.22, port:19000 ,type:hardcode
06-08 09:04:57.559 D/JIGUANG-JCore( 1898): [PushReceiver] onReceive - android.net.conn.CONNECTIVITY_CHANGE
06-08 09:04:59.229 D/JIGUANG-JCore( 1898): [JiguangTcpManager] Send heart beat
06-08 09:04:59.999 D/JIGUANG-JCore( 1898): [JiguangTcpManager] Is connecting now. Give up to restart.
06-08 09:05:02.519 D/JIGUANG-JCore( 1864): [PushReceiver] onReceive - android.net.conn.CONNECTIVITY_CHANGE
06-08 09:05:02.519 D/JIGUANG-JPush( 1864): [PushReceiverCore] onReceive - android.net.conn.CONNECTIVITY_CHANGE
06-08 09:05:02.989 W/JIGUANG-JCore( 1898): [SisPolicy] singleSendSis failed, error:cn.jiguang.d.b.a.e: Can not get sis response from host: - 123.196.118.22 - null
06-08 09:05:03.869 D/JIGUANG-JCore( 1898): [SisPolicy] To get sis - host:123.196.118.14, port:19000 ,type:hardcode
06-08 09:05:03.869 D/JIGUANG-JCore( 1898): [ConnectingHelper] SIS Receiving...
06-08 09:05:05.129 D/JIGUANG-JPush( 1898): [JPushDataAction] Action - onActionRun
06-08 09:05:05.129 D/JIGUANG-JPush( 1898): [PushServiceCore] bundle:Bundle[{action=com.aixuetang.future.intent.ALIAS_TAGS, proto_type=2, seq_id=24191, tags=null, alias=211006360, protoaction_type=2, sdktype=JPUSH}]
06-08 09:05:05.129 D/JIGUANG-JPush( 1898): [PushServiceCore] Action - handleServiceAction - action:com.aixuetang.future.intent.ALIAS_TAGS
06-08 09:05:05.139 D/JIGUANG-JPush( 1898): [TagAliasHelper] tagalias:[TagaliasRequest] - appKey:757bf908e1a2bcd0a064aacf, action:{"platform":"a","op":"set","alias":"211006360"} - [Request] - [JHead] - len:0, version:1, command:29, rid:24191, sid:0, juid:0
06-08 09:05:05.139 D/JIGUANG-JPush( 1898): [JPushRequestHelper] Action - sendJPushRequest, timeout:20000, threadId:252
06-08 09:05:05.139 D/JIGUANG-JCore( 1898): [RequestCacheManager] Action - sendRequestInternal - connection:255, timeout:20000,sdkType:JPUSH, threadId:248
06-08 09:05:05.519 D/JIGUANG-JCore( 1898): [JiguangTcpManager] Is connecting now. Give up to restart.

(小股东) #14

还有这个 是网络问题吗 您给看一下

设备mac地址:44:2c:05:00:1a:9e

--------- beginning of main
06-07 19:36:57.213 D/JIGUANG-JCore( 1524): [JiguangTcpManager] Action - restartNetworkingClient, pid:1524
06-07 19:36:57.213 D/JIGUANG-JCore( 1524): [JiguangTcpManager] isRunning:false
06-07 19:36:57.214 D/JIGUANG-JCore( 1524): [NetworkingClient] Action - tryStop - connection:0
06-07 19:36:57.214 I/JIGUANG-JCore( 1524): [NetworkingClient] Begin to run in ConnectingThread - id:261
--------- beginning of system
06-07 19:36:57.271 D/JIGUANG-JCore( 1524): [SisPolicy] To get sis - host:123.196.118.24, port:19000 ,type:hardcode
06-07 19:36:57.276 D/JIGUANG-JCore( 1524): [ConnectingHelper] SIS Receiving...
06-07 19:36:57.331 I/JIGUANG-JCore( 1524): [SisPolicy] Get sis info succeed with host: 123.196.118.24 type:hardcode
06-07 19:36:57.349 D/JIGUANG-JCore( 1524): [SisPolicy] Open connection with main - ip:139.198.188.45, port:7006
06-07 19:36:57.416 I/JIGUANG-JCore( 1524): [SisPolicy] Succeed to open connection - ip:139.198.188.45, port:7006
06-07 19:36:57.819 I/JIGUANG-JCore( 1524): [ConnectingHelper] Register succeed - juid:13434998535, registrationId:1104a8979289b862406, deviceId:null
06-07 19:36:57.865 I/JIGUANG-JCore( 1524): [ConnectingHelper] Login with - juid:0, appKey:757bf908e1a2bcd0a064aacf, sdkVersion:65801, pushVersion:196865, analyticsVersion:0 ,shareVersion:0, pluginPlatformType:0
06-07 19:36:57.947 W/JIGUANG-JCore( 1524): [ConnectingHelper] Login failed with server error - code:108 - Incorrect uid
06-07 19:36:57.989 D/JIGUANG-JCore( 1524): [JiguangTcpManager] onLoginFailed - connection:261, respCode:0
06-07 19:36:58.879 I/JIGUANG-JCore( 1524): [ConnectingHelper] Register succeed - juid:13434998535, registrationId:1104a8979289b862406, deviceId:null
06-07 19:36:58.939 I/JIGUANG-JCore( 1524): [ConnectingHelper] Login with - juid:0, appKey:757bf908e1a2bcd0a064aacf, sdkVersion:65801, pushVersion:196865, analyticsVersion:0 ,shareVersion:0, pluginPlatformType:0
06-07 19:36:59.024 W/JIGUANG-JCore( 1524): [ConnectingHelper] Login failed with server error - code:108 - Incorrect uid
06-07 19:36:59.070 D/JIGUANG-JCore( 1524): [JiguangTcpManager] onLoginFailed - connection:261, respCode:0
06-07 19:36:59.160 D/JIGUANG-JCore( 1524): [NetworkingClient] login error,retry login too many times
06-07 19:36:59.160 D/JIGUANG-JCore( 1524): [NetworkingClient] Action - closeConnection - connection:261
06-07 19:36:59.161 D/JIGUANG-JCore( 1524): [NetworkingClient] prepare Push Channel failed , returned
06-07 19:36:59.161 D/JIGUANG-JCore( 1524): [JiguangTcpManager] Action - onDisconnected - connection:0
06-07 19:36:59.161 D/JIGUANG-JPush( 1524): [AndroidUtil] action:checkValidManifest
06-07 19:36:59.163 E/JIGUANG-JPush( 1524): [AndroidUtil] AndroidManifest.xml missing required intent filter for PushActivity: cn.jpush.android.ui.PushActivity
06-07 19:36:59.163 D/JIGUANG-JCore( 1524): [NetworkingClient] Action - tryStop - connection:0
06-07 19:36:59.163 D/JIGUANG-JCore( 1524): [JiguangTcpManager] Action - retryConnect - disconnectedTimes:9
06-07 19:37:02.275 D/JIGUANG-JPush( 2573): [AndroidUtil] action:checkValidManifest
06-07 19:37:02.277 E/JIGUANG-JPush( 2573): [AndroidUtil] AndroidManifest.xml missing required intent filter for PushActivity: cn.jpush.android.ui.PushActivity
06-07 19:37:02.277 W/JIGUANG-JPush( 2573): [TagAliasOperator] onTagaliasTimeout error:Attempt to invoke virtual method 'java.lang.String java.lang.String.intern()' on a null object reference

#15

最后一个日志的问题和之前是一样的,这个问题我们正在分析中,请稍后。

倒数第二个没看出什么问题,不过长连接状态是有较多情况会断开的,他断开后也会自动连接,一般情况都会连接成功的。

断网(或连的是内网,网络有限制、网络波动)、关机、进程不在、主动调用了 stopPush 服务等,长连接都会断开


#16

关于登陆时 UID 为 0 的问题,请更新 SDK 版本至 JPush 3.1.6 JCore 1.2.5
https://docs.jiguang.cn/jpush/updates/#jpush-android-sdk-v316

且配置AndroidManifest里的DataProvider的进程与PushService的一致(PushSevice没有配多进程的则不用动),可以避免类似情况发生

 <provider
            android:name="cn.jpush.android.service.DataProvider"
            android:authorities="${applicationId}.DataProvider"
            android:process=":mult"
            android:exported="true" />

 <service
            android:name="cn.jpush.android.service.PushService"
            android:process=":mult">
            <intent-filter>
                <action android:name="cn.jpush.android.intent.REGISTER" />
                <action android:name="cn.jpush.android.intent.REPORT" />
                <action android:name="cn.jpush.android.intent.PushService" />
                <action android:name="cn.jpush.android.intent.PUSH_TIME" />
            </intent-filter>
        </service>