极光推送开发证书能收到推送但生产证书收不到推送


#3

去检查你的客户端是不是生产环境的。必须生产证书打包 IPA 安装测试,且需要看生产包有没有成功集成取到 token 和 registrationID 值


(bwcrewing) #4

查过了,不是生产证书有问题,也不是极光推送有问题,是因为极光的register 的回调比较慢,在某些device上根本没有回调,所以没有拿到registrationID。请指示一下如何优化,保证我们用户的device都能注册成功。

谢谢!


#5

将复测到的客户端日志提供过来,如果取不到 registrationID ,则会有相关提示,如果报取不到 token,排查:

如果配置正确那么影响获取 registrationID 的因素就是网络了,需要保证网络的可用性,能与极光服务器连接


(bwcrewing) #6

deviceToken很快就获取了,然后调用 [JPUSHService registerDeviceToken:deviceToken];
可是极光没有返回registrationID

- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken
{
  [JPUSHService registerDeviceToken:deviceToken];
}

#7

给下客户端日志,建议升级 SDK 到最新版本
https://docs.jiguang.cn/jpush/updates/#jpush-ios-sdk-v311


(bwcrewing) #8

我们用的是JPUSH React Native, 已经是最新版本了。


#9

可以提供一下你的客户端日志信息吗?


(bwcrewing) #10
----- register info -----
Appkey: d1d036500c6fe9e863051875
token:481bb8eb6b1e10e8f97da7facb12000684a1a8213da7475fd6d15edd6baedb59  
 advertisingIdentifier:
2018-10-24 11:43:00.325664+0800 BMOCrewingMobile[735:183920] [] nw_connection_get_connected_socket 50 Connection has no connected handler
2018-10-24 11:43:00.325704+0800 BMOCrewingMobile[735:183920] TCP Conn 0x1c016d440 Failed : error 0:61 [61]
2018-10-24 11:43:00.487082+0800 BMOCrewingMobile[735:183635] applicationDidBecomeActive registrationID :
2018-10-24 11:43:00.487210+0800 BMOCrewingMobile[735:183635] inside  [registrationID length] == 0 :
2018-10-24 11:43:02.256497+0800 BMOCrewingMobile[735:183920] [] nw_connection_get_connected_socket 52 Connection has no connected handler
2018-10-24 11:43:02.256585+0800 BMOCrewingMobile[735:183920] TCP Conn 0x1c016ce40 Failed : error 0:61 [61]
2018-10-24 11:43:02.409032+0800 BMOCrewingMobile[735:183748] [] nw_connection_get_connected_socket 53 Connection has no connected handler
2018-10-24 11:43:02.409108+0800 BMOCrewingMobile[735:183748] TCP Conn 0x1c016d740 Failed : error 0:61 [61]
2018-10-24 11:43:02.415098+0800 BMOCrewingMobile[735:183748] [] nw_connection_get_connected_socket 54 Connection has no connected handler
2018-10-24 11:43:02.415173+0800 BMOCrewingMobile[735:183748] TCP Conn 0x1c0168280 Failed : error 0:61 [61]
2018-10-24 11:43:04.403795+0800 BMOCrewingMobile[735:183748] [] nw_connection_get_connected_socket 55 Connection has no connected handler
2018-10-24 11:43:04.403907+0800 BMOCrewingMobile[735:183748] TCP Conn 0x1c016d800 Failed : error 0:61 [61]
2018-10-24 11:43:04.605632+0800 BMOCrewingMobile[735:184065] [] nw_connection_get_connected_socket 56 Connection has no connected handler
2018-10-24 11:43:04.605853+0800 BMOCrewingMobile[735:184065] TCP Conn 0x1c016d080 Failed : error 0:61 [61]
2018-10-24 11:43:04.606978+0800 BMOCrewingMobile[735:184065] [] nw_connection_get_connected_socket 57 Connection has no connected handler
2018-10-24 11:43:04.607035+0800 BMOCrewingMobile[735:184065] TCP Conn 0x1c0168280 Failed : error 0:61 [61]
2018-10-24 11:43:06.430725+0800 BMOCrewingMobile[735:183920] [] nw_connection_get_connected_socket 58 Connection has no connected handler
2018-10-24 11:43:06.430833+0800 BMOCrewingMobile[735:183920] TCP Conn 0x1c416d140 Failed : error 0:61 [61]
2018-10-24 11:43:06.633655+0800 BMOCrewingMobile[735:183748] [] nw_connection_get_connected_socket 59 Connection has no connected handler
2018-10-24 11:43:06.633764+0800 BMOCrewingMobile[735:183748] TCP Conn 0x1c016f480 Failed : error 0:61 [61]
2018-10-24 11:43:06.638920+0800 BMOCrewingMobile[735:183748] [] nw_connection_get_connected_socket 60 Connection has no connected handler
2018-10-24 11:43:06.639080+0800 BMOCrewingMobile[735:183748] TCP Conn 0x1c0167e00 Failed : error 0:61 [61]
2018-10-24 11:43:08.579925+0800 BMOCrewingMobile[735:183748] [] nw_connection_get_connected_socket 61 Connection has no connected handler
2018-10-24 11:43:08.580035+0800 BMOCrewingMobile[735:183748] TCP Conn 0x1c416ce40 Failed : error 0:61 [61]
2018-10-24 11:43:08.839558+0800 BMOCrewingMobile[735:184085] [] nw_connection_get_connected_socket 62 Connection has no connected handler
2018-10-24 11:43:08.839662+0800 BMOCrewingMobile[735:184085] TCP Conn 0x1c0167e00 Failed : error 0:61 [61]
2018-10-24 11:43:09.006064+0800 BMOCrewingMobile[735:183920] [] nw_connection_get_connected_socket 63 Connection has no connected handler
2018-10-24 11:43:09.006174+0800 BMOCrewingMobile[735:183920] TCP Conn 0x1c016d080 Failed : error 0:61 [61]
2018-10-24 11:43:10.338405+0800 BMOCrewingMobile[735:184065]  | JIGUANG | E - [JIGUANGSessionController] ack timeout for request rid: 25
2018-10-24 11:43:10.771646+0800 BMOCrewingMobile[735:184065] [] nw_connection_get_connected_socket 64 Connection has no connected handler
2018-10-24 11:43:10.771813+0800 BMOCrewingMobile[735:184065] TCP Conn 0x1c016f3c0 Failed : error 0:61 [61]
2018-10-24 11:43:11.000018+0800 BMOCrewingMobile[735:183748] [] nw_connection_get_connected_socket 65 Connection has no connected handler
2018-10-24 11:43:11.000124+0800 BMOCrewingMobile[735:183748] TCP Conn 0x1c0168040 Failed : error 0:61 [61]
2018-10-24 11:43:11.293221+0800 BMOCrewingMobile[735:183920] [] nw_connection_get_connected_socket 66 Connection has no connected handler
2018-10-24 11:43:11.293327+0800 BMOCrewingMobile[735:183920] TCP Conn 0x1c016eac0 Failed : error 0:61 [61]
2018-10-24 11:43:12.344291+0800 BMOCrewingMobile[735:184065] dnssd_clientstub write_all(6) DEFUNCT
2018-10-24 11:43:12.344625+0800 BMOCrewingMobile[735:184065] dnssd_clientstub deliver_request ERROR: write_all(6, 51 bytes) failed
2018-10-24 11:43:12.344754+0800 BMOCrewingMobile[735:184065] dnssd_clientstub write_all(6) DEFUNCT
2018-10-24 11:43:12.354779+0800 BMOCrewingMobile[735:183748]  | JIGUANG | I - [JIGUANGSessionController] connecting with coreAddr 124.202.151.27,port 7007
2018-10-24 11:43:12.753218+0800 BMOCrewingMobile[735:184085]  | JIGUANG | I - [JIGUANGRegistration] 
----- register info -----
Appkey: d1d036500c6fe9e863051875
token:481bb8eb6b1e10e8f97da7facb12000684a1a8213da7475fd6d15edd6baedb59  
 advertisingIdentifier:
