We have error with MDMpush on some iPhone devices:
Jul 30 17:52:46 Mirnas-iPhone apsd[49] : : Stream error occurred for : Error Domain=NSPOSIXErrorDomai
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).
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.