花粉俱乐部  logo 花粉俱乐部  因为热爱
搜索 |
[状态栏/通知栏]

emui5.1push开发 没有通知

[复制帖子标题和链接]

4420

huafen890511268  新学乍练  发表于 2019-8-5 11:44:23 来自:浏览器

最新回复 2019-8-5 11:44:23

华为EMUI9.0.1 8.0 均可以收到push通知 但是到emui5.1上 无法收到push消息 日志如下 望有大神来帮助一下

2019-08-05 11:25:19.459 4191-8073/? I/GetTokenRequest: [2019-08-05 11:25:19.459 I/PushLog/GetTokenRequest 4191:127 :61] enter get token request:com.huawei.hms.support.api.entity.push.TokenReq{ pkgName: com.zouchuqu.zcqapp isFirstTime: false}, send broadcast to pushagent.
2019-08-05 11:25:19.462 5951-5951/? I/PushLog2828: [main-1]action is com.huawei.android.push.intent.REGISTER(android/null:-1)
2019-08-05 11:25:19.476 5951-5951/? I/PushLog2828: [main-1]broadcast(),and mReceivers  4(android/null:-1)
2019-08-05 11:25:19.487 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]send registerToken to:com.zouchuqu.zcqapp(android/null:-1)
2019-08-05 11:25:19.488 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]isSupportsMultipleUsers: true(android/null:-1)
2019-08-05 11:25:19.488 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]tokenUserId is: 00(android/null:-1)
2019-08-05 11:25:27.309 5951-5951/? I/PushLog2828: [main-1]action is com.huawei.intent.action.PUSH(android/null:-1)
2019-08-05 11:25:27.312 5951-5951/? I/PushLog2828: [main-1]broadcast(),and mReceivers  4(android/null:-1)
2019-08-05 11:25:27.324 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]init push bastet failed!(android/null:-1)
2019-08-05 11:25:27.337 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]read to Send:DA(android/null:-1)
2019-08-05 11:25:27.342 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]send msg to remote srv success(android/null:-1)
2019-08-05 11:25:27.355 5951-16334/? I/PushLog2828: [SocketRead_11:20:21-743]received a msg cmdId:DB(android/null:-1)
2019-08-05 11:25:27.394 5951-16334/? I/PushLog2828: [SocketRead_11:20:21-743]broadcast(),and mReceivers  4(android/null:-1)
2019-08-05 11:30:27.402 5951-5951/? I/PushLog2828: [main-1]action is com.huawei.intent.action.PUSH(android/null:-1)
2019-08-05 11:30:27.408 5951-5951/? I/PushLog2828: [main-1]broadcast(),and mReceivers  4(android/null:-1)
2019-08-05 11:30:27.422 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]init push bastet failed!(android/null:-1)
2019-08-05 11:30:27.438 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]read to Send:DA(android/null:-1)
2019-08-05 11:30:27.443 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]send msg to remote srv success(android/null:-1)
2019-08-05 11:30:27.456 5951-16334/? I/PushLog2828: [SocketRead_11:20:21-743]received a msg cmdId:DB(android/null:-1)
2019-08-05 11:30:27.481 5951-16334/? I/PushLog2828: [SocketRead_11:20:21-743]broadcast(),and mReceivers  4(android/null:-1)
2019-08-05 11:35:27.486 5951-5951/? I/PushLog2828: [main-1]action is com.huawei.intent.action.PUSH(android/null:-1)
2019-08-05 11:35:27.508 5951-5951/? I/PushLog2828: [main-1]broadcast(),and mReceivers  4(android/null:-1)
2019-08-05 11:35:27.529 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]init push bastet failed!(android/null:-1)
2019-08-05 11:35:27.543 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]read to Send:DA(android/null:-1)
2019-08-05 11:35:27.549 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]send msg to remote srv success(android/null:-1)
2019-08-05 11:35:27.563 5951-16334/? I/PushLog2828: [SocketRead_11:20:21-743]received a msg cmdId:DB(android/null:-1)
2019-08-05 11:35:27.595 5951-16334/? I/PushLog2828: [SocketRead_11:20:21-743]broadcast(),and mReceivers  4(android/null:-1)
2019-08-05 11:40:27.608 5951-5951/? I/PushLog2828: [main-1]action is com.huawei.intent.action.PUSH(android/null:-1)
2019-08-05 11:40:27.616 5951-5951/? I/PushLog2828: [main-1]broadcast(),and mReceivers  4(android/null:-1)
2019-08-05 11:40:27.631 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]init push bastet failed!(android/null:-1)
2019-08-05 11:40:27.652 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]read to Send:DA(android/null:-1)
2019-08-05 11:40:27.657 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]send msg to remote srv success(android/null:-1)
2019-08-05 11:40:27.679 5951-16334/? E/PushLog2828: [SocketRead_11:20:21-743]connect occurs :com.huawei.android.pushagent.datatype.PushException: java.net.SocketException: Connection reset(android/null:-1)
    com.huawei.android.pushagent.datatype.PushException: java.net.SocketException: Connection reset
        at z.bk(Unknown Source)
        at com.huawei.android.pushagent.model.channel.entity.SocketReadThread.run(Unknown Source)
     Caused by: java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(SocketInputStream.java:192)
        at java.net.SocketInputStream.read(SocketInputStream.java:120)
        at java.net.SocketInputStream.read(SocketInputStream.java:206)
        at ab.read(Unknown Source)
        at z.bk(Unknown Source)
        at com.huawei.android.pushagent.model.channel.entity.SocketReadThread.run(Unknown Source)