2018-10-24 11:43:12.801824+0800 BMOCrewingMobile[735:184085] [] nw_connection_get_connected_socket 67 Connection has no connected handler
2018-10-24 11:43:12.801937+0800 BMOCrewingMobile[735:184085] TCP Conn 0x1c016d800 Failed : error 0:61 [61]
2018-10-24 11:43:13.038316+0800 BMOCrewingMobile[735:183920] [] nw_connection_get_connected_socket 68 Connection has no connected handler
2018-10-24 11:43:13.038549+0800 BMOCrewingMobile[735:183920] TCP Conn 0x1c016d440 Failed : error 0:61 [61]
2018-10-24 11:43:13.430708+0800 BMOCrewingMobile[735:184065] [] nw_connection_get_connected_socket 69 Connection has no connected handler
2018-10-24 11:43:13.430818+0800 BMOCrewingMobile[735:184065] TCP Conn 0x1c4172d80 Failed : error 0:61 [61]
2018-10-24 11:43:14.822776+0800 BMOCrewingMobile[735:184065] [] nw_connection_get_connected_socket 70 Connection has no connected handler
2018-10-24 11:43:14.822882+0800 BMOCrewingMobile[735:184065] TCP Conn 0x1c016d440 Failed : error 0:61 [61]
2018-10-24 11:43:15.060615+0800 BMOCrewingMobile[735:183920] [] nw_connection_get_connected_socket 71 Connection has no connected handler
2018-10-24 11:43:15.060720+0800 BMOCrewingMobile[735:183920] TCP Conn 0x1c0165e80 Failed : error 0:61 [61]
2018-10-24 11:43:15.518754+0800 BMOCrewingMobile[735:183920] [] nw_connection_get_connected_socket 72 Connection has no connected handler
2018-10-24 11:43:15.518861+0800 BMOCrewingMobile[735:183920] TCP Conn 0x1c41741c0 Failed : error 0:61 [61]
2018-10-24 11:43:16.883283+0800 BMOCrewingMobile[735:184085] [] nw_connection_get_connected_socket 73 Connection has no connected handler
2018-10-24 11:43:16.883391+0800 BMOCrewingMobile[735:184085] TCP Conn 0x1c416d140 Failed : error 0:61 [61]
2018-10-24 11:43:17.213083+0800 BMOCrewingMobile[735:184085] [] nw_connection_get_connected_socket 74 Connection has no connected handler
2018-10-24 11:43:17.213183+0800 BMOCrewingMobile[735:184085] TCP Conn 0x1c0167d40 Failed : error 0:61 [61]
2018-10-24 11:43:17.706860+0800 BMOCrewingMobile[735:183748] [] nw_connection_get_connected_socket 75 Connection has no connected handler
2018-10-24 11:43:17.707458+0800 BMOCrewingMobile[735:183748] TCP Conn 0x1c016d800 Failed : error 0:61 [61]
2018-10-24 11:43:19.027184+0800 BMOCrewingMobile[735:184065] [] nw_connection_get_connected_socket 76 Connection has no connected handler
2018-10-24 11:43:19.027594+0800 BMOCrewingMobile[735:184065] TCP Conn 0x1c0168f40 Failed : error 0:61 [61]
2018-10-24 11:43:19.334597+0800 BMOCrewingMobile[735:183748] [] nw_connection_get_connected_socket 77 Connection has no connected handler
2018-10-24 11:43:19.334700+0800 BMOCrewingMobile[735:183748] TCP Conn 0x1c016d8c0 Failed : error 0:61 [61]
2018-10-24 11:43:20.067221+0800 BMOCrewingMobile[735:184065] [] nw_connection_get_connected_socket 78 Connection has no connected handler
2018-10-24 11:43:20.067393+0800 BMOCrewingMobile[735:184065] TCP Conn 0x1c0165d00 Failed : error 0:61 [61]
2018-10-24 11:43:21.218109+0800 BMOCrewingMobile[735:183748] [] nw_connection_get_connected_socket 79 Connection has no connected handler
2018-10-24 11:43:21.218217+0800 BMOCrewingMobile[735:183748] TCP Conn 0x1c0164800 Failed : error 0:61 [61]
2018-10-24 11:43:21.464245+0800 BMOCrewingMobile[735:183748] [] nw_connection_get_connected_socket 80 Connection has no connected handler
2018-10-24 11:43:21.464350+0800 BMOCrewingMobile[735:183748] TCP Conn 0x1c416d140 Failed : error 0:61 [61]
2018-10-24 11:43:22.205258+0800 BMOCrewingMobile[735:184085] [] nw_connection_get_connected_socket 81 Connection has no connected handler
2018-10-24 11:43:22.205366+0800 BMOCrewingMobile[735:184085] TCP Conn 0x1c016fd80 Failed : error 0:61 [61]
2018-10-24 11:43:22.772758+0800 BMOCrewingMobile[735:183748]  | JIGUANG | E - [JIGUANGSessionController] ack timeout for request rid: 27
2018-10-24 11:43:23.251940+0800 BMOCrewingMobile[735:183748] [] nw_connection_get_connected_socket 82 Connection has no connected handler
2018-10-24 11:43:23.252049+0800 BMOCrewingMobile[735:183748] TCP Conn 0x1c016d740 Failed : error 0:61 [61]
2018-10-24 11:43:23.597837+0800 BMOCrewingMobile[735:184085] [] nw_connection_get_connected_socket 83 Connection has no connected handler
2018-10-24 11:43:23.597940+0800 BMOCrewingMobile[735:184085] TCP Conn 0x1c0168280 Failed : error 0:61 [61]
2018-10-24 11:43:24.401090+0800 BMOCrewingMobile[735:183920] [] nw_connection_get_connected_socket 84 Connection has no connected handler
2018-10-24 11:43:24.401202+0800 BMOCrewingMobile[735:183920] TCP Conn 0x1c0163e40 Failed : error 0:61 [61]
2018-10-24 11:43:24.789554+0800 BMOCrewingMobile[735:183748]  | JIGUANG | I - [JIGUANGSessionController] connecting with coreAddr 124.202.151.27,port 7007
2018-10-24 11:43:25.396894+0800 BMOCrewingMobile[735:183920] [] nw_connection_get_connected_socket 85 Connection has no connected handler
2018-10-24 11:43:25.397064+0800 BMOCrewingMobile[735:183920] TCP Conn 0x1c016d800 Failed : error 0:61 [61]
2018-10-24 11:43:25.808776+0800 BMOCrewingMobile[735:184085] [] nw_connection_get_connected_socket 86 Connection has no connected handler
2018-10-24 11:43:25.808880+0800 BMOCrewingMobile[735:184085] TCP Conn 0x1c016eac0 Failed : error 0:61 [61]
2018-10-24 11:43:26.228056+0800 BMOCrewingMobile[735:183920]  | JIGUANG | I - [JIGUANGRegistration] 
----- register info -----
Appkey: d1d036500c6fe9e863051875
token:481bb8eb6b1e10e8f97da7facb12000684a1a8213da7475fd6d15edd6baedb59  
 advertisingIdentifier:
