项目集成了极光推送和一键登录,一键登录可以登陆,但是只有第一次进入应用时初始化成功,之后都报错8005连接超时,请问这种问题的原因是什么?

用户9628957
5年前 177 1

以下是极光的日志:
12-01 11:11:51.200 30854-30854/? D/ActionManager: addAction type:JPUSH,action:cn.jiguang.bb.g
12-01 11:11:51.200 30854-30854/? D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.1.5, buildId:409
12-01 11:11:51.214 30854-30854/? D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
12-01 11:11:51.275 30854-30882/? I/JIGUANG-JCore-P: [JCommonServiceHelper] found userServiceClass :com.onway.hshb.service.JPushService by getCommonServiceNames
12-01 11:11:51.281 30854-30896/? I/JIGUANG-JCore-P: [JCoreGobal] action:init jcore,version:2.4.2,build id:21,l:234
12-01 11:11:51.332 30854-30917/? D/ActionManager: addAction type:JVERIFICATION,action:cn.jiguang.bb.g
12-01 11:11:51.349 30854-30917/? D/JIGUANG-VERIFICATION: [JVerificationInterface] JVerificationInterface localInit...version:2.6.4 ,buildId:318
12-01 11:11:51.424 30905-30905/? D/ActionManager: addAction type:JPUSH,action:cn.jiguang.bb.g
12-01 11:11:51.425 30905-30905/? D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.1.5, buildId:409
12-01 11:11:51.435 30905-30905/? D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
12-01 11:11:51.439 30854-30917/? D/JIGUANG-VERIFICATION: [JVerificationInterface] localInit sdk result:aut=true
12-01 11:11:51.439 30854-30917/? D/JIGUANG-VERIFICATION: [JVerificationInterface] localInit sdk done
12-01 11:11:51.477 30854-30854/? D/JIGUANG-VERIFICATION: [ViewInspector] [onActivityCreated] . activity = com.onway.hshb.activity.SplashActivity@14de3ea savedInstanceState = null
12-01 11:11:51.513 30905-30963/? I/JIGUANG-JCore-P: [JCommonServiceHelper] found userServiceClass :com.onway.hshb.service.JPushService by getCommonServiceNames
12-01 11:11:51.534 30905-30989/? D/JIGUANG-JCore-P: [CheckManifestHelper] manifest:channel - developer-default
12-01 11:11:51.543 30905-30995/? D/ActionManager: addAction type:JVERIFICATION,action:cn.jiguang.bb.g
12-01 11:11:51.553 30905-30995/? D/JIGUANG-VERIFICATION: [JVerificationInterface] JVerificationInterface localInit...version:2.6.4 ,buildId:318
12-01 11:11:51.554 30905-30989/? I/JIGUANG-D-P: [JDyAndroidUtils] found userServiceClass :com.onway.hshb.service.JPushService by getCommonServiceNames
12-01 11:11:51.594 30905-30989/? D/JIGUANG-JCommon-P: [JCommonInterface] onEvent action:service_create
12-01 11:11:51.601 30854-30854/? D/JIGUANG-JCore-P: [JCoreHelper] runActionWithService action:notification_state
12-01 11:11:51.604 30854-30854/? D/JIGUANG-VERIFICATION: [ViewInspector] [onActivityStarted] . activity = com.onway.hshb.activity.SplashActivity@14de3ea
12-01 11:11:51.614 30854-30854/? D/JIGUANG-VERIFICATION: [ViewInspector] [onActivityResumed] . activity = com.onway.hshb.activity.SplashActivity@14de3ea
12-01 11:11:51.632 30905-30989/? D/JIGUANG-JCommon-P: [JCommonInterface] onEvent action:set_sdktype_info
12-01 11:11:51.661 30905-31020/? D/JIGUANG-JCore-P: [JCoreTCPManager] Action - restartNetworkingClient, pid:30905
12-01 11:11:51.669 30905-31021/? I/JIGUANG-JCore-P: [NetworkingClient] Begin to run in ConnectingThread - id:25034
12-01 11:11:51.676 30905-31021/? D/JIGUANG-JCommon-P: [JCommonInterface] onEvent action:get_imei
12-01 11:11:51.684 30905-30995/? D/JIGUANG-VERIFICATION: [JVerificationInterface] localInit sdk result:aut=true
12-01 11:11:51.684 30905-30995/? D/JIGUANG-VERIFICATION: [JVerificationInterface] localInit sdk done
12-01 11:11:51.745 30905-31020/? D/JIGUANG-JCore-P: [JCoreTCPManager] Send heart beat
12-01 11:11:51.750 30905-30989/? D/JIGUANG-JCommon-P: [JCommonInterface] onEvent action:notification_state
12-01 11:11:51.764 30905-31031/? D/JIGUANG-JCommon-P: [JCommonInterface] onEvent action:get_loc_info
12-01 11:11:51.787 30905-31031/? D/JIGUANG-JCore-P: [ConnectingHelper] udp Receiving...
12-01 11:11:51.854 30905-31041/? D/JIGUANG-JCore-P: [ConnectingHelper] udp Receiving...
12-01 11:11:51.870 30905-31043/? D/JIGUANG-JCore-P: [ConnTask] Open connection with ip=/43.247.88.103, port:7006
12-01 11:11:51.951 30905-31043/? I/JIGUANG-JCore-P: [ConnTask] Succeed to open connection - ip:/43.247.88.103, port:7006
12-01 11:11:51.953 30905-31021/? I/JIGUANG-JCore-P: [ConnectingHelper] Login with - juid:47025693951, appKey:e4c46b78d4e38f1e33e71f64, sdkVersion:132098|196869||132612, pluginPlatformType:0
12-01 11:11:51.954 30905-31021/? D/JIGUANG-JCommon-P: [JCommonInterface] onEvent action:get_loc_info
12-01 11:11:52.030 30905-31021/? I/JIGUANG-JCore-P: [ConnectingHelper] Login succeed - sid:72039, serverTime;1606792312000
12-01 11:11:52.030 30905-31021/? D/JIGUANG-JCore-P: [NetworkingClient] Network listening...
12-01 11:11:52.030 30905-31020/? D/JIGUANG-JCore-P: [JCoreTCPManager] Action - onLoggedIn
12-01 11:11:52.032 30905-31020/? D/JIGUANG-JCommon-P: [JCommonInterface] onEvent action:periodtask
12-01 11:11:52.079 30905-31020/? D/JIGUANG-JCommon-P: [JCommonInterface] onEvent action:getwakeenable
12-01 11:11:52.128 30905-31020/? D/JIGUANG-JCommon-P: [JCommonInterface] onEvent action:filter_pkg_list
12-01 11:11:54.867 30905-31037/? W/JIGUANG-JCore-P: [NioSocketClient] tcp connect has failed:java.net.ConnectException: Connection refused
12-01 11:11:55.211 30905-31020/? D/JIGUANG-JCore-P: [HttpHelper] status code:200 retry left:2
12-01 11:11:56.652 30854-30854/? D/JIGUANG-VERIFICATION: [ViewInspector] [onActivityPaused] . activity = com.onway.hshb.activity.SplashActivity@14de3ea isfinishing = true
12-01 11:11:56.684 30854-30854/? D/JIGUANG-VERIFICATION: [ViewInspector] [onActivityCreated] . activity = com.onway.hshb.activity.MainActivity@67be0f9 savedInstanceState = null
12-01 11:11:56.724 30854-30854/? D/JIGUANG-VERIFICATION: [ViewInspector] [onActivityStarted] . activity = com.onway.hshb.activity.MainActivity@67be0f9
12-01 11:11:56.830 30854-30854/? D/JIGUANG-VERIFICATION: [ViewInspector] [onActivityResumed] . activity = com.onway.hshb.activity.MainActivity@67be0f9
12-01 11:11:57.278 30854-30854/? D/JIGUANG-VERIFICATION: [ViewInspector] [onActivityStopped] . activity = com.onway.hshb.activity.SplashActivity@14de3ea
12-01 11:11:57.280 30854-30854/? D/JIGUANG-VERIFICATION: [ViewInspector] [onActivityDestroyed] . activity = com.onway.hshb.activity.SplashActivity@14de3ea isfinishing = true
12-01 11:11:59.334 30854-30854/? D/JIGUANG-VERIFICATION: [AndroidUtils] [hasSimCard] sim states. LOADED,ABSENT
12-01 11:11:59.343 30854-30854/? I/JIGUANG-VERIFICATION: [AndroidUtils] is mobile data enabled . = true
12-01 11:11:59.380 30854-30854/? W/System.err: at cn.jiguang.verifysdk.q.g.d(Unknown Source:12)
12-01 11:11:59.380 30854-30854/? W/System.err: at cn.jiguang.verifysdk.aa.c.l(Unknown Source:6)
12-01 11:11:59.380 30854-30854/? W/System.err: at cn.jiguang.verifysdk.aa.c.c(Unknown Source:2)
12-01 11:11:59.380 30854-30854/? W/System.err: at cn.jiguang.verifysdk.ab.b.a(Unknown Source:47)
12-01 11:11:59.380 30854-30854/? W/System.err: at cn.jiguang.verifysdk.ac.a.b(Unknown Source:5)
12-01 11:11:59.380 30854-30854/? W/System.err: at cn.jiguang.verifysdk.l.d.checkVerifyEnable(Unknown Source:0)
12-01 11:11:59.380 30854-30854/? W/System.err: at cn.jiguang.verifysdk.api.JVerificationInterface.checkVerifyEnable(Unknown Source:4)
12-01 11:11:59.394 30854-30854/? D/JIGUANG-VERIFICATION: [EnvReport] env code = 37
12-01 11:11:59.469 30854-31132/? D/JIGUANG-VERIFICATION: [CmAuthHelper] CM start preGetPhoneInfo
12-01 11:11:59.473 30854-31132/? D/JIGUANG-VERIFICATION: [SimInfoFetcher] [getIdentifier] identifier = 1
12-01 11:11:59.488 30854-31132/? D/JIGUANG-VERIFICATION: [AndroidUtils] [hasSimCard] sim states. LOADED,ABSENT
12-01 11:11:59.495 30854-31132/? I/JIGUANG-VERIFICATION: [AndroidUtils] is mobile data enabled . = true
12-01 11:11:59.704 30854-30854/? D/JIGUANG-VERIFICATION: [VerifyCall] code=7000 msg=preLogin success detail=[CM,(103000)null]
12-01 11:11:59.742 30854-31145/? D/JIGUANG-VERIFICATION: [SimInfoFetcher] [getIdentifier] identifier = 1
12-01 11:11:59.743 30854-31145/? D/JIGUANG-VERIFICATION: [AndroidUtils] [hasSimCard] sim states. LOADED,ABSENT
12-01 11:11:59.746 30854-31145/? I/JIGUANG-VERIFICATION: [AndroidUtils] is mobile data enabled . = true
12-01 11:12:00.246 30854-30854/? D/JIGUANG-VERIFICATION: [VerifyCall] code=6001 msg=fetch loginToken failed detail=[CM,(105002)非法手机号null]
12-01 11:12:04.181 30854-30854/? D/JIGUANG-VERIFICATION: [AndroidUtils] [hasSimCard] sim states. LOADED,ABSENT
12-01 11:12:04.187 30854-30854/? I/JIGUANG-VERIFICATION: [AndroidUtils] is mobile data enabled . = true
12-01 11:12:04.206 30854-30854/? D/JIGUANG-VERIFICATION: [EnvReport] env code = 37
12-01 11:12:04.254 30854-31132/? D/JIGUANG-VERIFICATION: [CmAuthHelper] CM start preGetPhoneInfo
12-01 11:12:04.269 30854-31132/? D/JIGUANG-VERIFICATION: [SimInfoFetcher] [getIdentifier] identifier = 1
12-01 11:12:04.324 30854-30854/? D/JIGUANG-VERIFICATION: [VerifyCall] code=7000 msg=preLogin success detail=[CM,(103000)null]
12-01 11:12:04.356 30854-31131/? D/JIGUANG-VERIFICATION: [SimInfoFetcher] [getIdentifier] identifier = 1
12-01 11:12:04.356 30854-31131/? D/JIGUANG-VERIFICATION: [AndroidUtils] [hasSimCard] sim states. LOADED,ABSENT
12-01 11:12:04.359 30854-31131/? I/JIGUANG-VERIFICATION: [AndroidUtils] is mobile data enabled . = true
12-01 11:12:04.531 30854-30854/? D/JIGUANG-VERIFICATION: [ViewInspector] [onActivityPaused] . activity = com.onway.hshb.activity.MainActivity@67be0f9 isfinishing = false
12-01 11:12:04.581 30854-30854/? D/JIGUANG-VERIFICATION: [ViewInspector] [onActivityCreated] . activity = com.cmic.sso.sdk.activity.LoginAuthActivity@c2ce57b savedInstanceState = null
12-01 11:12:04.638 30854-30854/? D/JIGUANG-VERIFICATION: [ViewInspector] [onActivityStarted] . activity = com.cmic.sso.sdk.activity.LoginAuthActivity@c2ce57b
12-01 11:12:04.639 30854-30854/? D/JIGUANG-VERIFICATION: [ViewInspector] [originViewFetcher] fetch finished . OriginContentViews{activity=true, navReturnBtn=true, loginView=true, originCheckBox=true, mobileNumber='true'}
12-01 11:12:04.646 31173-31173/? D/ActionManager: addAction type:JPUSH,action:cn.jiguang.bb.g
12-01 11:12:04.646 31173-31173/? D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.1.5, buildId:409
12-01 11:12:04.654 31173-31173/? D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
12-01 11:12:04.656 30854-30854/? D/JIGUANG-VERIFICATION: [ViewInspector] [onActivityResumed] . activity = com.cmic.sso.sdk.activity.LoginAuthActivity@c2ce57b
12-01 11:12:04.764 31173-31201/? I/JIGUANG-JCore-P: [JCommonServiceHelper] found userServiceClass :com.onway.hshb.service.JPushService by getCommonServiceNames
12-01 11:12:04.767 31173-31215/? D/ActionManager: addAction type:JVERIFICATION,action:cn.jiguang.bb.g
12-01 11:12:04.772 31173-31215/? D/JIGUANG-VERIFICATION: [JVerificationInterface] JVerificationInterface localInit...version:2.6.4 ,buildId:318
12-01 11:12:04.817 31173-31222/? D/JIGUANG-JCore-P: [CheckManifestHelper] manifest:channel - developer-default
12-01 11:12:04.841 31173-31222/? I/JIGUANG-D-P: [JDyAndroidUtils] found userServiceClass :com.onway.hshb.service.JPushService by getCommonServiceNames
12-01 11:12:04.853 31173-31222/? D/JIGUANG-JCommon-P: [JCommonInterface] onEvent action:service_create
12-01 11:12:04.853 31173-31215/? D/JIGUANG-VERIFICATION: [JVerificationInterface] localInit sdk result:aut=true
12-01 11:12:04.853 31173-31215/? D/JIGUANG-VERIFICATION: [JVerificationInterface] localInit sdk done
12-01 11:12:04.880 31173-31222/? D/JIGUANG-JCommon-P: [JCommonInterface] onEvent action:set_sdktype_info
12-01 11:12:04.886 31173-31232/? D/JIGUANG-JCore-P: [JCoreTCPManager] Action - restartNetworkingClient, pid:31173
12-01 11:12:04.892 31173-31235/? I/JIGUANG-JCore-P: [NetworkingClient] Begin to run in ConnectingThread - id:25040
12-01 11:12:04.896 31173-31235/? D/JIGUANG-JCommon-P: [JCommonInterface] onEvent action:get_imei
12-01 11:12:04.940 31173-31242/? D/JIGUANG-JCore-P: [ConnTask] Open connection with ip=/43.247.88.103, port:7006
12-01 11:12:04.955 31173-31247/? D/JIGUANG-JCommon-P: [JCommonInterface] onEvent action:get_loc_info
12-01 11:12:04.962 31173-31247/? D/JIGUANG-JCore-P: [ConnectingHelper] udp Receiving...
12-01 11:12:04.990 31173-31242/? I/JIGUANG-JCore-P: [ConnTask] Succeed to open connection - ip:/43.247.88.103, port:7006
12-01 11:12:05.053 30854-30854/? D/JIGUANG-VERIFICATION: [ViewInspector] [onActivityStopped] . activity = com.onway.hshb.activity.MainActivity@67be0f9
12-01 11:12:05.061 31173-31235/? I/JIGUANG-JCore-P: [ConnectingHelper] Login with - juid:47025693951, appKey:e4c46b78d4e38f1e33e71f64, sdkVersion:132098|196869||132612, pluginPlatformType:0
12-01 11:12:05.063 31173-31235/? D/JIGUANG-JCommon-P: [JCommonInterface] onEvent action:get_loc_info
12-01 11:12:05.160 31173-31235/? I/JIGUANG-JCore-P: [ConnectingHelper] Login succeed - sid:66754, serverTime;1606792325000
12-01 11:12:05.161 31173-31235/? D/JIGUANG-JCore-P: [NetworkingClient] Network listening...
12-01 11:12:05.161 31173-31232/? D/JIGUANG-JCore-P: [JCoreTCPManager] Action - onLoggedIn
12-01 11:12:05.164 31173-31232/? D/JIGUANG-JCommon-P: [JCommonInterface] onEvent action:periodtask
12-01 11:12:05.214 31173-31232/? D/JIGUANG-JCommon-P: [JCommonInterface] onEvent action:getwakeenable
12-01 11:12:05.240 31173-31232/? D/JIGUANG-JCommon-P: [JCommonInterface] onEvent action:filter_pkg_list
12-01 11:12:05.868 30854-31129/? D/JIGUANG-VERIFICATION: [SimInfoFetcher] [getActiveSimIDUnderAPI22] getSubscriberId ->null
12-01 11:12:05.878 30854-30854/? D/JIGUANG-VERIFICATION: [ViewInspector] [onActivityPaused] . activity = com.cmic.sso.sdk.activity.LoginAuthActivity@c2ce57b isfinishing = true
12-01 11:12:05.880 30854-31129/? W/JIGUANG-VERIFICATION: [SimInfoFetcher] getActiveSimIDAPI22 . warn . No phone privilege permission
12-01 11:12:05.886 30854-31129/? D/JIGUANG-VERIFICATION: [SimInfoFetcher] [getIdentifier] identifier = 1
12-01 11:12:05.898 30854-30854/? D/JIGUANG-VERIFICATION: [ViewInspector] [onActivityStarted] . activity = com.onway.hshb.activity.MainActivity@67be0f9
12-01 11:12:05.905 30854-30854/? D/JIGUANG-VERIFICATION: [ViewInspector] [onActivityResumed] . activity = com.onway.hshb.activity.MainActivity@67be0f9
12-01 11:12:05.906 30854-30854/? D/JIGUANG-VERIFICATION: [VerifyCall] code=6000 msg=92pDfSgqfVOjHtQ0Zw1RkwcJ7yFOKM/Te069BpGqCDIJkfNK6tDQFS6lt5SI7Bclt7KSv3e9+Wo+x2mO8KL7qlL319nBw452SbGKoDVa6hYcaXjohkimscebfCv/KMpm4tTqRFhYFtapJZAg6JcVKTDFNBzfG5GLTzAooGU5rBoDnZsJwHp8MU4GwFs/+DoIxadS3A5SVDBWX3LV/U875gUumfuUbWOKBotSS9KJsCtfTKZ69WAnlPEJ1CdYl1CeeluYA92sywkgEyt082jdoyTfaBobe4VtLyaUOX0xU421g3LLMoVSAfHI9FpVvP0aDyoN4KRKHeybGrLOMiAq5QdldhJRGnKZ3CGk7ERkIvs= detail=[CM,(103000)]
12-01 11:12:06.244 30854-30854/? D/JIGUANG-VERIFICATION: [ViewInspector] [onActivityStopped] . activity = com.cmic.sso.sdk.activity.LoginAuthActivity@c2ce57b
12-01 11:12:06.244 30854-30854/? D/JIGUANG-VERIFICATION: [ViewInspector] [onActivityDestroyed] . activity = com.cmic.sso.sdk.activity.LoginAuthActivity@c2ce57b isfinishing = true

这里是极光认证初始化的回调:
12-01 11:11:51.456 30854-30917/? D/MyApp: [init] code = 8000result = init success consists = 130
12-01 11:12:01.545 30905-30905/? D/MyApp: [init] code = 8005result = init timeout consists = 10008
12-01 11:12:14.766 31173-31173/? D/MyApp: [init] code = 8005result = init timeout consists = 10003

1个回答

热门排序