Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apple MDM push error, but only to some iOS devices

We have error with MDMpush on some iPhone devices:

Jul 30 17:52:46 Mirnas-iPhone apsd[49] : : Stream error occurred for : Error Domain=NSPOSIXErrorDomain Code=54 "The operation couldn’-t -b-e -c-o-m-p-l-e-t-e-d-. -C-o-n-n-e-c-t-i-o-n -r-e-s-e-t -b-y -p-e-e-r-" -U-s-e-r-I-n-f-o-=-0-x-1-4-3-5-4-0 -{-}

All devices are the same, same iOS version, but on 50% of devices we have this error. On other devices push is working perfectly. Devices with this problem checks in without problem during MDM payload installation, but when we try to push something, error happens.

like image 370
Ratko Stibric Avatar asked Jul 30 '12 20:07

Ratko Stibric


People also ask

Can MDM track browsing history iOS?

MDM cannot see personal data such as: Safari browser history. Personal or work mail, calendars, contacts. SMS or iMessages.

Can MDM be hidden on iPhone?

Show or Hide apps: MDM can configure exactly which apps can be used. All built-in and third-party apps can be hidden with the exception of Phone (on iPhone only) and Settings.


2 Answers

We had similar symptom long time ago, it was caused by someone changed the Apple MDM certificate after half of the devices enrolled. some device was enrolled with new cert, and rest are enrolled by old cert. the apple MDM server does not like this.

You need to enroll all the device with same cert.

like image 187
Junhai Kan Avatar answered Oct 07 '22 22:10

Junhai Kan


I also faced this problem if you're using same certification for different device. You have to do a clean, then build and run the application onto the device. Remove the previous installed application which is using same certification (same application).

like image 36
anilkumar07 Avatar answered Oct 07 '22 21:10

anilkumar07