2018-10-24 11:43:26.859048+0800 BMOCrewingMobile[735:183748] [] nw_connection_get_connected_socket 87 Connection has no connected handler
2018-10-24 11:43:26.859159+0800 BMOCrewingMobile[735:183748] TCP Conn 0x1c0168f40 Failed : error 0:61 [61]
2018-10-24 11:43:27.596255+0800 BMOCrewingMobile[735:183748] [] nw_connection_get_connected_socket 88 Connection has no connected handler
2018-10-24 11:43:27.596362+0800 BMOCrewingMobile[735:183748] TCP Conn 0x1c016ee80 Failed : error 0:61 [61]
2018-10-24 11:43:27.994519+0800 BMOCrewingMobile[735:183920] [] nw_connection_get_connected_socket 89 Connection has no connected handler
2018-10-24 11:43:27.994622+0800 BMOCrewingMobile[735:183920] TCP Conn 0x1c0168f40 Failed : error 0:61 [61]
2018-10-24 11:43:29.153913+0800 BMOCrewingMobile[735:183748] [] nw_connection_get_connected_socket 90 Connection has no connected handler
2018-10-24 11:43:29.154022+0800 BMOCrewingMobile[735:183748] TCP Conn 0x1c0167e00 Failed : error 0:61 [61]
2018-10-24 11:43:30.160096+0800 BMOCrewingMobile[735:184065] [] nw_connection_get_connected_socket 92 Connection has no connected handler
2018-10-24 11:43:30.160200+0800 BMOCrewingMobile[735:184065] TCP Conn 0x1c0167f80 Failed : error 0:61 [61]
2018-10-24 11:43:32.253233+0800 BMOCrewingMobile[735:183748] [] nw_connection_get_connected_socket 94 Connection has no connected handler
2018-10-24 11:43:32.253340+0800 BMOCrewingMobile[735:183748] TCP Conn 0x1c016ef40 Failed : error 0:61 [61]
2018-10-24 11:43:32.261515+0800 BMOCrewingMobile[735:183748] [] nw_connection_get_connected_socket 91 Connection has no connected handler
2018-10-24 11:43:32.261598+0800 BMOCrewingMobile[735:183748] TCP Conn 0x1c0163e40 Failed : error 0:61 [61]
2018-10-24 11:43:32.262048+0800 BMOCrewingMobile[735:183748] [] nw_connection_get_connected_socket 93 Connection has no connected handler
2018-10-24 11:43:32.262098+0800 BMOCrewingMobile[735:183748] TCP Conn 0x1c0165d00 Failed : error 0:61 [61]
2018-10-24 11:43:34.320202+0800 BMOCrewingMobile[735:184065] [] nw_connection_get_connected_socket 95 Connection has no connected handler
2018-10-24 11:43:34.320315+0800 BMOCrewingMobile[735:184065] TCP Conn 0x1c016d800 Failed : error 0:61 [61]
2018-10-24 11:43:34.362870+0800 BMOCrewingMobile[735:184065] [] nw_connection_get_connected_socket 97 Connection has no connected handler
2018-10-24 11:43:34.362977+0800 BMOCrewingMobile[735:184065] TCP Conn 0x1c016fcc0 Failed : error 0:61 [61]
2018-10-24 11:43:34.363208+0800 BMOCrewingMobile[735:184065] [] nw_connection_get_connected_socket 96 Connection has no connected handler
2018-10-24 11:43:34.363257+0800 BMOCrewingMobile[735:184065] TCP Conn 0x1c016f840 Failed : error 0:61 [61]
2018-10-24 11:43:36.251624+0800 BMOCrewingMobile[735:184065]  | JIGUANG | E - [JIGUANGSessionController] ack timeout for request rid: 29
2018-10-24 11:43:36.443038+0800 BMOCrewingMobile[735:184252] [] nw_connection_get_connected_socket 99 Connection has no connected handler
2018-10-24 11:43:36.443181+0800 BMOCrewingMobile[735:184252] TCP Conn 0x1c4167680 Failed : error 0:61 [61]
2018-10-24 11:43:36.447649+0800 BMOCrewingMobile[735:184085] [] nw_connection_get_connected_socket 98 Connection has no connected handler
2018-10-24 11:43:36.447731+0800 BMOCrewingMobile[735:184085] TCP Conn 0x1c0164800 Failed : error 0:61 [61]
2018-10-24 11:43:36.447951+0800 BMOCrewingMobile[735:184085] [] nw_connection_get_connected_socket 100 Connection has no connected handler
2018-10-24 11:43:36.447999+0800 BMOCrewingMobile[735:184085] TCP Conn 0x1c4172f00 Failed : error 0:61 [61]
2018-10-24 11:43:38.264219+0800 BMOCrewingMobile[735:184085]  | JIGUANG | I - [JIGUANGSessionController] connecting with coreAddr 124.202.151.27,port 7007
2018-10-24 11:43:38.498123+0800 BMOCrewingMobile[735:184252] [] nw_connection_get_connected_socket 101 Connection has no connected handler
2018-10-24 11:43:38.498236+0800 BMOCrewingMobile[735:184252] TCP Conn 0x1c016ac80 Failed : error 0:61 [61]
2018-10-24 11:43:38.520250+0800 BMOCrewingMobile[735:184252] [] nw_connection_get_connected_socket 102 Connection has no connected handler
2018-10-24 11:43:38.520359+0800 BMOCrewingMobile[735:184252] TCP Conn 0x1c4172f00 Failed : error 0:61 [61]
2018-10-24 11:43:38.522488+0800 BMOCrewingMobile[735:184252] [] nw_connection_get_connected_socket 103 Connection has no connected handler
2018-10-24 11:43:38.522646+0800 BMOCrewingMobile[735:184252] TCP Conn 0x1c41741c0 Failed : error 0:61 [61]
2018-10-24 11:43:40.646815+0800 BMOCrewingMobile[735:184085] [] nw_connection_get_connected_socket 104 Connection has no connected handler
2018-10-24 11:43:40.646979+0800 BMOCrewingMobile[735:184085] TCP Conn 0x1c0168040 Failed : error 0:61 [61]
2018-10-24 11:43:40.684474+0800 BMOCrewingMobile[735:184085] [] nw_connection_get_connected_socket 105 Connection has no connected handler
2018-10-24 11:43:40.684577+0800 BMOCrewingMobile[735:184085] TCP Conn 0x1c016f840 Failed : error 0:61 [61]
2018-10-24 11:43:40.697758+0800 BMOCrewingMobile[735:183748] [] nw_connection_get_connected_socket 106 Connection has no connected handler
2018-10-24 11:43:40.697986+0800 BMOCrewingMobile[735:183748] TCP Conn 0x1c016d080 Failed : error 0:61 [61]
2018-10-24 11:43:41.707321+0800 BMOCrewingMobile[735:184065]  | JIGUANG | I - [JIGUANGRegistration] 
----- register info -----
Appkey: d1d036500c6fe9e863051875
token:481bb8eb6b1e10e8f97da7facb12000684a1a8213da7475fd6d15edd6baedb59  
 advertisingIdentifier:
