To resolve connectivity issues to contact Android devices, click here.
Unable to contact the device
Problem
An error Unable to contact the device is displayed on the MDM server while trying to execute remote Security Commands or a Device Scan on Apple devices.
Reason
Connectivity based issues on Apple devices occur when the devices are unable to contact the MDM server or the APNs servers, due to poor network connection, or non-accessibility to the domain itself.
The following are the reasons due to which connectivity is interrupted:
- Server based issues
- Device based issues
Resolution
Server based issues
- Retry scanning the device, by navigating to Inventory > Devices> Actions > Scan Now.
- In case the device scan is not successful, it could be because the APNs certificate has expired, or if it has been removed from the server. Verify the APNs certificate expiry details, and if the certificate has expired, renew the certificate. If the certificate has been removed, add it to the MDM server.
- Follow the given steps to verify if APNs is reachable:
- Check if api.push.apple.com:443 is reachable from the machine where the On-premises version of MDM is hosted.
- If Self-signed SSL certificates or Enterprises certificates from CA's have been used, check the requirements given by Apple.
- While using the On-Premises version, if HTTPS inspection is used, Apple services will not function. To ensure that the required Apple services function, disable the HTTPS interception for all the hosts that are listed in this document provided by Apple.
Device based issues
- Check if the devices have Internet connectivity.
- Follow the given steps to verify if the MDM server is reachable:
- If you are using the Cloud version of MDM, ensure that https://mdm.manageengine.com is accessible from the device.
- If you are using the On-Premises version of MDM, ensure that https://[fqdn]:[port] is accessible from the device.
- If the device is connected to a corporate Wi-Fi network, check the connection to api.push.apple.com using the port 443 or 5223. For more information on how to reach the APNs servers, check this document.
During iOS/Mac device installation, a certificate and private key shall be installed in the device. If this certificate is not found in key-chain then the agent will lose connection with the MDM server and the device will be unreachable.
If the issue persists after trying out all the troubleshooting methods provided above, contact support.