升级了sdk后, 现在无法接收到推送的通知


(jipush) #1


#2

检查有没有集成成功


(jipush) #3

可以获取到registrationID,通过别名,发送通知能发送成功,但是通过registrationID,则显示我上图中的提示信息


#4

提供你的 registrationID 值,和你该报错信息的 MessageID(推送历史里面有)


(jipush) #5


#6

这个registrationID是你客户端取到的?

1、图中信息请贴文本而不是截图
2、给出你客户端的 log,完整的log,从初始化开始


(jipush) #7

这个registrationID就是我客户端取到的,

06-14 14:56:12.847 24935-24935/com.xywy.askforexpert D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.1.3, buildId:405
06-14 14:56:12.847 24935-24935/com.xywy.askforexpert D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
06-14 14:56:12.854 24935-24935/com.xywy.askforexpert W/JIGUANG-JPush: [AndroidUtil] AndroidManifest.xml missing activity: cn.jpush.android.ui.PopWinActivity
06-14 14:56:12.854 24935-24935/com.xywy.askforexpert W/JIGUANG-JPush: [AndroidUtil] You will unable to use pop-window rich push type.
06-14 14:56:12.873 24935-24935/com.xywy.askforexpert I/JIGUANG-JPush: [PluginPlatformsInterface] whichPlatform - 0
06-14 14:56:12.874 24935-24935/com.xywy.askforexpert I/JIGUANG-JPush: [PluginPlatformsInterface] isIntegrateFCM -false
06-14 14:56:13.669 24935-24935/com.xywy.askforexpert D/JIGUANG-JPush: [JPushInterface] action:setPushTime - closed
06-14 14:56:14.077 24935-25256/com.xywy.askforexpert D/JIGUANG-JPush: [JPushDataAction] Action - onActionRun
06-14 14:56:14.077 24935-25256/com.xywy.askforexpert D/JIGUANG-JPush: [PushServiceCore] bundle:Bundle[{action=com.xywy.askforexpert.intent.MULTI_PROCESS, notification_buidler_id=1, notification_buidler=custom_____7_____16_____2130838261_____developerArg0_____2130968868_____2131689585_____2131689586_____2131690660_____2130903040_____0, multi_type=1, sdktype=JPUSH}]
06-14 14:56:14.077 24935-25256/com.xywy.askforexpert D/JIGUANG-JPush: [PushServiceCore] Action - handleServiceAction - action:com.xywy.askforexpert.intent.MULTI_PROCESS
06-14 14:56:14.291 24935-25231/com.xywy.askforexpert D/JIGUANG-JPush: [PushReceiverCore] onReceive - android.net.conn.CONNECTIVITY_CHANGE
06-14 14:56:15.822 24935-24935/com.xywy.askforexpert D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.1.3, buildId:405
06-14 14:56:16.236 24935-25256/com.xywy.askforexpert D/JIGUANG-JPush: [JPushDataAction] Action - onActionRun
06-14 14:56:16.236 24935-25256/com.xywy.askforexpert D/JIGUANG-JPush: [PushServiceCore] bundle:Bundle[{action=com.xywy.askforexpert.intent.ALIAS_TAGS, proto_type=0, seq_id=16701, tags=[137993767], alias=137993767, protoaction_type=0, sdktype=JPUSH}]
06-14 14:56:16.236 24935-25256/com.xywy.askforexpert D/JIGUANG-JPush: [PushServiceCore] Action - handleServiceAction - action:com.xywy.askforexpert.intent.ALIAS_TAGS
06-14 14:56:16.257 24935-25256/com.xywy.askforexpert D/JIGUANG-JPush: [TagAliasHelper] action:setAliasAndTags - alias:137993767, tags:137993767
06-14 14:56:16.269 24935-25256/com.xywy.askforexpert D/JIGUANG-JPush: [TagAliasHelper] tagalias:[TagaliasRequest] - appKey:d267c7770675e0b6a9dc7327, action:{“platform”:“a”,“alias”:“137993767”,“tags”:“137993767”} - [Request] - [JHead] - len:0, version:4, command:10, rid:16701, sid:0, juid:0
06-14 14:56:16.269 24935-25256/com.xywy.askforexpert D/JIGUANG-JPush: [JPushRequestHelper] Action - sendJPushRequest, timeout:20000, threadId:71088


#8

1、clean 工程,手机上卸载重装,清除缓存,你这个registrationID还是32位的,我查询是在 2 月份注册的。而不是今天,你取到的应该是本地保存的数据。

2、重新运行工程,重新初始化,重新getregistrationID值,你这个日志里面没有看到你有初始化成功,获取日志时不要筛选进程


(jipush) #9

按照你的方法操作了一遍,


(jipush) #10

registrationID 还是以前的那个值


