jamf / Jamf-Environment-Test

Admin Utility for testing an environments network for success with Apple Devices
MIT License
102 stars 14 forks source link

Device Push Notification Hosts unavailable #2

Closed daniel-maclaughlin closed 3 years ago

daniel-maclaughlin commented 4 years ago

known issue where the command to validate connectivity to courier.push.apple.com using nc fails to resolve the dns lookup

alternate solution looking to be added in updated version

current workaround is

run /System/Library/PrivateFrameworks/ApplePushService.framework/apsctl status | /usr/bin/grep "connected to server hostname:" from a working macOS device in terminal from the output copy the responsive courier.apple.com host eg 22-courier.push.apple.com in the script method is to change courier.push.apple.com in the url array to be the host from the previous command

daniel-maclaughlin commented 3 years ago

new version is using specified courier hosts such as 1-courier.push.apple.com instead of courier.push.apple.com