自iOS 5/6左右以来,我一直在开发应用程序。最近出现了一些奇怪的问题,其中最糟糕的问题是需要重启设备才能使用任何需要网络连接的东西(Safari等)。 该应用程序运行本地服务器,并与本地网络上的许多客户端iPad应用程序通信。我有以下问题,我认为不应该这样:
Oct 19 16:26:27 Rabbit syslogd[22] <Notice>: ASL Sender Statistics
Oct 19 16:26:51 Rabbit networkd[85] <Notice>: -[NETAWDManager reportStats:metricID:] server 0x1557d310, container 0x155910c0, metrid 2686983, successfully reported:
<AWDLibnetcoreTCPConnectionReport: 0x155a7ed0> {
cellularFallbackReport = {
dataUsageSnapshotsAtNetworkEvents = (
{
bytesIn = 25000;
bytesOut = 2500;
},
{
bytesIn = 50000;
bytesOut = 5300;
},
{
bytesIn = 130000;
bytesOut = 8500;
},
{
bytesIn = 150000;
bytesOut = 11000;
},
{
bytesIn = 250000;
bytesOut = 16000;
},
{
bytesIn = 350000;
bytesOut = 18000;
}
);
"fallbackTimer_msecs" = 0;
fellback = 0;
networkEvents = (
"NETWORK_EVENT_DATA_STALL_AT_APP_LAYER",
"NETWORK_EVENT_DATA_STALL_AT_APP_LAYER",
"NETWORK_EVENT_DATA_STALL_AT_APP_LAYER",
"NETWORK_EVENT_DATA_STALL_AT_APP_LAYER",
"NETWORK_EVENT_DATA_STALL_AT_APP_LAYER",
"NETWORK_EVENT_DATA_STALL_AT_APP_LAYER"
);
"timeToNetworkEvents_msecs" = (
14062,
39061,
64061,
74061,
109061,
164061
);
};
clientIdentifier = "com.xxx.xxx (redacted)";
connectionStatisticsReport = {
DNSAnswersCached = 0;
"DNSResolvedTime_msecs" = 21;
RTTvariance = 2931;
"appDataStallTimer_msecs" = 3;
appReportingDataStallCount = 6;
"bestRTT_msecs" = 20;
betterRouteEventCount = 0;
bytesDuplicate = 0;
bytesIn = 380000;
bytesOut = 18000;
bytesOutOfOrder = 130000;
bytesRetransmitted = 13000;
cellularFallback = 0;
cellularRRCConnected = 0;
connected = 1;
connectedInterfaceType = "INTERFACE_TYPE_WIFI";
"connectionEstablishmentTime_msecs" = 35;
connectionReuseCount = 0;
"currentRTT_msecs" = 6314;
"flowDuration_msecs" = 197976;
interfaceType = "INTERFACE_TYPE_WIFI";
kernelReportedStalls = 0;
kernelReportingConnectionStalled = 0;
kernelReportingReadStalled = 0;
kernelReportingWriteStalled = 0;
packetsDuplicate = 0;
packetsIn = 280;
packetsOut = 51;
packetsOutOfOrder = 0;
packetsRetransmitted = 0;
"smoothedRTT_msecs" = 3974;
synRetransmissionCount = 0;
tcpFastOpen = 0;
"timeToConnectionEstablishment_msecs" = 58;
"timeToConnectionStart_msecs" = 23;
"timeToDNSResolved_msecs" = 22;
"timeToDNSStart_msecs" = 1;
trafficClass = 0;
};
delegated = 0;
reportReason = "REPORT_REASON_DATA_STALL_AT_APP_LAYER";
任何想法都非常感激。