I noticed my sockets closing unexpectedly and when I looked at the device log, I see the wifi went down, then back up very quickly around this time. Is this a known iOS bug?
This is what I see:
This is what I see:
// WIFI GOES DOWN?
Jul 6 17:03:22 Dev-iPad-1 kernel[0] <Notice>: 240509.454147 wlan0.N[188800] AppleBCMWLANNetManager::handleDeauth(): status = 0 , reason = 2, flags = 0x0, authtype = 0, addr = 88:1f:a1:32:d6:67
Jul 6 17:03:22 Dev-iPad-1 kernel[0] <Notice>: 240509.455998 wlan0.N[188801] AppleBCMWLANNetManager::leaveNetworkAsync(): kDeauthdCurrNetwork already set. Skipping call to leaveNetworkASync
Jul 6 17:03:22 Dev-iPad-1 kernel[0] <Notice>: AirPort: Link Down on en0. Reason 1 (Unspecified).
Jul 6 17:03:22 Dev-iPad-1 kernel[0] <Notice>: en0::stopOutputQueues
Jul 6 17:03:22 Dev-iPad-1 kernel[0] <Notice>: en0::IO80211Interface::postMessage bssid changed
Jul 6 17:03:22 Dev-iPad-1 kernel[0] <Notice>: 240509.456337 wlan0.A[188802] AppleBCMWLANBGScanManager::configurePrivateMACForBGScans(): BG-SCAN PRIVATE MAC 1e e3 aa b2 ea a7
Jul 6 17:03:22 Dev-iPad-1 kernel[0] <Notice>: 240509.456352 wlan0.N[188803] AppleBCMWLANCore::resetAutoCountry(): EnhancedLocaleEnabled: 1, HostCountry:1, fDefaultCountryCode:XZ, fCurrentHostCountryCode:US
Jul 6 17:03:22 Dev-iPad-1 kernel[0] <Notice>: 240509.492627 wlan0.A[188804] AppleBCMWLANCore::setProperties(): Active during sleep supported (false)
Jul 6 17:03:22 Dev-iPad-1 SpringBoard[49] <Warning>: WiFi is associated NO
Jul 6 17:03:22 Dev-iPad-1 apsd[84] <Warning>: WiFi is associated NO
Jul 6 17:03:22 Dev-iPad-1 imagent[58] <Warning>: WiFi is associated NO
Jul 6 17:03:22 Dev-iPad-1 identityservicesd[43] <Warning>: WiFi is associated NO
Jul 6 17:03:22 Dev-iPad-1 locationd[56] <Warning>: WiFi is associated NO
Jul 6 17:03:22 Dev-iPad-1 SpringBoard[49] <Warning>: WiFi is associated NO
Jul 6 17:03:22 Dev-iPad-1 identityservicesd[43] <Warning>: WiFi is associated NO
Jul 6 17:03:22 Dev-iPad-1 imagent[58] <Warning>: WiFi is associated NO
Jul 6 17:03:22 Dev-iPad-1 UserEventAgent[17] <Warning>: WiFi is associated NO
Jul 6 17:03:22 Dev-iPad-1 locationd[56] <Warning>: WiFi is associated NO
Jul 6 17:03:22 Dev-iPad-1 UserEventAgent[17] <Warning>: WiFi is associated NO
Jul 6 17:03:22 Dev-iPad-1 MobileMail[154] <Warning>: WiFi is associated NO
Jul 6 17:03:22 Dev-iPad-1 MobileMail[154] <Warning>: WiFi is associated NO
Jul 6 17:03:22 Dev-iPad-1 apsd[84] <Warning>: WiFi is associated NO
Jul 6 17:03:22 Dev-iPad-1 dataaccessd[248] <Warning>: WiFi is associated NO
Jul 6 17:03:22 Dev-iPad-1 dataaccessd[248] <Warning>: WiFi is associated NO
Jul 6 17:03:22 Dev-iPad-1 kernel[0] <Notice>: 240509.613663 wlan0.N[188805] AppleBCMWLANCore::setASSOCIATE(): [wifid]: lowerAuth = AUTHTYPE_OPEN, upperAuth = AUTHTYPE_WPA2_PSK, key = CIPHER_PMK , don't disassociate .
Jul 6 17:03:22 Dev-iPad-1 kernel[0] <Notice>: 240509.621527 wlan0.N[188806] AppleBCMWLANCore::resetAutoCountry(): EnhancedLocaleEnabled: 1, HostCountry:1, fDefaultCountryCode:XZ, fCurrentHostCountryCode:US
// MY SOCKET GETS CLOSED HERE
Jul 6 17:03:22 Dev-iPad-1 DigiContact[2763] <Warning>: LESDK -- LEIL -- Socket closed
// WIFI COMES BACK UP
Jul 6 17:03:22 Dev-iPad-1 kernel[0] <Notice>: 240509.694845 wlan0.A[188807] AppleBCMWLANNetManager::prepareToBringUpLink(): Delaying powersave entry in order to get an IP address
Jul 6 17:03:22 Dev-iPad-1 kernel[0] <Notice>: 240509.694904 wlan0.A[188808] AppleBCMWLANNetManager::updateLinkQualityMetrics(): Report LQM to User Land 50, fAverageRSSI -85
Jul 6 17:03:22 Dev-iPad-1 kernel[0] <Notice>: AirPort: Link Up on en0
Jul 6 17:03:22 Dev-iPad-1 kernel[0] <Notice>: en0::startOutputQueues (0)
Jul 6 17:03:22 Dev-iPad-1 kernel[0] <Notice>: en0: BSSID changed to 88:1f:a1:32:d6:67
Jul 6 17:03:22 Dev-iPad-1 kernel[0] <Notice>: en0::IO80211Interface::postMessage bssid changed
Jul 6 17:03:22 Dev-iPad-1 kernel[0] <Notice>: en0: BSSID changed to 88:1f:a1:32:d6:67
Jul 6 17:03:22 Dev-iPad-1 kernel[0] <Notice>: en0::IO80211Interface::postMessage bssid changed
Jul 6 17:03:22 Dev-iPad-1 kernel[0] <Notice>: 240509.695257 wlan0.A[188809] AppleBCMWLANBGScanManager::configurePrivateMACForBGScans(): BG-SCAN PRIVATE MAC 0 0 0 0 0 0
Jul 6 17:03:22 Dev-iPad-1 discoveryd[2727] <Notice>: Basic DNSResolver UDNS Send(): UDP Sendto() failed to DNSNameServer 10.0.0.1 Port 53 errno 49, fd 31, ErrLogCount 1 ResolverIntf:4
Jul 6 17:03:22 Dev-iPad-1 discoveryd[2727] <Notice>: Basic DNSResolver UDNS Send(): UDP Sendto() failed to DNSNameServer 10.0.0.1 Port 53 errno 49, fd 31, ErrLogCount 2 ResolverIntf:4
Jul 6 17:03:22 Dev-iPad-1 discoveryd[2727] <Notice>: Basic DNSResolver UDNS Send(): UDP Sendto() failed to DNSNameServer 10.0.0.1 Port 53 errno 49, fd 31, ErrLogCount 3 ResolverIntf:4
Jul 6 17:03:22 Dev-iPad-1 kernel[0] <Notice>: 240509.709003 wlan0.A[188810] AppleBCMWLANConfigManager::configureRoamingProfile(): Roam profile is already in effect (profile=1)
// HERE -- wifi coming back up?
Jul 6 17:03:22 Dev-iPad-1 wifid[33] <Error>: WiFi:[457913002.456777]: __WiFiLQAMgrSetCurrentNetwork: SSID: dryaged (5 GHz) BSSID: 88:1f:a1:32:d6:67 RSSI: -34 ApEnv: 2
Jul 6 17:03:22 Dev-iPad-1 kernel[0] <Notice>: 240509.715802 wlan0.N[188811] AppleBCMWLANJoinManager::handleSupplicantEvent(): status = 6 WLC_SUP_KEYED, reason = 0 Other reason, flags = 0x0, authtype = 0, addr = 08:08:08:08:08:08
Jul 6 17:03:22 Dev-iPad-1 networkd[89] <Warning>: +[NETLedBelly stopFastFail] Clearing ledbelly failure cache
Jul 6 17:03:22 Dev-iPad-1 configd[28] <Notice>: network changed: v4(en0-:10.0.0.118) DNS- Proxy-
Jul 6 17:03:22 Dev-iPad-1 configd[28] <Notice>: Captive: CNPluginHandler en0: Inactive
Jul 6 17:03:22 Dev-iPad-1 discoveryd[2727] <Notice>: Basic WABServer NetResolverEvent no resolvers, resetting domains
Jul 6 17:03:22 Dev-iPad-1 discoveryd[2727] <Notice>: Basic Bonjour stop listening on en0
Jul 6 17:03:22 Dev-iPad-1 MobileMail[154] <Warning>: WiFi is associated YES
Jul 6 17:03:22 Dev-iPad-1 MobileMail[154] <Warning>: WiFi is associated YES
// HERE -- odd, we lost our IP
Jul 6 17:03:22 Dev-iPad-1 kernel[0] <Notice>: 240509.753044 wlan0.N[188812] AppleBCMWLANCore::handleIPv4AddressNotificationGated(): Local IPv4 address 0.0.0.0
Jul 6 17:03:22 Dev-iPad-1 kernel[0] <Notice>: 240509.754885 wlan0.A[188813] AppleBCMWLANCore::setProperties(): Active during sleep supported (true)
Jul 6 17:03:22 Dev-iPad-1 dataaccessd[248] <Warning>: WiFi is associated YES
Jul 6 17:03:22 Dev-iPad-1 SpringBoard[49] <Warning>: WiFi is associated YES
Jul 6 17:03:22 Dev-iPad-1 identityservicesd[43] <Warning>: WiFi is associated YES
Jul 6 17:03:22 Dev-iPad-1 SpringBoard[49] <Warning>: WiFi is associated YES
Jul 6 17:03:22 Dev-iPad-1 identityservicesd[43] <Warning>: WiFi is associated YES
Jul 6 17:03:22 Dev-iPad-1 locationd[56] <Warning>: WiFi is associated YES
Jul 6 17:03:22 Dev-iPad-1 locationd[56] <Warning>: WiFi is associated YES
Jul 6 17:03:22 Dev-iPad-1 apsd[84] <Warning>: WiFi is associated YES
Jul 6 17:03:22 Dev-iPad-1 apsd[84] <Warning>: WiFi is associated YES
Jul 6 17:03:22 Dev-iPad-1 imagent[58] <Warning>: WiFi is associated YES
Jul 6 17:03:22 Dev-iPad-1 UserEventAgent[17] <Warning>: WiFi is associated YES
Jul 6 17:03:22 Dev-iPad-1 imagent[58] <Warning>: WiFi is associated YES
Jul 6 17:03:22 Dev-iPad-1 UserEventAgent[17] <Warning>: WiFi is associated YES
Jul 6 17:03:22 Dev-iPad-1 dataaccessd[248] <Warning>: WiFi is associated YES
Jul 6 17:03:22 Dev-iPad-1 kernel[0] <Notice>: 240509.783334 wlan0.N[188814] AppleBCMWLANCore::startRoamScan(): 4883 Delaying RoamScan; because Join Mgr Busy 0 isWaitingforIP 1