2018-10-24 11:43:42.683293+0800 BMOCrewingMobile[735:184065] [] nw_connection_get_connected_socket 107 Connection has no connected handler
2018-10-24 11:43:42.683401+0800 BMOCrewingMobile[735:184065] TCP Conn 0x1c016f3c0 Failed : error 0:61 [61]
2018-10-24 11:43:42.833861+0800 BMOCrewingMobile[735:184065] [] nw_connection_get_connected_socket 108 Connection has no connected handler
2018-10-24 11:43:42.834137+0800 BMOCrewingMobile[735:184065] TCP Conn 0x1c016e100 Failed : error 0:61 [61]
2018-10-24 11:43:42.837867+0800 BMOCrewingMobile[735:183748] [] nw_connection_get_connected_socket 109 Connection has no connected handler
2018-10-24 11:43:42.837928+0800 BMOCrewingMobile[735:183748] TCP Conn 0x1c0167ec0 Failed : error 0:61 [61]
2018-10-24 11:43:44.763790+0800 BMOCrewingMobile[735:183920] [] nw_connection_get_connected_socket 110 Connection has no connected handler
2018-10-24 11:43:44.763901+0800 BMOCrewingMobile[735:183920] TCP Conn 0x1c016c6c0 Failed : error 0:61 [61]
2018-10-24 11:43:44.960516+0800 BMOCrewingMobile[735:183920] [] nw_connection_get_connected_socket 112 Connection has no connected handler
2018-10-24 11:43:44.960621+0800 BMOCrewingMobile[735:183920] TCP Conn 0x1c0167ec0 Failed : error 0:61 [61]
2018-10-24 11:43:44.960858+0800 BMOCrewingMobile[735:183920] [] nw_connection_get_connected_socket 111 Connection has no connected handler
2018-10-24 11:43:44.961074+0800 BMOCrewingMobile[735:183920] TCP Conn 0x1c016d440 Failed : error 0:61 [61]
2018-10-24 11:43:46.913200+0800 BMOCrewingMobile[735:183920] [] nw_connection_get_connected_socket 113 Connection has no connected handler
2018-10-24 11:43:46.913304+0800 BMOCrewingMobile[735:183920] TCP Conn 0x1c016cb40 Failed : error 0:61 [61]
2018-10-24 11:43:47.173760+0800 BMOCrewingMobile[735:183920] [] nw_connection_get_connected_socket 114 Connection has no connected handler
2018-10-24 11:43:47.173868+0800 BMOCrewingMobile[735:183920] TCP Conn 0x1c016cf00 Failed : error 0:61 [61]
2018-10-24 11:43:47.328412+0800 BMOCrewingMobile[735:184065] [] nw_connection_get_connected_socket 115 Connection has no connected handler
2018-10-24 11:43:47.328521+0800 BMOCrewingMobile[735:184065] TCP Conn 0x1c0167ec0 Failed : error 0:61 [61]
2018-10-24 11:43:48.933886+0800 BMOCrewingMobile[735:183748] [] nw_connection_get_connected_socket 116 Connection has no connected handler
2018-10-24 11:43:48.933995+0800 BMOCrewingMobile[735:183748] TCP Conn 0x1c016f3c0 Failed : error 0:61 [61]
2018-10-24 11:43:49.330524+0800 BMOCrewingMobile[735:184065] [] nw_connection_get_connected_socket 117 Connection has no connected handler
2018-10-24 11:43:49.330629+0800 BMOCrewingMobile[735:184065] TCP Conn 0x1c016fcc0 Failed : error 0:61 [61]
2018-10-24 11:43:49.465095+0800 BMOCrewingMobile[735:184065] [] nw_connection_get_connected_socket 118 Connection has no connected handler
2018-10-24 11:43:49.465206+0800 BMOCrewingMobile[735:184065] TCP Conn 0x1c016d800 Failed : error 0:61 [61]
2018-10-24 11:43:51.090633+0800 BMOCrewingMobile[735:184085] [] nw_connection_get_connected_socket 119 Connection has no connected handler
2018-10-24 11:43:51.090739+0800 BMOCrewingMobile[735:184085] TCP Conn 0x1c0170080 Failed : error 0:61 [61]
2018-10-24 11:43:51.411553+0800 BMOCrewingMobile[735:183920] [] nw_connection_get_connected_socket 120 Connection has no connected handler
2018-10-24 11:43:51.411869+0800 BMOCrewingMobile[735:183920] TCP Conn 0x1c016d500 Failed : error 0:61 [61]
2018-10-24 11:43:51.666426+0800 BMOCrewingMobile[735:183920] [] nw_connection_get_connected_socket 121 Connection has no connected handler
2018-10-24 11:43:51.666764+0800 BMOCrewingMobile[735:183920] TCP Conn 0x1c0167ec0 Failed : error 0:61 [61]
2018-10-24 11:43:51.728033+0800 BMOCrewingMobile[735:183748]  | JIGUANG | E - [JIGUANGSessionController] ack timeout for request rid: 33
2018-10-24 11:43:53.119231+0800 BMOCrewingMobile[735:183748] [] nw_connection_get_connected_socket 122 Connection has no connected handler
2018-10-24 11:43:53.119338+0800 BMOCrewingMobile[735:183748] TCP Conn 0x1c0168f40 Failed : error 0:61 [61]
2018-10-24 11:43:53.510022+0800 BMOCrewingMobile[735:183920] [] nw_connection_get_connected_socket 123 Connection has no connected handler
2018-10-24 11:43:53.510127+0800 BMOCrewingMobile[735:183920] TCP Conn 0x1c016ee80 Failed : error 0:61 [61]
2018-10-24 11:43:53.751011+0800 BMOCrewingMobile[735:184065]  | JIGUANG | I - [JIGUANGSessionController] connecting with coreAddr 124.202.151.27,port 7007
2018-10-24 11:43:53.853287+0800 BMOCrewingMobile[735:184085] [] nw_connection_get_connected_socket 124 Connection has no connected handler
2018-10-24 11:43:53.853464+0800 BMOCrewingMobile[735:184085] TCP Conn 0x1c016d440 Failed : error 0:61 [61]
2018-10-24 11:43:55.178994+0800 BMOCrewingMobile[735:183748]  | JIGUANG | I - [JIGUANGRegistration] 
----- register info -----
Appkey: d1d036500c6fe9e863051875
token:481bb8eb6b1e10e8f97da7facb12000684a1a8213da7475fd6d15edd6baedb59  
 advertisingIdentifier:
