极光推送初始化失败——

android
jpush
标签: #<Tag:0x00007fb833c95db8> #<Tag:0x00007fb833c95c78>

(Adolph) #1
2018-11-27 20:47:34.454 9555-9555/com.ixiye.project.daihuo D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.1.7, buildId:421
2018-11-27 20:47:34.456 9555-9555/com.ixiye.project.daihuo D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
2018-11-27 20:47:34.456 9555-9586/com.ixiye.project.daihuo D/JIGUANG-JCore: [JCoreGlobal] action:init - sdkVersion:1.2.6, buildId:101
2018-11-27 20:47:34.918 9555-9586/com.ixiye.project.daihuo D/JIGUANG-JCore: [JCoreGlobal] manifest:channel - developer-default
2018-11-27 20:47:34.933 9555-9586/com.ixiye.project.daihuo D/JIGUANG-JCore: [JCoreGlobal] metadata: appKey - 676290bf9750f1308cf1b9db
2018-11-27 20:47:34.933 9555-9586/com.ixiye.project.daihuo D/JIGUANG-JCore: [AndroidUtil] action:checkValidManifest
2018-11-27 20:47:34.940 9555-9586/com.ixiye.project.daihuo D/JIGUANG-JCore: [JCoreServiceUtils] set Push/Alarm Receiver enabled
2018-11-27 20:47:41.516 9555-9555/com.ixiye.project.daihuo E/袋货:-JIGUANG-Example: ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────
2018-11-27 20:47:41.517 9555-9555/com.ixiye.project.daihuo E/袋货:-JIGUANG-Example: │ ZygoteInit.main  (ZygoteInit.java:783)
2018-11-27 20:47:41.517 9555-9555/com.ixiye.project.daihuo E/袋货:-JIGUANG-Example: │    Zygote$MethodAndArgsCaller.run  (Zygote.java:246)
2018-11-27 20:47:41.517 9555-9555/com.ixiye.project.daihuo E/袋货:-JIGUANG-Example: │       Method.invoke  (Method.java:-2)
2018-11-27 20:47:41.517 9555-9555/com.ixiye.project.daihuo E/袋货:-JIGUANG-Example: │          ActivityThread.main  (ActivityThread.java:6701)
2018-11-27 20:47:41.517 9555-9555/com.ixiye.project.daihuo E/袋货:-JIGUANG-Example: │             Looper.loop  (Looper.java:176)
2018-11-27 20:47:41.517 9555-9555/com.ixiye.project.daihuo E/袋货:-JIGUANG-Example: ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
2018-11-27 20:47:41.518 9555-9555/com.ixiye.project.daihuo E/袋货:-JIGUANG-Example: │ [MyReceiver]cn.jpush.android.intent.CONNECTION connected state change to true
2018-11-27 20:47:41.518 9555-9555/com.ixiye.project.daihuo E/袋货:-JIGUANG-Example: └────────────────────────────────────────────────────────────────────────────────────────────────────────────────
2018-11-27 20:47:41.551 9555-9555/com.ixiye.project.daihuo D/JIGUANG-JCore: [PushReceiver] onReceive - cn.jpush.android.intent.ACTION_REPORT_HISTORY
2018-11-27 20:47:41.556 9555-9586/com.ixiye.project.daihuo D/JIGUANG-JPush: [PushReceiverCore] onReceive - cn.jpush.android.intent.ACTION_REPORT_HISTORY

没有之后的login操作,是哪里有问题


#2

日志太少了,获取下完整的信息


(Adolph) #3

这就是过滤了jiguang之后全部的了,之后重复

2018-11-27 20:57:21.755 9555-9555/com.ixiye.project.daihuo D/JIGUANG-JCore: [PushReceiver] onReceive - cn.jpush.android.intent.ACTION_REPORT_HISTORY
2018-11-27 20:57:21.756 9555-9586/com.ixiye.project.daihuo D/JIGUANG-JPush: [PushReceiverCore] onReceive - cn.jpush.android.intent.ACTION_REPORT_HISTORY

#4

不要筛选进程,不可能只有这些信息的