#11

进行如下步骤看看:
步骤一:把这个文件清掉:Environment.getExternalStorageDirectory().getPath() + “/data/.push_deviceid”;
步骤二:同步清除掉 setting 里面的,方法如下:Settings.System.putString(context.getContentResolver(), “devcie_id_generated”, “”);
步骤三:还有把缓存也清理下;
然后再重装 App。


(jipush) #12

嗯,我可以这样操作,但是我们老用户升级到这个新的版本,也要这样操作吗?


#13

你现在先将你初始化的 log 完整的给一下,看一下新版本 SDK 初始化成功了还是没有成功。

我们现在 32 位的 registrationID 是消耗完的,再次注册都是 64 位的 registrationID 值,之前的老用户已经注册过的 registrationID 依旧有效,是可以收到消息的,只是新用户一注册就是 64 位的。用户并不需要这么做,只是你之前有取到过 registrationID要取新的时候要这么做

理论上来说对已经取到了 registrationID 值的设备推送不应该报 1011 的,不管是多少位的,我上报查一下原因吧。
000770967bc


(jipush) #14

我之前给你的日志,就只有那些初始化的日志了,如果不过滤,日志会很多,你自己看也麻烦,之前给的日志,你觉得还缺少什么内容?你们那边的过滤条件是什么,我按照你们的过滤条件来进行日志的筛选。


#15