2018-10-24 11:43:55.380267+0800 BMOCrewingMobile[735:183748] [] nw_connection_get_connected_socket 125 Connection has no connected handler
2018-10-24 11:43:55.380376+0800 BMOCrewingMobile[735:183748] TCP Conn 0x1c016c6c0 Failed : error 0:61 [61]
2018-10-24 11:43:55.701953+0800 BMOCrewingMobile[735:183920] [] nw_connection_get_connected_socket 126 Connection has no connected handler
2018-10-24 11:43:55.702054+0800 BMOCrewingMobile[735:183920] TCP Conn 0x1c0170080 Failed : error 0:61 [61]
2018-10-24 11:43:56.148055+0800 BMOCrewingMobile[735:184065] [] nw_connection_get_connected_socket 127 Connection has no connected handler
2018-10-24 11:43:56.148163+0800 BMOCrewingMobile[735:184065] TCP Conn 0x1c016f3c0 Failed : error 0:61 [61]
2018-10-24 11:43:57.546474+0800 BMOCrewingMobile[735:183748] [] nw_connection_get_connected_socket 128 Connection has no connected handler
2018-10-24 11:43:57.546802+0800 BMOCrewingMobile[735:183748] TCP Conn 0x1c016a740 Failed : error 0:61 [61]
2018-10-24 11:43:57.896747+0800 BMOCrewingMobile[735:184065] [] nw_connection_get_connected_socket 129 Connection has no connected handler
2018-10-24 11:43:57.896847+0800 BMOCrewingMobile[735:184065] TCP Conn 0x1c016ca80 Failed : error 0:61 [61]
2018-10-24 11:43:58.400030+0800 BMOCrewingMobile[735:183748] [] nw_connection_get_connected_socket 130 Connection has no connected handler
2018-10-24 11:43:58.400095+0800 BMOCrewingMobile[735:183748] TCP Conn 0x1c0168040 Failed : error 0:61 [61]