2019-08-05 11:40:27.679 5951-16334/? I/PushLog2828: [SocketRead_11:20:21-743]broadcast(),and mReceivers  4(android/null:-1)
2019-08-05 11:40:27.681 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]receive the channal closed action.(android/null:-1)
2019-08-05 11:40:27.683 5951-16334/? I/PushLog2828: [SocketRead_11:20:21-743]socket closed, set alarm to reconnect srv(android/null:-1)
2019-08-05 11:40:27.683 5951-16334/? I/PushLog2828: [SocketRead_11:20:21-743]after getConnectPushSrvInterval:0 ms, connectTimes:1(android/null:-1)
2019-08-05 11:40:27.684 5951-16334/? I/PushLog2828: [SocketRead_11:20:21-743]next connect pushsvr will be after 0(android/null:-1)
2019-08-05 11:40:27.686 5951-16334/? I/PushLog2828: [SocketRead_11:20:21-743]total connect Time:1206298 process quit, so close socket(android/null:-1)
2019-08-05 11:40:27.686 5951-16334/? W/PushLog2828: [SocketRead_11:20:21-743]socket has been closed(android/null:-1)
2019-08-05 11:40:27.691 5951-5968/? W/PushLog2828: [ReceiverDispatcher-373]socket is null(android/null:-1)
2019-08-05 11:40:32.698 5951-5951/? I/PushLog2828: [main-1]action is com.huawei.action.CONNECT_PUSHSRV(android/null:-1)
2019-08-05 11:40:32.701 5951-5951/? I/PushLog2828: [main-1]broadcast(),and mReceivers  4(android/null:-1)
2019-08-05 11:40:32.736 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]lastnetWorkType:1 curNetWorkType:1(android/null:-1)
2019-08-05 11:40:32.737 5951-5968/? W/PushLog2828: [ReceiverDispatcher-373]socket is null(android/null:-1)
2019-08-05 11:40:32.761 5951-5968/? W/PushLog2828: [ReceiverDispatcher-373]socket is null(android/null:-1)
2019-08-05 11:40:32.761 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]after getConnectPushSrvInterval:0 ms, connectTimes:1(android/null:-1)
2019-08-05 11:40:32.761 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]no limit to connect pushsvr(android/null:-1)
2019-08-05 11:40:32.763 5951-5968/? W/PushLog2828: [ReceiverDispatcher-373]socket has been closed(android/null:-1)
2019-08-05 11:40:32.774 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]isvalid:true srvValidBefore:80058902 pushSrvNeedQueryTRS:false(android/null:-1)
2019-08-05 11:40:32.774 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373] need not query TRS(android/null:-1)
2019-08-05 11:40:32.776 5951-17427/? I/PushLog2828: [SocketRead_11:40:32-786]enter isSupportCtrlSocketV2, mHasCheckCtrlSocketVersion:true,mIsSupportCtrlSokceV2:true(android/null:-1)
2019-08-05 11:40:32.776 5951-17427/? I/PushLog2828: [SocketRead_11:40:32-786]isSupportCtrlSocketV2, ctrlSocket(android/null:-1)
2019-08-05 11:40:32.776 5951-17427/? I/PushLog2828: [SocketRead_11:40:32-786]ctrlSocket cmd is 1, param is 54(android/null:-1)
2019-08-05 11:40:32.778 5951-17427/? I/PushLog2828: [SocketRead_11:40:32-786]ctrlSocket success(android/null:-1)
2019-08-05 11:40:32.780 5951-17427/? I/PushLog2828: [SocketRead_11:40:32-786]broadcast(),and mReceivers  4(android/null:-1)
2019-08-05 11:40:32.781 5951-17427/? I/PushLog2828: [SocketRead_11:40:32-786]enter createSocket 49.******94(android/null:-1)
2019-08-05 11:40:32.781 5951-17427/? I/PushLog2828: [SocketRead_11:40:32-786]useProxy is valid:false, allow proxy:false(android/null:-1)
2019-08-05 11:40:32.781 5951-17427/? I/PushLog2828: [SocketRead_11:40:32-786]create socket without proxy(android/null:-1)
2019-08-05 11:40:32.820 5951-17427/? I/PushLog2828: [SocketRead_11:40:32-786]write the lastcontectsucc_time to the pushConfig.xml file(android/null:-1)
2019-08-05 11:40:32.820 5951-17427/? I/PushLog2828: [SocketRead_11:40:32-786]conetEntity.channelType:ChannelType_Secure(android/null:-1)
2019-08-05 11:40:32.865 5951-17427/? I/PushLog2828: [SocketRead_11:40:32-786]CustSecureChannel isInitialized success!(android/null:-1)
2019-08-05 11:40:32.865 5951-17427/? I/PushLog2828: [SocketRead_11:40:32-786]connect cost 89 ms, result:true(android/null:-1)
2019-08-05 11:40:32.912 5951-17427/? I/PushLog2828: [SocketRead_11:40:32-786]broadcast(),and mReceivers  4(android/null:-1)
2019-08-05 11:40:32.937 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]read to Send:DE(android/null:-1)
2019-08-05 11:40:32.938 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]send msg to remote srv success(android/null:-1)
2019-08-05 11:40:32.969 5951-17427/? I/PushLog2828: [SocketRead_11:40:32-786]received a msg cmdId:DF(android/null:-1)
2019-08-05 11:40:32.995 5951-17427/? I/PushLog2828: [SocketRead_11:40:32-786]broadcast(),and mReceivers  4(android/null:-1)
2019-08-05 11:40:32.998 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]PushCommandProcessor device register success(android/null:-1)
2019-08-05 11:40:33.036 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]no more client need register and unregister(android/null:-1)
2019-08-05 11:40:38.023 5951-5951/? I/PushLog2828: [main-1]action is com.huawei.intent.action.PUSH(android/null:-1)
2019-08-05 11:40:38.027 5951-5951/? I/PushLog2828: [main-1]broadcast(),and mReceivers  4(android/null:-1)
2019-08-05 11:40:38.043 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]init push bastet failed!(android/null:-1)
2019-08-05 11:40:38.059 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]read to Send:DA(android/null:-1)
2019-08-05 11:40:38.061 5951-5968/? I/PushLog2828: [ReceiverDispatcher-373]send msg to remote srv success(android/null:-1)
2019-08-05 11:40:38.089 5951-17427/? I/PushLog2828: [SocketRead_11:40:32-786]received a msg cmdId:DB(android/null:-1)
2019-08-05 11:40:38.110 5951-17427/? I/PushLog2828: [SocketRead_11:40:32-786]broadcast(),and mReceivers  4(android/null:-1)




您需要登录后才可以回帖 登录 | 立即注册

用户组申请
版规
最新精华
  • 随手拍十月合辑(夜景篇)
  • 随手拍十月合辑之风光篇
  • 随手拍十月合辑之人文篇
  • 随手拍十月合辑之微距篇

工具下载

  • 花粉客户端官方

    Make it Possible

粤ICP备19015064号-4|备案主体编号:44201919072182| 粤公网安备 44190002003939号

Copyright © 2012-2019 华为终端有限公司 版权所有

快速回复 返回顶部 返回列表