Recently, I started getting these cron error from Plesk. This cron controls push notifications to Plesk Manager on my iPhone/iPad. Obviously, turning off the cron stops the error but I want the cron to run to receive push notifications from my server.
Cron Error Notification
Cron <root@myserverdomain> /usr/local/psa/admin/bin/php -c '/usr/local/psa/admin/conf/php.ini' -dauto_prepend_file=sdk.php '/usr/local/psa/admin/plib/modules/plesk-mobile/scripts/push_worker.php'
Cron Error
ERROR ApnsPHP_Exception: (0) Unable to connect to 'ssl://gateway.push.apple.com:2195': (0)
This is a screenshot of the cron in Plesk (now it's off)
I've made no changes to these files or the cron task, so I am stumped as to why it all of a sudden stopped working.
Thanks!