#11

有没有极光的日志

当前可能影响注册的,由于极光机房被持续攻击,导致机房 IP 被封,昨晚有大部分 IP 被封
该问题会影响到客户端的接入服务,客户端日志会打印连接极光服务器失败,对接收消息有一定影响。我们还在持续跟进


(bwcrewing) #12

这就是JPUSHService打印出来的日志啊。IP被封是昨天的事吗?这个问题上周就出现了。


#13

极光的日志一般都有 jiguang 的tag 呀,机房问题是近两天出现的


(bwcrewing) #14

多谢!我马上设置JPUSHService的debug模式。一会儿给你极光日志


(bwcrewing) #15

很多个类似于这样的信息:
2018-10-24 12:03:41.047404+0800 BMOCrewingMobile[752:191088] | JIGUANG | E - [JIGUANGTcpSocket] connect failed with socket timeout
2018-10-24 12:03:41.051285+0800 BMOCrewingMobile[752:191088] | JIGUANG | E - [JIGUANGTcpSocket] connect socket failed:socket timeout
2018-10-24 12:03:41.051560+0800 BMOCrewingMobile[752:191088] | JIGUANG | E - [JIGUANGSessionController] 连接服务器失败
2018-10-24 12:03:41.051756+0800 BMOCrewingMobile[752:191088] | JIGUANG | D - [JIGUANGSessionController] Action - connectTcp
2018-10-24 12:03:41.051941+0800 BMOCrewingMobile[752:191088] | JIGUANG | D - [JIGUANGSessionController] Action - connectTcpAddress:
2018-10-24 12:03:41.052130+0800 BMOCrewingMobile[752:191088] | JIGUANG | D - [JIGUANGSessionController] connectTcp:39.105.128.230:7004
2018-10-24 12:03:41.052367+0800 BMOCrewingMobile[752:191088] | JIGUANG | I - [JIGUANGSessionController] connecting with coreAddr 39.105.128.230,port 7004