(Adolph) #5
2018-11-27 21:06:31.545 11539-11709/com.ixiye.project.daihuo I/JIGUANG-JCore: [ConnectingHelper] Register succeed - juid:16338907757, registrationId:160a3797c82a6ce856e, deviceId:null
2018-11-27 21:06:31.560 11539-11709/com.ixiye.project.daihuo I/JIGUANG-JCore: [ConnectingHelper] Login with - juid:0, appKey:676290bf9750f1308cf1b9db, sdkVersion:66054, pushVersion:196871, analyticsVersion:0 ,shareVersion:0,sspSdkVer:0,verificationSdkVer:0, pluginPlatformType:0
2018-11-27 21:06:31.630 11539-11709/com.ixiye.project.daihuo W/JIGUANG-JCore: [ConnectingHelper] Login failed with server error - code:108 - Incorrect uid
2018-11-27 21:06:31.630 11539-11696/com.ixiye.project.daihuo D/JIGUANG-JCore: [JiguangTcpManager] onLoginFailed - connection:4761, respCode:0
2018-11-27 21:06:31.665 11539-11709/com.ixiye.project.daihuo D/JIGUANG-JCore: [NetworkingClient] login error,retry login too many times
2018-11-27 21:06:31.665 11539-11709/com.ixiye.project.daihuo D/JIGUANG-JCore: [NetworkingClient] Action - closeConnection - connection:4761
2018-11-27 21:06:31.666 11539-11709/com.ixiye.project.daihuo D/JIGUANG-JCore: [NetworkingClient] prepare Push Channel failed , returned
2018-11-27 21:06:31.666 11539-11696/com.ixiye.project.daihuo D/JIGUANG-JCore: [JiguangTcpManager] Action - onDisconnected - connection:0
2018-11-27 21:06:31.670 11539-11696/com.ixiye.project.daihuo D/JIGUANG-JCore: [NetworkingClient] Action - tryStop - connection:0
2018-11-27 21:06:31.671 11539-11696/com.ixiye.project.daihuo D/JIGUANG-JCore: [JiguangTcpManager] Action - retryConnect - disconnectedTimes:1
2018-11-27 21:06:31.674 11539-11696/com.ixiye.project.daihuo D/JIGUANG-JCore: [JiguangTcpManager] onDisconnected and retry restart conn - delay:6000
2018-11-27 21:06:37.676 11539-11696/com.ixiye.project.daihuo D/JIGUANG-JCore: [JiguangTcpManager] Action - restartNetworkingClient, pid:11539
2018-11-27 21:06:37.682 11539-11696/com.ixiye.project.daihuo D/JIGUANG-JCore: [JiguangTcpManager] isRunning:false
2018-11-27 21:06:37.682 11539-11696/com.ixiye.project.daihuo D/JIGUANG-JCore: [NetworkingClient] Action - tryStop - connection:0
2018-11-27 21:06:37.685 11539-11756/com.ixiye.project.daihuo I/JIGUANG-JCore: [NetworkingClient] Begin to run in ConnectingThread - id:4771
2018-11-27 21:06:37.735 11539-11756/com.ixiye.project.daihuo D/JIGUANG-JCore: [SisPolicy] To get sis - host:139.198.14.15, port:19000 ,type:hardcode_domain
2018-11-27 21:06:37.759 11539-11756/com.ixiye.project.daihuo D/JIGUANG-JCore: [ConnectingHelper] SIS Receiving...
2018-11-27 21:06:43.781 11539-11756/com.ixiye.project.daihuo W/JIGUANG-JCore: [SisPolicy] singleSendSis failed, error:cn.jiguang.d.b.a.e: Can not get sis response from host: - 139.198.14.15 - Poll timed out
2018-11-27 21:06:43.816 11539-11756/com.ixiye.project.daihuo D/JIGUANG-JCore: [SisPolicy] To get sis - host:121.46.30.51, port:19000 ,type:hardcode_domain
2018-11-27 21:06:43.823 11539-11756/com.ixiye.project.daihuo D/JIGUANG-JCore: [ConnectingHelper] SIS Receiving...
2018-11-27 21:06:43.887 11539-11756/com.ixiye.project.daihuo I/JIGUANG-JCore: [SisPolicy] Get sis info succeed with host: 121.46.30.51 type:hardcode_domain
2018-11-27 21:06:43.899 11539-11756/com.ixiye.project.daihuo D/JIGUANG-JCore: [SisPolicy] Open connection with main - ip:124.202.151.16, port:7004
2018-11-27 21:06:43.950 11539-11756/com.ixiye.project.daihuo I/JIGUANG-JCore: [SisPolicy] Succeed to open connection - ip:124.202.151.16, port:7004
2018-11-27 21:06:45.046 11539-11756/com.ixiye.project.daihuo I/JIGUANG-JCore: [ConnectingHelper] Register succeed - juid:16338907757, registrationId:160a3797c82a6ce856e, deviceId:null
2018-11-27 21:06:45.080 11539-11756/com.ixiye.project.daihuo I/JIGUANG-JCore: [ConnectingHelper] Login with - juid:0, appKey:676290bf9750f1308cf1b9db, sdkVersion:66054, pushVersion:196871, analyticsVersion:0 ,shareVersion:0,sspSdkVer:0,verificationSdkVer:0, pluginPlatformType:0
2018-11-27 21:06:45.171 11539-11756/com.ixiye.project.daihuo W/JIGUANG-JCore: [ConnectingHelper] Login failed with server error - code:108 - Incorrect uid
2018-11-27 21:06:45.171 11539-11696/com.ixiye.project.daihuo D/JIGUANG-JCore: [JiguangTcpManager] onLoginFailed - connection:4771, respCode:0
2018-11-27 21:06:45.984 11539-11756/com.ixiye.project.daihuo I/JIGUANG-JCore: [ConnectingHelper] Register succeed - juid:16338907757, registrationId:160a3797c82a6ce856e, deviceId:null

试了其他手机都能正常login success,小米6一直报login failed


#6

这个日志里面有一个异常是登陆的时候 UID 为 0 了,我私信你配合取一下日志。