(jipush) #16
06-14 15:53:21.081 22865-22865/com.xywy.askforexpert D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.1.3, buildId:405
06-14 15:53:21.081 22865-22865/com.xywy.askforexpert D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
06-14 15:53:21.088 22865-22865/com.xywy.askforexpert W/JIGUANG-JPush: [AndroidUtil] AndroidManifest.xml missing activity: cn.jpush.android.ui.PopWinActivity
06-14 15:53:21.088 22865-22865/com.xywy.askforexpert W/JIGUANG-JPush: [AndroidUtil] You will unable to use pop-window rich push type.
06-14 15:53:21.104 22865-22865/com.xywy.askforexpert I/JIGUANG-JPush: [PluginPlatformsInterface] whichPlatform - 0
06-14 15:53:21.104 22865-22865/com.xywy.askforexpert I/JIGUANG-JPush: [PluginPlatformsInterface] isIntegrateFCM -false
06-14 15:53:21.752 22865-22865/com.xywy.askforexpert D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=com.xywy.askforexpert.run.action cmp=com.xywy.askforexpert/cn.jpush.android.service.PushService (has extras) }, pkg:com.xywy.askforexpert, connection:0
06-14 15:53:21.754 22865-22865/com.xywy.askforexpert D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=com.xywy.askforexpert.intent.INIT cmp=com.xywy.askforexpert/cn.jpush.android.service.PushService (has extras) }, pkg:com.xywy.askforexpert, connection:0
06-14 15:53:21.754 22865-22865/com.xywy.askforexpert D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=com.xywy.askforexpert.run.action cmp=com.xywy.askforexpert/cn.jpush.android.service.PushService (has extras) }, pkg:com.xywy.askforexpert, connection:0
06-14 15:53:21.758 22865-22865/com.xywy.askforexpert D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=com.xywy.askforexpert.run.action cmp=com.xywy.askforexpert/cn.jpush.android.service.PushService (has extras) }, pkg:com.xywy.askforexpert, connection:0
06-14 15:53:21.815 22865-23246/com.xywy.askforexpert D/JIGUANG-JCore: [JiguangTcpManager] Action - restartNetworkingClient, pid:22865
06-14 15:53:21.819 22865-23252/com.xywy.askforexpert I/JIGUANG-JCore: [NetworkingClient] Begin to run in ConnectingThread - id:71738
06-14 15:53:21.823 22865-23246/com.xywy.askforexpert D/JIGUANG-JCore: [ARunAction]  pkg:com.xywy.askforexpert
06-14 15:53:21.824 22865-23246/com.xywy.askforexpert D/JIGUANG-JCore: [ARunAction] Bundle[{action=cn.jpush.android.intent.REPORT, report.extra.info=, report=crash_log, sdktype=JCORE}]
06-14 15:53:21.824 22865-23246/com.xywy.askforexpert D/JIGUANG-JCore: [JiguangTcpManager] Action - restartNetworkingClient, pid:22865
06-14 15:53:21.826 22865-23246/com.xywy.askforexpert D/JIGUANG-JCore: [JiguangTcpManager] isRunning:true
06-14 15:53:21.826 22865-23246/com.xywy.askforexpert D/JIGUANG-JPush: [JPushDataAction] Action - onActionRun
06-14 15:53:21.826 22865-23246/com.xywy.askforexpert D/JIGUANG-JPush: [PushServiceCore] bundle:Bundle[{action=com.xywy.askforexpert.intent.MULTI_PROCESS, notification_buidler_id=1, notification_buidler=custom_____7_____16_____2130838261_____developerArg0_____2130968868_____2131689585_____2131689586_____2131690660_____2130903040_____0, multi_type=1, sdktype=JPUSH}]
06-14 15:53:21.826 22865-23246/com.xywy.askforexpert D/JIGUANG-JPush: [PushServiceCore] Action - handleServiceAction - action:com.xywy.askforexpert.intent.MULTI_PROCESS
06-14 15:53:21.827 22865-23246/com.xywy.askforexpert D/JIGUANG-JPush: [JPushDataAction] Action - onActionRun
06-14 15:53:21.828 22865-23246/com.xywy.askforexpert D/JIGUANG-JPush: [PushServiceCore] bundle:Bundle[{action=intent.MULTI_PROCESS, multi_type=10, sdktype=JPUSH}]
06-14 15:53:21.828 22865-23246/com.xywy.askforexpert D/JIGUANG-JPush: [PushServiceCore] Action - handleServiceAction - action:intent.MULTI_PROCESS
06-14 15:53:21.943 22865-23252/com.xywy.askforexpert D/JIGUANG-JCore: [SisPolicy] To get sis - host:124.202.138.31, port:19000 ,type:hardcode
06-14 15:53:21.981 22865-23252/com.xywy.askforexpert D/JIGUANG-JCore: [ConnectingHelper] SIS Receiving...
06-14 15:53:22.003 22865-23252/com.xywy.askforexpert I/JIGUANG-JCore: [SisPolicy] Get sis info succeed with host: 124.202.138.31 type:hardcode
06-14 15:53:22.053 22865-23252/com.xywy.askforexpert D/JIGUANG-JCore: [SisPolicy] Open connection with main - ip:117.121.49.87, port:7004
06-14 15:53:22.147 22865-23252/com.xywy.askforexpert I/JIGUANG-JCore: [SisPolicy] Succeed to open connection - ip:117.121.49.87, port:7004
06-14 15:53:22.150 22865-23252/com.xywy.askforexpert I/JIGUANG-JCore: [ConnectingHelper] Login with - juid:2561754448, appKey:d267c7770675e0b6a9dc7327, sdkVersion:66049, pushVersion:196867, analyticsVersion:0 ,shareVersion:0, pluginPlatformType:0
06-14 15:53:22.237 22865-23256/com.xywy.askforexpert D/JIGUANG-JCore: [HttpHelper] status code:200 retry left:2
06-14 15:53:22.247 22865-23252/com.xywy.askforexpert I/JIGUANG-JCore: [ConnectingHelper] Login succeed - sid:47474, serverTime;1528962802000
06-14 15:53:22.247 22865-23252/com.xywy.askforexpert D/JIGUANG-JCore: [ConnectingHelper] Action - sendServerTimer
06-14 15:53:22.340 22865-23247/com.xywy.askforexpert D/JIGUANG-JCore: [JiguangTcpManager] Action - onLoggedIn - connection:71738
06-14 15:53:22.340 22865-23247/com.xywy.askforexpert D/JIGUANG-JCore: [ConnectingHelper] Action - sendConnectionChanged
06-14 15:53:22.341 22865-23252/com.xywy.askforexpert D/JIGUANG-JCore: [NetworkingClient] Network listening...
06-14 15:53:22.353 22865-23247/com.xywy.askforexpert I/JIGUANG-JCore: [ReportHelper] periodTasks...
06-14 15:53:22.451 22865-22865/com.xywy.askforexpert D/JIGUANG-JPush: [JPushInterface] action:setPushTime - closed
06-14 15:53:22.454 22865-23247/com.xywy.askforexpert D/JIGUANG-JCore: [JiguangTcpManager] Send heart beat
06-14 15:53:22.493 22865-23247/com.xywy.askforexpert D/JIGUANG-JCore: [JiguangTcpManager] Action - onHeartbeatSucceed - connection:71738
06-14 15:53:22.493 22865-23252/com.xywy.askforexpert D/JIGUANG-JCore: [NetworkingClient] Received bytes - len:36, connection:71738, pkg:com.xywy.askforexpert
06-14 15:53:22.494 22865-23252/com.xywy.askforexpert D/JIGUANG-JCore: [NetworkingClient] Network listening...
06-14 15:53:22.666 22865-22865/com.xywy.askforexpert D/JIGUANG-JCore: [PushReceiver] onReceive - android.net.conn.CONNECTIVITY_CHANGE
06-14 15:53:22.669 22865-23237/com.xywy.askforexpert D/JIGUANG-JPush: [PushReceiverCore] onReceive - android.net.conn.CONNECTIVITY_CHANGE
06-14 15:53:22.734 22865-23246/com.xywy.askforexpert D/JIGUANG-JPush: [JPushDataAction] Action - onActionRun
06-14 15:53:22.734 22865-23246/com.xywy.askforexpert D/JIGUANG-JPush: [PushServiceCore] bundle:Bundle[{action=intent.MULTI_PROCESS, multi_type=10, sdktype=JPUSH}]
06-14 15:53:22.735 22865-23246/com.xywy.askforexpert D/JIGUANG-JPush: [PushServiceCore] Action - handleServiceAction - action:intent.MULTI_PROCESS
06-14 15:53:22.742 22865-23256/com.xywy.askforexpert D/JIGUANG-JCore: [HttpHelper] status code:200 retry left:2
06-14 15:53:23.258 22865-22865/com.xywy.askforexpert D/JIGUANG-JCore: [PushReceiver] onReceive - cn.jpush.android.intent.ACTION_REPORT_HISTORY
06-14 15:53:23.259 22865-23237/com.xywy.askforexpert D/JIGUANG-JPush: [PushReceiverCore] onReceive - cn.jpush.android.intent.ACTION_REPORT_HISTORY
06-14 15:53:25.669 22865-23247/com.xywy.askforexpert D/JIGUANG-JCore: [JiguangTcpManager] Already logged in. Give up to restart.
06-14 15:53:36.615 22865-22865/com.xywy.askforexpert D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.1.3, buildId:405
06-14 15:53:36.995 22865-23246/com.xywy.askforexpert D/JIGUANG-JPush: [JPushDataAction] Action - onActionRun
06-14 15:53:36.995 22865-23246/com.xywy.askforexpert D/JIGUANG-JPush: [PushServiceCore] bundle:Bundle[{action=com.xywy.askforexpert.intent.ALIAS_TAGS, proto_type=0, seq_id=29811, tags=[137993767], alias=137993767, protoaction_type=0, sdktype=JPUSH}]
06-14 15:53:36.996 22865-23246/com.xywy.askforexpert D/JIGUANG-JPush: [PushServiceCore] Action - handleServiceAction - action:com.xywy.askforexpert.intent.ALIAS_TAGS
06-14 15:53:37.018 22865-23246/com.xywy.askforexpert D/JIGUANG-JPush: [TagAliasHelper] action:setAliasAndTags - alias:137993767, tags:137993767
06-14 15:53:37.025 22865-23246/com.xywy.askforexpert D/JIGUANG-JPush: [TagAliasHelper] tagalias:[TagaliasRequest] - appKey:d267c7770675e0b6a9dc7327, action:{"platform":"a","alias":"137993767","tags":"137993767"} - [Request] - [JHead] - len:0, version:4, command:10, rid:29811, sid:0, juid:0
06-14 15:53:37.027 22865-23246/com.xywy.askforexpert D/JIGUANG-JPush: [JPushRequestHelper] Action - sendJPushRequest, timeout:20000, threadId:71734
06-14 15:53:37.031 22865-23247/com.xywy.askforexpert D/JIGUANG-JCore: [RequestCacheManager] Action - sendRequestInternal - connection:71738, timeout:20000,sdkType:JPUSH, threadId:71735
06-14 15:53:37.043 22865-23252/com.xywy.askforexpert D/JIGUANG-JCore: [NetworkingClient] Received bytes - len:36, connection:71738, pkg:com.xywy.askforexpert
06-14 15:53:37.043 22865-23252/com.xywy.askforexpert D/JIGUANG-JCore: [NetworkingClient] Network listening...
06-14 15:53:37.763 22865-23252/com.xywy.askforexpert D/JIGUANG-JPush: [JPushDataAction] response:[MessagePush] - msgType:20, msgId:1, msgContent:
                                                                      d267c7770675e0b6a9dc7327
                                                                      {"code":0,"sequence":29811} - JResponse{code=0}
06-14 15:53:37.770 22865-23252/com.xywy.askforexpert D/JIGUANG-JCore: [NetworkingClient] Received bytes - len:100, connection:71738, pkg:com.xywy.askforexpert
06-14 15:53:37.770 22865-23252/com.xywy.askforexpert D/JIGUANG-JCore: [NetworkingClient] Network listening...

(jipush) #17

有人在吗?能帮忙看看我这个问题吗?


#18

报错 1011 的问题已经上报了,定位中,请稍等

上述日志看到是用的之前保存的 ID 值登陆的,登陆也是成功的


(jipush) #19

还有个问题 ,我目前,在华为mate7上,通过别名推送通知,没声音,其他手机,例如,小米,华为荣耀,三星手机上,都有声音,麻烦也看看这个问题


(jipush) #20

问题解决了吗?