(bwcrewing) #16

我想请问一下,若我们购买enterprise极光帐号,是不是服务器的连接会比较快速和可靠?


(bwcrewing) #17

2018-10-24 12:07:22.045736+0800 BMOCrewingMobile[752:191088] | JIGUANG | D - [JIGUANGRequest] Action - onAckTimeout - rid:19
2018-10-24 12:07:22.046949+0800 BMOCrewingMobile[752:191088] | JIGUANG | D - [JIGUANGSessionController] Action - onAckTimeoutForRequest:
2018-10-24 12:07:22.047161+0800 BMOCrewingMobile[752:191088] | JIGUANG | E - [JIGUANGSessionController] ack timeout for request rid: 19
2018-10-24 12:07:22.047351+0800 BMOCrewingMobile[752:191088] | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPUSHNetworkDidCloseNotification (null)
2018-10-24 12:07:22.047638+0800 BMOCrewingMobile[752:191088] | JIGUANG | D - [JIGUANGSessionController] Action - reenqueueSendingRequests
2018-10-24 12:07:22.047916+0800 BMOCrewingMobile[752:191088] | JIGUANG | D - [JIGUANGTcpSocket] 关闭TCP连接
2018-10-24 12:07:22.048112+0800 BMOCrewingMobile[752:191088] | JIGUANG | D - [JIGUANGUdpSocket] close udp socket,info:
2018-10-24 12:07:22.048298+0800 BMOCrewingMobile[752:191088] | JIGUANG | D - [JIGUANGSessionController] Action - startDelaySetupTimer
2018-10-24 12:07:22.055582+0800 BMOCrewingMobile[752:191088] | JIGUANG | D - [JIGUANGSessionController] session will setup delayed with time interval: 2.000000

。。。。

