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 -{-}

  • NSRangeException on iOS 8
  • Login with Facebook using custom button
  • dyld: Library not loaded: @rpath/libswiftCore.dylib
  • How do I segue to one UIViewController from multiple UIViewControllers embedded in different UINavigationControllers
  • How to pause and restart NSTimer.scheduledTimerWithTimeInterval in spritekit when home button is pressed?
  • Touches not recognized after custom transition
  • 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.

    2 Solutions Collect From Internet About “Apple MDM push error, but only to some iOS devices”

    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.

    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).