iOS 收不到推送消息

ios
标签: #<Tag:0x00007fb83c713788>

(CDchen) #1

我的app 收不到推送信息,用极光发送全体推送也收不到推送消息为啥。


#2

提供信息,阅读:

排查:


(CDchen) #3

你好是这样的,我们两个iOS端,一个端的能收到消息,一个端的收不到消息,但是证书都上传了。


#4

哥们,提供信息好嘛?


(CDchen) #5

大哥你要啥信息??
告诉我谢谢


(CDchen) #6

还在吗?需要啥信息


#7

:sob:为啥就不能点链接看看呢


(CDchen) #8
2017-03-10 18:13:35.586166 FootBall[7268:2028849]  | JPUSH | I - [JPUSHClientController] Action - setup
2017-03-10 18:13:35.660772 FootBall[7268:2028846]  | JPUSH | D - [JPUSHHttpSessionController] 获取当前设备网络的 wifi 或者 WWAN 信息
2017-03-10 18:13:35.666436 FootBall[7268:2028822] registrationID获取成功:141fe1da9ea5bab7d47
2017-03-10 18:13:35.683053 FootBall[7268:2028879]  | JPUSH | D - [JPUSHHttpSessionController] WWAN 信息:{
    "mobile_country_code" = 460;
    "mobile_network_code" = 07;
}
2017-03-10 18:13:35.683896 FootBall[7268:2028879]  | JPUSH | D - [JPUSHPageFlow] trySetupSession
2017-03-10 18:13:35.688516 FootBall[7268:2028879]  | JPUSH | D - [JPUSHPageFlow] setupSession
2017-03-10 18:13:35.723022 FootBall[7268:2028878]  | JPUSH | D - [JPUSHService] Action - registerDeviceToken: <b3827d95 bc5379ad 4a1f97da 7ea592d5 7b88adae 0c6e2659 2a07fdea 9167ee5f>
2017-03-10 18:13:35.757338 FootBall[7268:2028839]  | JPUSH | D - [JPUSHUserActiveReport] report content {
    activities =     (
    );
    date = "2017-03-10";
    duration = "26.2";
    itime = 1489140608;
    "session_id" = 87312d0e6d240a802c1b78a79e84dfe0;
    time = "18:10:08";
    timezone = "+8";
    type = "active_terminate";
}
2017-03-10 18:13:35.768666 FootBall[7268:2028787] Reachability Flag Status: WR t------ networkStatusForFlags
2017-03-10 18:13:35.824868 FootBall[7268:2028883]  | JPUSH | D - [JPUSHHttpSessionController] Action - setupSession
2017-03-10 18:13:35.841293 FootBall[7268:2028883]  | JPUSH | D - [JPUSHPageFlow] setupSession
2017-03-10 18:13:35.849244 FootBall[7268:2028839]  | JPUSH | D - [JPUSHPageFlow] resetCurrentPage
2017-03-10 18:13:35.856304 FootBall[7268:2028822]  | JPUSH | D - [JPUSHUserDefaultsController] Action - setCurrentDeviceToken - b3827d95bc5379ad4a1f97da7ea592d57b88adae0c6e26592a07fdea9167ee5f
2017-03-10 18:13:35.857014 FootBall[7268:2028839]  | JPUSH | D - [JPUSHNetworkController] Action - trySetupSession
2017-03-10 18:13:35.857963 FootBall[7268:2028849]  | JPUSH | D - [JPUSHHttpSessionController] Action - setupSession
2017-03-10 18:13:35.861262 FootBall[7268:2028820]  | JPUSH | D - [JPUSHNetworkController] userDefaut verified: 1, curNetworkStatus: 3
2017-03-10 18:13:35.862460 FootBall[7268:2028820]  | JPUSH | D - [JPUSHUtilities] JPUSHPostNotificationWithUserInfo name: kJPFNetworkIsConnectingNotification (null)
2017-03-10 18:13:35.863757 FootBall[7268:2028839]  | JPUSH | D - [JPUSHSessionController] Action - connect
2017-03-10 18:13:35.864709 FootBall[7268:2028820]  | JPUSH | D - [JPUSHSessionController] Action - isSisOnProtect
2017-03-10 18:13:35.865451 FootBall[7268:2028839]  | JPUSH | D - [JPUSHSessionController] sis is not on protect
2017-03-10 18:13:35.866234 FootBall[7268:2028820]  | JPUSH | D - [JPUSHSessionController] Action - reset sis cache
2017-03-10 18:13:35.867094 FootBall[7268:2028839]  | JPUSH | D - [JPUSHAddressController] 开始Sis解析
2017-03-10 18:13:35.869652 FootBall[7268:2028820]  | JPUSH | D - [JPUSHAddressController] Action - sendSisRequest
2017-03-10 18:13:35.876068 FootBall[7268:2028823] PBItemCollectionServicer connection disconnected.
2017-03-10 18:13:35.884125 FootBall[7268:2028820]  | JPUSH | D - [JPUSHAddressController] get address :118.145.3.76 from host : s.jpush.cn
2017-03-10 18:13:35.885759 FootBall[7268:2028820]  | JPUSH | D - [JPUSHAddressController] Action - sendSisRequest:toDefaultPort
2017-03-10 18:13:35.887347 FootBall[7268:2028839]  | JPUSH | D - [JPUSHUdpSocket] close udp socket,info:
2017-03-10 18:13:35.896941 FootBall[7268:2028820]  | JPUSH | D - [JPUSHUdpSocket] send udp data
2017-03-10 18:13:35.899470 FootBall[7268:2028822]  | JPUSH | D - [JPUSHUdpSocket] send udp data succeed
2017-03-10 18:13:35.900337 FootBall[7268:2028822]  | JPUSH | D - [JPUSHUdpSocket] udp socket begin send behavior
2017-03-10:18:13:35:916 -QQAPI- ConfigManager.m:117 @_@
2017-03-10 18:13:35.966485 FootBall[7268:2028839]  | JPUSH | D - [JPUSHAddressController] Action - parse
2017-03-10 18:13:36.078729 FootBall[7268:2028823]  | JPUSH | D - [JPUSHAddressController] Action - parse ips address
2017-03-10 18:13:36.207515 FootBall[7268:2028820]  | JPUSH | D - [JPUSHAddressController] Action - parseUdpReportAddress:
2017-03-10 18:13:36.248933 FootBall[7268:2028820]  | JPUSH | D - [JPUSHAddressController] Action - parseOptionAddress
2017-03-10 18:13:36.250157 FootBall[7268:2028846]  | JPUSH | D - [JPUSHUdpSocket] close udp socket,info:
2017-03-10 18:13:36.252360 FootBall[7268:2028820]  | JPUSH | D - [JPUSHAddressController] receive sis result
2017-03-10 18:13:36.253363 FootBall[7268:2028846]  | JPUSH | D - [JPUSHSessionController] Action - connectTcp:afterConnectUdp:
2017-03-10 18:13:36.254329 FootBall[7268:2028820]  | JPUSH | D - [JPUSHSessionController] Action - connectTcp:
2017-03-10 18:13:36.255232 FootBall[7268:2028820]  | JPUSH | D - [JPUSHSessionController] connectTcp:103.229.215.12:7011
2017-03-10 18:13:36.256273 FootBall[7268:2028846]  | JPUSH | I - [JPUSHSessionController] connecting with coreAddr 103.229.215.12,port 7011
2017-03-10 18:13:36.321264 FootBall[7268:2028822]  | JPUSH | D - [JPUSHTcpSocket] 连接主机成功
2017-03-10 18:13:36.328259 FootBall[7268:2028822]  | JPUSH | D - [JPUSHUtilities] JPUSHPostNotificationWithUserInfo name: kJPUSHNetworkDidSetupNotification (null)
2017-03-10 18:13:36.330111 FootBall[7268:2028823]  | JPUSH | D - [JPUSHSessionController] Action - connectUdp:
2017-03-10 18:13:36.331305 FootBall[7268:2028823]  | JPUSH | D - [JPUSHSessionController] Action - connectWithUdpCoreAddress:
2017-03-10 18:13:36.333208 FootBall[7268:2028823]  | JPUSH | D - [JPUSHUdpSocket] udp socket connected
2017-03-10 18:13:36.394999 FootBall[7268:2028820]  | JPUSH | D - [JPUSHSessionController] Action - doSendTcpRequest
2017-03-10 18:13:36.476033 FootBall[7268:2028787] Could not load the "cm_default_head@3x" image referenced from a nib in the bundle with identifier "com.HPKJ.YDFootBallApp"
2017-03-10 18:13:36.488280 FootBall[7268:2028839]  | JPUSH | I - [JPUSHLogin] 
----- login result -----
uid:7739601922 
registrationID:141fe1da9ea5bab7d47
2017-03-10 18:13:36.489230 FootBall[7268:2028822]  | JPUSH | D - [JPUSHTcpSocket] Got tcp command
2017-03-10 18:13:36.490298 FootBall[7268:2028839]  | JPUSH | D - [JPUSHSessionController] Action - onAckOrRespReceived:
2017-03-10 18:13:36.493761 FootBall[7268:2028839]  | JPUSH | D - [JPUSHSessionController] Event - onLoginRespond
2017-03-10 18:13:36.511106 FootBall[7268:2028822]  | JPUSH | D - [JPUSHUtilities] JPUSHPostNotificationWithUserInfo name: kJPUSHNetworkDidLoginNotification (null)
2017-03-10 18:13:36.512374 FootBall[7268:2028823]  | JPUSH | D - [JPUSHUdpSocket] send udp data
2017-03-10 18:13:36.513279 FootBall[7268:2028822]  | JPUSH | D - [JPUSHUdpSocket] send udp data succeed
2017-03-10 18:13:36.522579 FootBall[7268:2028820]  | JPUSH | D - [JPUSHReport] send report:(
        {
        date = "2017-03-10";
        itime = 1489140815;
        "session_id" = a1956fbdb40c7fba6902b387c2555772;
        time = "18:13:35";
        timezone = "+8";
        type = "active_launch";
    }
) log succed
2017-03-10 18:13:36.523892 FootBall[7268:2028822]  | JPUSH | D - [JPUSHUdpSocket] udp socket begin send behavior
2017-03-10 18:13:36.527133 FootBall[7268:2028822]  | JPUSH | D - [JPUSHSessionController] Action - doSendTcpRequest
2017-03-10 18:13:36.529449 FootBall[7268:2028846]  | JPUSH | I - [JPUSHDeviceTokenReport] try to upload device token:b3827d95bc5379ad4a1f97da7ea592d57b88adae0c6e26592a07fdea9167ee5f
2017-03-10 18:13:36.705685 FootBall[7268:2028822]  | JPUSH | D - [JPUSHService] Action - setTags: (null) alias: 47 fetchCompletionHandle:
2017-03-10 18:13:36.738680 FootBall[7268:2028822]  | JPUSH | D - [JPUSHReport] send report:(
        {
        activities =         (
        );
        date = "2017-03-10";
        duration = "26.2";
        itime = 1489140608;
        "session_id" = 87312d0e6d240a802c1b78a79e84dfe0;
        time = "18:10:08";
        timezone = "+8";
        type = "active_terminate";
    }
) log succed

(CDchen) #9

帮个忙谢谢。。。


#10

你推送没有收到的消息的msgid呢???


(CDchen) #11

就是没有哥哥


#12

没有?你不是推送成功了吗?成功就会有msgid,看历史
没成功就有报错。


(CDchen) #13


(CDchen) #14

你说的这个msgid在哪获取,我是真的不知道


(CDchen) #15

发送编号 1489142889
Message ID 6628990172
推送方式 立即推送
接受对象 广播
推送内容 气温气温
推送平台 ios-dev
Extras {“ios”:{“badge”:“1”,“sound”:“default”}}
标题(title)
副标题(subtitle)
通知声音(sound) default
应用角标(badge) 1
推送结果 已发送


(CDchen) #16

是这个吗,找到了


#17

ssl connect failed
1、有可能是你们上传到jpush的证书不可用了,你到应用设置页面检查下证书是否还在有效期。
2、如果证书未过期,那应该是这个证书被revoke了,又或者Apple账号到期了。


(CDchen) #18


(CDchen) #19

APP账号没到期,我另一个app就能收到推送


(CDchen) #20

以前的这个开发证书好像是被注销了,我又重新下载生成的。因为我们app换了名字。