2018-10-24 12:07:24.052845+0800 BMOCrewingMobile[752:192430] | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPFNetworkIsConnectingNotification (null)
2018-10-24 12:07:24.053149+0800 BMOCrewingMobile[752:191095] | JIGUANG | D - [JIGUANGSessionController] Action - connect
2018-10-24 12:07:24.053350+0800 BMOCrewingMobile[752:191095] | JIGUANG | D - [JIGUANGSessionController] Action - isSisOnProtect
2018-10-24 12:07:24.053537+0800 BMOCrewingMobile[752:191095] | JIGUANG | D - [JIGUANGSessionController] sis is on protect
2018-10-24 12:07:24.063584+0800 BMOCrewingMobile[752:191095] | JIGUANG | D - [JIGUANGSessionController] current network, ipv4
2018-10-24 12:07:24.063834+0800 BMOCrewingMobile[752:191095] | JIGUANG | D - [JIGUANGSessionController] Action - connectTcp
2018-10-24 12:07:24.064025+0800 BMOCrewingMobile[752:191095] | JIGUANG | D - [JIGUANGSessionController] Action - connectTcpAddress:
2018-10-24 12:07:24.064209+0800 BMOCrewingMobile[752:191095] | JIGUANG | D - [JIGUANGSessionController] connectTcp:103.229.215.17:7005
2018-10-24 12:07:24.064439+0800 BMOCrewingMobile[752:191095] | JIGUANG | I - [JIGUANGSessionController] connecting with coreAddr 103.229.215.17,port 7005

。。。。。。

2018-10-24 12:07:34.169138+0800 BMOCrewingMobile[752:192430] | JIGUANG | E - [JIGUANGTcpSocket] connect failed with socket timeout
2018-10-24 12:07:34.173427+0800 BMOCrewingMobile[752:192430] | JIGUANG | E - [JIGUANGTcpSocket] connect socket failed:socket timeout
2018-10-24 12:07:34.173709+0800 BMOCrewingMobile[752:192430] | JIGUANG | E - [JIGUANGSessionController] 连接服务器失败
2018-10-24 12:07:34.173906+0800 BMOCrewingMobile[752:192430] | JIGUANG | D - [JIGUANGSessionController] Action - connectTcp
2018-10-24 12:07:34.174092+0800 BMOCrewingMobile[752:192430] | JIGUANG | D - [JIGUANGSessionController] Action - connectTcpAddress:
2018-10-24 12:07:34.174277+0800 BMOCrewingMobile[752:192430] | JIGUANG | D - [JIGUANGSessionController] connectTcp:117.121.49.109:7003
2018-10-24 12:07:34.174512+0800 BMOCrewingMobile[752:192430] | JIGUANG | I - [JIGUANGSessionController] connecting with coreAddr 117.121.49.109,port 7003

。。。。。。

2018-10-24 12:07:39.263746+0800 BMOCrewingMobile[752:191088] | JIGUANG | E - [JIGUANGTcpSocket] connect failed with socket timeout
2018-10-24 12:07:39.268912+0800 BMOCrewingMobile[752:191088] | JIGUANG | E - [JIGUANGTcpSocket] connect socket failed:socket timeout
2018-10-24 12:07:39.269225+0800 BMOCrewingMobile[752:191088] | JIGUANG | E - [JIGUANGSessionController] 连接服务器失败
2018-10-24 12:07:39.269424+0800 BMOCrewingMobile[752:191088] | JIGUANG | D - [JIGUANGSessionController] Action - connectTcp
2018-10-24 12:07:39.269609+0800 BMOCrewingMobile[752:191088] | JIGUANG | D - [JIGUANGSessionController] Action - connectTcpAddress:
2018-10-24 12:07:39.269793+0800 BMOCrewingMobile[752:191088] | JIGUANG | D - [JIGUANGSessionController] connectTcp:39.105.127.8:7004
2018-10-24 12:07:39.270004+0800 BMOCrewingMobile[752:191088] | JIGUANG | I - [JIGUANGSessionController] connecting with coreAddr 39.105.127.8,port 7004

。。。。。。


(bwcrewing) #18

刚才开发环境的一个iPhone设备拿回来一个registration ID:1114a89792fdd090fa9,我在极光后台测试通知及自定义消息推送到此registration ID: 1114a89792fdd090fa9,得到的信息是没有找到推送目标。可以帮忙查一下吗?还是跟推送服务器故障有关吗?


#19

这个应是没有关系的,我查你这个 registrationID对应的 Appkey (d1d036500c6fe9e863051875)下并没有推送消息的记录,应该是你推送错了,推送的 Appkey 和设备配的 Appkey 不一样导致的


(bwcrewing) #20

不好意思,这个是我弄错了,去到了另外一个app下发推送。


(bwcrewing) #21

我想请问一下,若我们购买enterprise极光帐号,是不是服务器的连接会比较快速和可靠?

麻烦您回答一下


#22

VIP 账号有专门的通道,肯定是要比免费通道更靠谱的

这次的故障虽然影响到 VIP 用户,但 VIP 可申请优先处理。

具体的差别说明

更多详细的可以联系商务